0s autopkgtest [12:25:43]: starting date and time: 2026-01-29 12:25:43+0000 0s autopkgtest [12:25:43]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [12:25:43]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.i89lxu4i/out --timeout-copy=6000 --needs-internet=try --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pkgconf --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=pkgconf/2.5.1-2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-amd64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@sto01-1.secgroup --name adt-resolute-amd64-glib2.0-20260129-122543-juju-7f2275-prod-proposed-migration-environment-20-4e18df3a-ba16-40bf-b1d8-be9b9213db0f --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-amd64-glib2.0-20260129-122543-juju-7f2275-prod-proposed-migration-environment-20-4e18df3a-ba16-40bf-b1d8-be9b9213db0f from image adt/ubuntu-resolute-amd64-server-20260129.img (UUID c052dd91-e629-41e8-9bf0-bad94c4bd713)... 78s autopkgtest [12:27:01]: testbed dpkg architecture: amd64 78s autopkgtest [12:27:01]: testbed apt version: 3.1.14 78s autopkgtest [12:27:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 78s autopkgtest [12:27:01]: testbed release detected to be: None 79s autopkgtest [12:27:02]: updating testbed package index (apt update) 79s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 79s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 79s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 79s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 79s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 80s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 80s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 80s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1074 kB] 80s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [114 kB] 80s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [132 kB] 80s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [4360 B] 80s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [12.3 kB] 80s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3696 B] 80s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B] 80s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [872 kB] 80s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [357 kB] 80s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [23.0 kB] 80s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [23.2 kB] 80s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [3336 B] 80s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [1036 B] 81s Fetched 2880 kB in 1s (2392 kB/s) 81s Reading package lists... 82s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 82s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 82s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 82s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 83s Reading package lists... 83s Reading package lists... 83s Building dependency tree... 83s Reading state information... 83s Calculating upgrade... 83s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 83s autopkgtest [12:27:06]: upgrading testbed (apt dist-upgrade and autopurge) 83s Reading package lists... 83s Building dependency tree... 83s Reading state information... 83s Calculating upgrade... 83s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 84s Reading package lists... 84s Building dependency tree... 84s Reading state information... 84s Solving dependencies... 84s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 86s autopkgtest [12:27:09]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 12 16:49:02 UTC 2026 86s autopkgtest [12:27:09]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 92s Get:1 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (dsc) [4685 B] 92s Get:2 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [661 kB] 92s Get:3 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [5675 kB] 92s Get:4 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (diff) [141 kB] 93s gpgv: Signature made Thu Jan 1 13:00:10 2026 UTC 93s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 93s gpgv: Can't check signature: No public key 93s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.86.3-4.dsc: no acceptable signature found 93s autopkgtest [12:27:16]: testing package glib2.0 version 2.86.3-4 98s autopkgtest [12:27:21]: build not needed 105s autopkgtest [12:27:28]: test build: preparing testbed 105s Reading package lists... 105s Building dependency tree... 105s Reading state information... 105s Solving dependencies... 105s The following NEW packages will be installed: 105s build-essential cpp cpp-15 cpp-15-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 105s g++-15 g++-15-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-15 105s gcc-15-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libblkid-dev libcc1-0 105s libffi-dev libgcc-15-dev libgio-2.0-dev libgomp1 libhwasan0 libisl23 libitm1 105s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 105s libpcre2-posix3 libpkgconf7 libquadmath0 libselinux-dev libsepol-dev 105s libstdc++-15-dev libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf 105s pkgconf-bin uuid-dev zlib1g-dev 105s 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. 105s Need to get 75.1 MB of archives. 105s After this operation, 259 MB of additional disk space will be used. 105s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libisl23 amd64 0.27-1build1 [691 kB] 105s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 libmpc3 amd64 1.3.1-2 [54.8 kB] 105s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15-x86-64-linux-gnu amd64 15.2.0-11ubuntu1 [12.9 MB] 106s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15 amd64 15.2.0-11ubuntu1 [1030 B] 106s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [5746 B] 106s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp amd64 4:15.2.0-4ubuntu1 [22.4 kB] 106s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 libcc1-0 amd64 15.2.0-11ubuntu1 [47.4 kB] 106s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libgomp1 amd64 15.2.0-11ubuntu1 [151 kB] 106s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libitm1 amd64 15.2.0-11ubuntu1 [29.5 kB] 106s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 libasan8 amd64 15.2.0-11ubuntu1 [3070 kB] 106s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsan0 amd64 15.2.0-11ubuntu1 [1360 kB] 106s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libtsan2 amd64 15.2.0-11ubuntu1 [2757 kB] 106s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 libubsan1 amd64 15.2.0-11ubuntu1 [1210 kB] 106s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libhwasan0 amd64 15.2.0-11ubuntu1 [1685 kB] 106s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 libquadmath0 amd64 15.2.0-11ubuntu1 [153 kB] 106s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 libgcc-15-dev amd64 15.2.0-11ubuntu1 [2863 kB] 106s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15-x86-64-linux-gnu amd64 15.2.0-11ubuntu1 [25.4 MB] 106s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15 amd64 15.2.0-11ubuntu1 [528 kB] 106s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [1208 B] 106s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc amd64 4:15.2.0-4ubuntu1 [5024 B] 106s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libstdc++-15-dev amd64 15.2.0-11ubuntu1 [2574 kB] 106s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15-x86-64-linux-gnu amd64 15.2.0-11ubuntu1 [14.4 MB] 107s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15 amd64 15.2.0-11ubuntu1 [24.6 kB] 107s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [966 B] 107s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 g++ amd64 4:15.2.0-4ubuntu1 [1100 B] 107s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 build-essential amd64 12.12ubuntu2 [5256 B] 107s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 libffi-dev amd64 3.5.2-3 [66.5 kB] 107s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 uuid-dev amd64 2.41.2-4ubuntu2 [56.8 kB] 107s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 libblkid-dev amd64 2.41.2-4ubuntu2 [234 kB] 107s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 libsepol-dev amd64 3.9-2 [409 kB] 107s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-16-0 amd64 10.46-1 [243 kB] 107s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-32-0 amd64 10.46-1 [230 kB] 107s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-posix3 amd64 10.46-1 [7354 B] 107s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-dev amd64 10.46-1 [832 kB] 107s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 libselinux-dev amd64 3.9-4 [176 kB] 107s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 libmount-dev amd64 2.41.2-4ubuntu2 [37.6 kB] 107s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 libsysprof-capture-4-dev amd64 49.0-5 [53.6 kB] 107s Get:38 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libpkgconf7 amd64 2.5.1-2 [38.7 kB] 107s Get:39 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 pkgconf-bin amd64 2.5.1-2 [22.8 kB] 107s Get:40 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 pkgconf amd64 2.5.1-2 [20.0 kB] 107s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu2 [898 kB] 107s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 libgio-2.0-dev amd64 2.86.3-4 [1817 kB] 107s Fetched 75.1 MB in 1s (53.0 MB/s) 107s Selecting previously unselected package libisl23:amd64. 107s (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 ... 124211 files and directories currently installed.) 107s Preparing to unpack .../00-libisl23_0.27-1build1_amd64.deb ... 107s Unpacking libisl23:amd64 (0.27-1build1) ... 107s Selecting previously unselected package libmpc3:amd64. 107s Preparing to unpack .../01-libmpc3_1.3.1-2_amd64.deb ... 107s Unpacking libmpc3:amd64 (1.3.1-2) ... 107s Selecting previously unselected package cpp-15-x86-64-linux-gnu. 107s Preparing to unpack .../02-cpp-15-x86-64-linux-gnu_15.2.0-11ubuntu1_amd64.deb ... 107s Unpacking cpp-15-x86-64-linux-gnu (15.2.0-11ubuntu1) ... 107s Selecting previously unselected package cpp-15. 107s Preparing to unpack .../03-cpp-15_15.2.0-11ubuntu1_amd64.deb ... 107s Unpacking cpp-15 (15.2.0-11ubuntu1) ... 107s Selecting previously unselected package cpp-x86-64-linux-gnu. 107s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 107s Unpacking cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 107s Selecting previously unselected package cpp. 107s Preparing to unpack .../05-cpp_4%3a15.2.0-4ubuntu1_amd64.deb ... 107s Unpacking cpp (4:15.2.0-4ubuntu1) ... 107s Selecting previously unselected package libcc1-0:amd64. 107s Preparing to unpack .../06-libcc1-0_15.2.0-11ubuntu1_amd64.deb ... 107s Unpacking libcc1-0:amd64 (15.2.0-11ubuntu1) ... 107s Selecting previously unselected package libgomp1:amd64. 107s Preparing to unpack .../07-libgomp1_15.2.0-11ubuntu1_amd64.deb ... 107s Unpacking libgomp1:amd64 (15.2.0-11ubuntu1) ... 107s Selecting previously unselected package libitm1:amd64. 107s Preparing to unpack .../08-libitm1_15.2.0-11ubuntu1_amd64.deb ... 107s Unpacking libitm1:amd64 (15.2.0-11ubuntu1) ... 107s Selecting previously unselected package libasan8:amd64. 107s Preparing to unpack .../09-libasan8_15.2.0-11ubuntu1_amd64.deb ... 107s Unpacking libasan8:amd64 (15.2.0-11ubuntu1) ... 107s Selecting previously unselected package liblsan0:amd64. 107s Preparing to unpack .../10-liblsan0_15.2.0-11ubuntu1_amd64.deb ... 107s Unpacking liblsan0:amd64 (15.2.0-11ubuntu1) ... 107s Selecting previously unselected package libtsan2:amd64. 107s Preparing to unpack .../11-libtsan2_15.2.0-11ubuntu1_amd64.deb ... 107s Unpacking libtsan2:amd64 (15.2.0-11ubuntu1) ... 108s Selecting previously unselected package libubsan1:amd64. 108s Preparing to unpack .../12-libubsan1_15.2.0-11ubuntu1_amd64.deb ... 108s Unpacking libubsan1:amd64 (15.2.0-11ubuntu1) ... 108s Selecting previously unselected package libhwasan0:amd64. 108s Preparing to unpack .../13-libhwasan0_15.2.0-11ubuntu1_amd64.deb ... 108s Unpacking libhwasan0:amd64 (15.2.0-11ubuntu1) ... 108s Selecting previously unselected package libquadmath0:amd64. 108s Preparing to unpack .../14-libquadmath0_15.2.0-11ubuntu1_amd64.deb ... 108s Unpacking libquadmath0:amd64 (15.2.0-11ubuntu1) ... 108s Selecting previously unselected package libgcc-15-dev:amd64. 108s Preparing to unpack .../15-libgcc-15-dev_15.2.0-11ubuntu1_amd64.deb ... 108s Unpacking libgcc-15-dev:amd64 (15.2.0-11ubuntu1) ... 108s Selecting previously unselected package gcc-15-x86-64-linux-gnu. 108s Preparing to unpack .../16-gcc-15-x86-64-linux-gnu_15.2.0-11ubuntu1_amd64.deb ... 108s Unpacking gcc-15-x86-64-linux-gnu (15.2.0-11ubuntu1) ... 108s Selecting previously unselected package gcc-15. 108s Preparing to unpack .../17-gcc-15_15.2.0-11ubuntu1_amd64.deb ... 108s Unpacking gcc-15 (15.2.0-11ubuntu1) ... 108s Selecting previously unselected package gcc-x86-64-linux-gnu. 108s Preparing to unpack .../18-gcc-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 108s Unpacking gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 108s Selecting previously unselected package gcc. 108s Preparing to unpack .../19-gcc_4%3a15.2.0-4ubuntu1_amd64.deb ... 108s Unpacking gcc (4:15.2.0-4ubuntu1) ... 108s Selecting previously unselected package libstdc++-15-dev:amd64. 108s Preparing to unpack .../20-libstdc++-15-dev_15.2.0-11ubuntu1_amd64.deb ... 108s Unpacking libstdc++-15-dev:amd64 (15.2.0-11ubuntu1) ... 108s Selecting previously unselected package g++-15-x86-64-linux-gnu. 108s Preparing to unpack .../21-g++-15-x86-64-linux-gnu_15.2.0-11ubuntu1_amd64.deb ... 108s Unpacking g++-15-x86-64-linux-gnu (15.2.0-11ubuntu1) ... 108s Selecting previously unselected package g++-15. 108s Preparing to unpack .../22-g++-15_15.2.0-11ubuntu1_amd64.deb ... 108s Unpacking g++-15 (15.2.0-11ubuntu1) ... 108s Selecting previously unselected package g++-x86-64-linux-gnu. 108s Preparing to unpack .../23-g++-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 108s Unpacking g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 108s Selecting previously unselected package g++. 108s Preparing to unpack .../24-g++_4%3a15.2.0-4ubuntu1_amd64.deb ... 108s Unpacking g++ (4:15.2.0-4ubuntu1) ... 108s Selecting previously unselected package build-essential. 108s Preparing to unpack .../25-build-essential_12.12ubuntu2_amd64.deb ... 108s Unpacking build-essential (12.12ubuntu2) ... 108s Selecting previously unselected package libffi-dev:amd64. 108s Preparing to unpack .../26-libffi-dev_3.5.2-3_amd64.deb ... 108s Unpacking libffi-dev:amd64 (3.5.2-3) ... 108s Selecting previously unselected package uuid-dev:amd64. 108s Preparing to unpack .../27-uuid-dev_2.41.2-4ubuntu2_amd64.deb ... 108s Unpacking uuid-dev:amd64 (2.41.2-4ubuntu2) ... 108s Selecting previously unselected package libblkid-dev:amd64. 108s Preparing to unpack .../28-libblkid-dev_2.41.2-4ubuntu2_amd64.deb ... 108s Unpacking libblkid-dev:amd64 (2.41.2-4ubuntu2) ... 108s Selecting previously unselected package libsepol-dev:amd64. 108s Preparing to unpack .../29-libsepol-dev_3.9-2_amd64.deb ... 108s Unpacking libsepol-dev:amd64 (3.9-2) ... 108s Selecting previously unselected package libpcre2-16-0:amd64. 108s Preparing to unpack .../30-libpcre2-16-0_10.46-1_amd64.deb ... 108s Unpacking libpcre2-16-0:amd64 (10.46-1) ... 108s Selecting previously unselected package libpcre2-32-0:amd64. 108s Preparing to unpack .../31-libpcre2-32-0_10.46-1_amd64.deb ... 108s Unpacking libpcre2-32-0:amd64 (10.46-1) ... 108s Selecting previously unselected package libpcre2-posix3:amd64. 108s Preparing to unpack .../32-libpcre2-posix3_10.46-1_amd64.deb ... 108s Unpacking libpcre2-posix3:amd64 (10.46-1) ... 108s Selecting previously unselected package libpcre2-dev:amd64. 108s Preparing to unpack .../33-libpcre2-dev_10.46-1_amd64.deb ... 108s Unpacking libpcre2-dev:amd64 (10.46-1) ... 108s Selecting previously unselected package libselinux-dev:amd64. 108s Preparing to unpack .../34-libselinux-dev_3.9-4_amd64.deb ... 108s Unpacking libselinux-dev:amd64 (3.9-4) ... 108s Selecting previously unselected package libmount-dev:amd64. 108s Preparing to unpack .../35-libmount-dev_2.41.2-4ubuntu2_amd64.deb ... 108s Unpacking libmount-dev:amd64 (2.41.2-4ubuntu2) ... 108s Selecting previously unselected package libsysprof-capture-4-dev:amd64. 108s Preparing to unpack .../36-libsysprof-capture-4-dev_49.0-5_amd64.deb ... 108s Unpacking libsysprof-capture-4-dev:amd64 (49.0-5) ... 108s Selecting previously unselected package libpkgconf7:amd64. 108s Preparing to unpack .../37-libpkgconf7_2.5.1-2_amd64.deb ... 108s Unpacking libpkgconf7:amd64 (2.5.1-2) ... 108s Selecting previously unselected package pkgconf-bin. 108s Preparing to unpack .../38-pkgconf-bin_2.5.1-2_amd64.deb ... 108s Unpacking pkgconf-bin (2.5.1-2) ... 108s Selecting previously unselected package pkgconf:amd64. 108s Preparing to unpack .../39-pkgconf_2.5.1-2_amd64.deb ... 108s Unpacking pkgconf:amd64 (2.5.1-2) ... 108s Selecting previously unselected package zlib1g-dev:amd64. 108s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_amd64.deb ... 108s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 108s Selecting previously unselected package libgio-2.0-dev:amd64. 108s Preparing to unpack .../41-libgio-2.0-dev_2.86.3-4_amd64.deb ... 108s Unpacking libgio-2.0-dev:amd64 (2.86.3-4) ... 108s Setting up libpkgconf7:amd64 (2.5.1-2) ... 108s Setting up libgomp1:amd64 (15.2.0-11ubuntu1) ... 108s Setting up libffi-dev:amd64 (3.5.2-3) ... 108s Setting up libpcre2-16-0:amd64 (10.46-1) ... 108s Setting up libsysprof-capture-4-dev:amd64 (49.0-5) ... 108s Setting up libpcre2-32-0:amd64 (10.46-1) ... 108s Setting up uuid-dev:amd64 (2.41.2-4ubuntu2) ... 108s Setting up libquadmath0:amd64 (15.2.0-11ubuntu1) ... 108s Setting up libmpc3:amd64 (1.3.1-2) ... 108s Setting up libsepol-dev:amd64 (3.9-2) ... 109s Setting up pkgconf-bin (2.5.1-2) ... 109s Setting up libubsan1:amd64 (15.2.0-11ubuntu1) ... 109s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 109s Setting up libpcre2-posix3:amd64 (10.46-1) ... 109s Setting up libhwasan0:amd64 (15.2.0-11ubuntu1) ... 109s Setting up libasan8:amd64 (15.2.0-11ubuntu1) ... 109s Setting up libtsan2:amd64 (15.2.0-11ubuntu1) ... 109s Setting up libisl23:amd64 (0.27-1build1) ... 109s Setting up libcc1-0:amd64 (15.2.0-11ubuntu1) ... 109s Setting up liblsan0:amd64 (15.2.0-11ubuntu1) ... 109s Setting up libitm1:amd64 (15.2.0-11ubuntu1) ... 109s Setting up libblkid-dev:amd64 (2.41.2-4ubuntu2) ... 109s Setting up libgcc-15-dev:amd64 (15.2.0-11ubuntu1) ... 109s Setting up libpcre2-dev:amd64 (10.46-1) ... 109s Setting up cpp-15-x86-64-linux-gnu (15.2.0-11ubuntu1) ... 109s Setting up pkgconf:amd64 (2.5.1-2) ... 109s Setting up gcc-15-x86-64-linux-gnu (15.2.0-11ubuntu1) ... 109s Setting up libstdc++-15-dev:amd64 (15.2.0-11ubuntu1) ... 109s Setting up cpp-15 (15.2.0-11ubuntu1) ... 109s Setting up libselinux-dev:amd64 (3.9-4) ... 109s Setting up libmount-dev:amd64 (2.41.2-4ubuntu2) ... 109s Setting up cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 109s Setting up g++-15-x86-64-linux-gnu (15.2.0-11ubuntu1) ... 109s Setting up libgio-2.0-dev:amd64 (2.86.3-4) ... 109s Setting up gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 109s Setting up gcc-15 (15.2.0-11ubuntu1) ... 109s Setting up cpp (4:15.2.0-4ubuntu1) ... 109s Setting up g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 109s Setting up g++-15 (15.2.0-11ubuntu1) ... 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.12ubuntu2) ... 109s Processing triggers for libc-bin (2.42-2ubuntu4) ... 109s Processing triggers for man-db (2.13.1-1) ... 109s Processing triggers for libglib2.0-0t64:amd64 (2.86.3-4) ... 109s No schema files found: doing nothing. 109s Processing triggers for install-info (7.2-5) ... 110s autopkgtest [12:27:33]: test build: [----------------------- 110s + mode=dynamic 110s + getopt -o --long static -n debian/tests/build -- 110s + getopt_temp= -- 110s + eval set -- -- 110s + set -- -- 110s + true 110s + shift 110s + break 110s + mktemp -d 110s + WORKDIR=/tmp/tmp.UlvJhAM6gL 110s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 110s + cd /tmp/tmp.UlvJhAM6gL 110s + [ -n ] 110s + CROSS_COMPILE= 110s + cat 110s + cat 110s + cat 110s + cat 110s + cat 110s + cat 110s + cflags= 110s + pcflags= 110s + packages=glib-2.0 110s + pkg-config --cflags --libs glib-2.0 110s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 110s build (glib, dynamic): OK 110s run (glib, dynamic): OK 110s + echo build (glib, dynamic): OK 110s + [ -x glib-dynamic ] 110s + foo=bar ./glib-dynamic 110s + echo run (glib, dynamic): OK 110s + cflags= 110s + pcflags= 110s + packages=gobject-2.0 110s + pkg-config --cflags --libs gobject-2.0 110s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 110s + echo build (gobject, dynamic): OK 110s + [ -x gobject-dynamic ] 110s + foo=bar ./gobject-dynamic 110s + echo run (gobject, dynamic): OK 110s + cflags= 110s + pcflags= 110s + packages=gio-2.0 110s + pkg-config --cflags --libs gio-2.0 110s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 110s build (gobject, dynamic): OK 110s run (gobject, dynamic): OK 110s build (gio, dynamic): OK 110s run (gio, dynamic): OK 110s + echo build (gio, dynamic): OK 110s + [ -x gio-dynamic ] 110s + foo=bar ./gio-dynamic 110s + echo run (gio, dynamic): OK 110s + cflags= 110s + pcflags= 110s + packages=gio-unix-2.0 110s + pkg-config --cflags --libs gio-unix-2.0 110s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 110s build (gio-unix, dynamic): OK 110s + echo build (gio-unix, dynamic): OK 110s + [ -x gio-unix-dynamic ] 110s + foo=bar ./gio-unix-dynamic 110s + echo run (gio-unix, dynamic): OK 110s + cflags= 110s + pcflags= 110s + packages=gmodule-2.0 110s + pkg-config --cflags --libs gmodule-2.0 110s run (gio-unix, dynamic): OK 110s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 110s build (gmodule, dynamic): OK 110s + echo build (gmodule, dynamic): OK 110s + [ -x gmodule-dynamic ] 110s + foo=bar ./gmodule-dynamic 110s + echo run (gmodule, dynamic): OK 110s + cflags= 110s + pcflags= 110s + packages=gthread-2.0 110s + pkg-config --cflags --libs gthread-2.0 110s run (gmodule, dynamic): OK 110s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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 + echo run (gthread, dynamic): OK 111s + rm -rf /tmp/tmp.UlvJhAM6gL 111s run (gthread, dynamic): OK 111s autopkgtest [12:27:34]: test build: -----------------------] 111s autopkgtest [12:27:34]: test build: - - - - - - - - - - results - - - - - - - - - - 111s build PASS (superficial) 111s autopkgtest [12:27:34]: test build-static: preparing testbed 112s Reading package lists... 112s Building dependency tree... 112s Reading state information... 112s Solving dependencies... 112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 112s autopkgtest [12:27:35]: test build-static: [----------------------- 113s + mode=dynamic 113s + getopt -o --long static -n debian/tests/build -- --static 113s + getopt_temp= --static -- 113s + eval set -- --static -- 113s + set -- --static -- 113s + true 113s + mode=static 113s + shift 113s + continue 113s + true 113s + shift 113s + break 113s + mktemp -d 113s + WORKDIR=/tmp/tmp.ajQOd3BLEf 113s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 113s + cd /tmp/tmp.ajQOd3BLEf 113s + [ -n ] 113s + CROSS_COMPILE= 113s + cat 113s + cat 113s + cat 113s + cat 113s + cat 113s + cat 113s + cflags= 113s + pcflags= 113s + packages=glib-2.0 113s + cflags=-static 113s + pcflags=--static 113s + pkg-config --static --cflags --libs glib-2.0 113s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 113s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 113s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 113s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x2b6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 113s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x137): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 113s build (glib, static): OK 113s run (glib, static): OK 113s + echo build (glib, static): OK 113s + [ -x glib-static ] 113s + foo=bar ./glib-static 113s + echo run (glib, static): OK 113s + cflags= 113s + pcflags= 113s + packages=gobject-2.0 113s + cflags=-static 113s + pcflags=--static 113s + pkg-config --static --cflags --libs gobject-2.0 113s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 113s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 113s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 113s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x2b6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 113s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x137): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 113s build (gobject, static): OK 113s run (gobject, static): OK 113s + echo build (gobject, static): OK 113s + [ -x gobject-static ] 113s + foo=bar ./gobject-static 113s + echo run (gobject, static): OK 113s + cflags= 113s + pcflags= 113s + packages=gio-2.0 113s + cflags=-static 113s + pcflags=--static 113s + continue 113s + cflags= 113s + pcflags= 113s + packages=gio-unix-2.0 113s + cflags=-static 113s + pcflags=--static 113s + continue 113s + cflags= 113s + pcflags= 113s + packages=gmodule-2.0 113s + cflags=-static 113s + pcflags=--static 113s + pkg-config --static --cflags --libs gmodule-2.0 113s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 113s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 113s (.text+0x5e7): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 113s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 113s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 113s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x2b6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 113s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x137): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 113s build (gmodule, static): OK 113s run (gmodule, static): OK 113s + echo build (gmodule, static): OK 113s + [ -x gmodule-static ] 113s + foo=bar ./gmodule-static 113s + echo run (gmodule, static): OK 113s + cflags= 113s + pcflags= 113s + packages=gthread-2.0 113s + cflags=-static 113s + pcflags=--static 113s + pkg-config --static --cflags --libs gthread-2.0 113s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 113s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 113s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 113s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x2b6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 113s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x137): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 113s build (gthread, static): OK 113s + echo build (gthread, static): OK 113s + [ -x gthread-static ] 113s + foo=bar ./gthread-static 113s + echo run (gthread, static): OK 113s + rm -rf /tmp/tmp.ajQOd3BLEf 113s run (gthread, static): OK 113s autopkgtest [12:27:36]: test build-static: -----------------------] 114s autopkgtest [12:27:37]: test build-static: - - - - - - - - - - results - - - - - - - - - - 114s build-static PASS (superficial) 114s autopkgtest [12:27:37]: test girepository-tools: preparing testbed 133s Creating nova instance adt-resolute-amd64-glib2.0-20260129-122543-juju-7f2275-prod-proposed-migration-environment-20-4e18df3a-ba16-40bf-b1d8-be9b9213db0f from image adt/ubuntu-resolute-amd64-server-20260129.img (UUID c052dd91-e629-41e8-9bf0-bad94c4bd713)... 207s autopkgtest [12:29:10]: testbed dpkg architecture: amd64 207s autopkgtest [12:29:10]: testbed apt version: 3.1.14 207s autopkgtest [12:29:10]: @@@@@@@@@@@@@@@@@@@@ test bed setup 207s autopkgtest [12:29:10]: testbed release detected to be: resolute 208s autopkgtest [12:29:11]: updating testbed package index (apt update) 208s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 208s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 209s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 209s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 209s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 209s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 209s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 209s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1074 kB] 209s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [114 kB] 209s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [132 kB] 209s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [4360 B] 209s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [12.3 kB] 209s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3696 B] 209s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B] 209s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [357 kB] 209s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [872 kB] 209s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [23.0 kB] 209s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [23.2 kB] 209s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [3336 B] 209s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [1036 B] 210s Fetched 2880 kB in 1s (2336 kB/s) 210s Reading package lists... 211s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 211s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 211s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 211s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 212s Reading package lists... 212s Reading package lists... 212s Building dependency tree... 212s Reading state information... 212s Calculating upgrade... 212s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 212s autopkgtest [12:29:15]: upgrading testbed (apt dist-upgrade and autopurge) 212s Reading package lists... 212s Building dependency tree... 212s Reading state information... 212s Calculating upgrade... 212s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 212s Reading package lists... 213s Building dependency tree... 213s Reading state information... 213s Solving dependencies... 213s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 215s Reading package lists... 215s Building dependency tree... 215s Reading state information... 215s Solving dependencies... 215s The following NEW packages will be installed: 215s gir1.2-glib-2.0-dev girepository-tools native-architecture 215s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 215s Need to get 978 kB of archives. 215s After this operation, 12.3 MB of additional disk space will be used. 215s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0-dev amd64 2.86.3-4 [865 kB] 216s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 native-architecture all 0.2.6build1 [2256 B] 216s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 girepository-tools amd64 2.86.3-4 [111 kB] 216s Fetched 978 kB in 0s (3212 kB/s) 216s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 216s (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 ... 124211 files and directories currently installed.) 216s Preparing to unpack .../gir1.2-glib-2.0-dev_2.86.3-4_amd64.deb ... 216s Unpacking gir1.2-glib-2.0-dev:amd64 (2.86.3-4) ... 216s Selecting previously unselected package native-architecture. 216s Preparing to unpack .../native-architecture_0.2.6build1_all.deb ... 216s Unpacking native-architecture (0.2.6build1) ... 216s Selecting previously unselected package girepository-tools:amd64. 216s Preparing to unpack .../girepository-tools_2.86.3-4_amd64.deb ... 216s Unpacking girepository-tools:amd64 (2.86.3-4) ... 216s Setting up native-architecture (0.2.6build1) ... 216s Setting up gir1.2-glib-2.0-dev:amd64 (2.86.3-4) ... 216s Setting up girepository-tools:amd64 (2.86.3-4) ... 216s Processing triggers for man-db (2.13.1-1) ... 219s autopkgtest [12:29:22]: test girepository-tools: [----------------------- 219s + cd /tmp/autopkgtest.7rmIHv/autopkgtest_tmp 219s + dpkg-architecture -qDEB_HOST_GNU_TYPE 219s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 219s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu 219s + dpkg-architecture -qDEB_HOST_MULTIARCH 219s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 219s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 219s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 219s typelib: GLib-2.0 219s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 219s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 220s autopkgtest [12:29:23]: test girepository-tools: -----------------------] 220s girepository-tools PASS (superficial) 220s autopkgtest [12:29:23]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 220s autopkgtest [12:29:23]: test libgio-2.0-dev-bin: preparing testbed 239s Creating nova instance adt-resolute-amd64-glib2.0-20260129-122543-juju-7f2275-prod-proposed-migration-environment-20-4e18df3a-ba16-40bf-b1d8-be9b9213db0f from image adt/ubuntu-resolute-amd64-server-20260129.img (UUID c052dd91-e629-41e8-9bf0-bad94c4bd713)... 312s autopkgtest [12:30:55]: testbed dpkg architecture: amd64 312s autopkgtest [12:30:55]: testbed apt version: 3.1.14 313s autopkgtest [12:30:56]: @@@@@@@@@@@@@@@@@@@@ test bed setup 313s autopkgtest [12:30:56]: testbed release detected to be: resolute 313s autopkgtest [12:30:56]: updating testbed package index (apt update) 314s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 314s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 314s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 314s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 314s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 314s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 314s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 314s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1074 kB] 314s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [114 kB] 314s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [132 kB] 314s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [4360 B] 314s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [12.3 kB] 314s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3696 B] 314s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B] 314s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [872 kB] 314s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [357 kB] 314s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [23.0 kB] 314s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [23.2 kB] 314s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [3336 B] 315s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [1036 B] 315s Fetched 2880 kB in 1s (2904 kB/s) 316s Reading package lists... 316s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 316s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 316s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 316s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 317s Reading package lists... 317s Reading package lists... 317s Building dependency tree... 317s Reading state information... 317s Calculating upgrade... 317s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 317s autopkgtest [12:31:00]: upgrading testbed (apt dist-upgrade and autopurge) 317s Reading package lists... 317s Building dependency tree... 317s Reading state information... 317s Calculating upgrade... 318s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 318s Reading package lists... 318s Building dependency tree... 318s Reading state information... 318s Solving dependencies... 318s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 320s Reading package lists... 320s Building dependency tree... 320s Reading state information... 320s Solving dependencies... 320s The following NEW packages will be installed: 320s libgio-2.0-dev-bin 321s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 321s Need to get 129 kB of archives. 321s After this operation, 716 kB of additional disk space will be used. 321s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libgio-2.0-dev-bin amd64 2.86.3-4 [129 kB] 321s Fetched 129 kB in 0s (5542 kB/s) 321s Selecting previously unselected package libgio-2.0-dev-bin. 321s (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 ... 124211 files and directories currently installed.) 321s Preparing to unpack .../libgio-2.0-dev-bin_2.86.3-4_amd64.deb ... 321s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 321s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 321s Processing triggers for man-db (2.13.1-1) ... 326s autopkgtest [12:31:08]: test libgio-2.0-dev-bin: [----------------------- 326s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 326s [--c-namespace NAMESPACE] [--c-generate-object-manager] 326s [--c-generate-autocleanup {none,objects,all}] 326s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 326s [--generate-rst OUTFILES] [--pragma-once] 326s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 326s [--glib-min-required VERSION] 326s [--glib-max-allowed VERSION] 326s [--symbol-decorator SYMBOL_DECORATOR] 326s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 326s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 326s [--generate-c-code OUTFILES | --header | --body | 326s --interface-info-header | --interface-info-body] 326s [--output FILE | --output-directory OUTDIR] 326s FILE [FILE ...] 326s 326s D-Bus code and documentation generator 326s 326s positional arguments: 326s FILE D-Bus introspection XML file 326s 326s options: 326s -h, --help show this help message and exit 326s --interface-prefix PREFIX 326s String to strip from D-Bus interface names for code 326s and docs 326s --c-namespace NAMESPACE 326s The namespace to use for generated C code 326s --c-generate-object-manager 326s Generate a GDBusObjectManagerClient subclass when 326s generating C code 326s --c-generate-autocleanup {none,objects,all} 326s Generate autocleanup support 326s --generate-docbook OUTFILES 326s Generate Docbook in OUTFILES-org.Project.IFace.xml 326s --generate-md OUTFILES 326s Generate Markdown in OUTFILES-org.Project.IFace.md 326s --generate-rst OUTFILES 326s Generate reStructuredText in OUTFILES- 326s org.Project.IFace.rst 326s --pragma-once Use "pragma once" as the inclusion guard 326s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 326s Add annotation (may be used several times) 326s --glib-min-required VERSION 326s Minimum version of GLib to be supported by the 326s outputted code (default: 2.30) 326s --glib-max-allowed VERSION 326s Maximum version of GLib to be used by the outputted 326s code (default: current GLib version) 326s --symbol-decorator SYMBOL_DECORATOR 326s Macro used to decorate a symbol in the outputted 326s header, possibly to export symbols 326s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 326s Additional header required for decorator specified by 326s --symbol-decorator 326s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 326s Additional define required for decorator specified by 326s --symbol-decorator 326s --generate-c-code OUTFILES 326s Generate C code in OUTFILES.[ch] 326s --header Generate C headers 326s --body Generate C code 326s --interface-info-header 326s Generate GDBusInterfaceInfo C header 326s --interface-info-body 326s Generate GDBusInterfaceInfo C code 326s --output FILE Write output into the specified file 326s --output-directory OUTDIR 326s Location to output generated files 326s + gdbus-codegen --help 326s + glib-compile-resources --version 326s + glib-genmarshal --version 326s + glib-gettextize --version 326s + glib-mkenums --version 326s + gobject-query tree 326s + gtester --version 326s + gtester-report --version 326s autopkgtest [12:31:08]: test libgio-2.0-dev-bin: -----------------------] 326s 2.86.3 326s glib-genmarshal version 2.86.3 326s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 326s You may redistribute copies of glib-genmarshal under the terms of 326s the GNU General Public License which can be found in the 326s GLib source package. Sources, examples and contact 326s information are available at http://www.gtk.org 326s /usr/bin/glib-gettextize (GNU glib) 2.86.3 326s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 326s This is free software; see the source for copying conditions. There is NO 326s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 326s Written by Ulrich Drepper 326s glib-mkenums version 2.86.3 326s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 326s You may redistribute copies of glib-mkenums under the terms of 326s the GNU General Public License which can be found in the 326s GLib source package. Sources, examples and contact 326s information are available at http://www.gtk.org 326s GObject 326s gtester version 2.86.3 326s gtester-report (GLib utils) version 2.86.3. 326s libgio-2.0-dev-bin PASS (superficial) 326s autopkgtest [12:31:09]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 326s autopkgtest [12:31:09]: test libglib2.0-dev: preparing testbed 346s Creating nova instance adt-resolute-amd64-glib2.0-20260129-122543-juju-7f2275-prod-proposed-migration-environment-20-4e18df3a-ba16-40bf-b1d8-be9b9213db0f from image adt/ubuntu-resolute-amd64-server-20260129.img (UUID c052dd91-e629-41e8-9bf0-bad94c4bd713)... 422s autopkgtest [12:32:45]: testbed dpkg architecture: amd64 422s autopkgtest [12:32:45]: testbed apt version: 3.1.14 422s autopkgtest [12:32:45]: @@@@@@@@@@@@@@@@@@@@ test bed setup 422s autopkgtest [12:32:45]: testbed release detected to be: resolute 423s autopkgtest [12:32:46]: updating testbed package index (apt update) 423s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 423s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 423s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 423s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 423s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 423s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 423s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 423s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1074 kB] 423s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [132 kB] 423s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [114 kB] 423s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [4360 B] 423s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [12.3 kB] 424s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3696 B] 424s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B] 424s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [872 kB] 424s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [357 kB] 424s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [23.0 kB] 424s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [23.2 kB] 424s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [3336 B] 424s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [1036 B] 424s Fetched 2880 kB in 1s (3395 kB/s) 425s Reading package lists... 425s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 425s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 425s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 425s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 426s Reading package lists... 426s Reading package lists... 426s Building dependency tree... 426s Reading state information... 426s Calculating upgrade... 426s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 426s autopkgtest [12:32:49]: upgrading testbed (apt dist-upgrade and autopurge) 427s Reading package lists... 427s Building dependency tree... 427s Reading state information... 427s Calculating upgrade... 427s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 427s Reading package lists... 427s Building dependency tree... 427s Reading state information... 427s Solving dependencies... 427s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 430s Reading package lists... 430s Building dependency tree... 430s Reading state information... 430s Solving dependencies... 430s The following NEW packages will be installed: 430s build-essential cpp cpp-15 cpp-15-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 430s g++-15 g++-15-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-15 430s gcc-15-x86-64-linux-gnu gcc-x86-64-linux-gnu gir1.2-glib-2.0-dev 430s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-15-dev 430s libgio-2.0-dev libgio-2.0-dev-bin libglib2.0-bin libglib2.0-dev 430s libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 liblsan0 430s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 430s libpcre2-posix3 libpkgconf7 libquadmath0 libselinux-dev libsepol-dev 430s libstdc++-15-dev libsysprof-capture-4-dev libtsan2 libubsan1 430s native-architecture pkgconf pkgconf-bin uuid-dev zlib1g-dev 430s 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. 430s Need to get 76.4 MB of archives. 430s After this operation, 273 MB of additional disk space will be used. 430s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libisl23 amd64 0.27-1build1 [691 kB] 430s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 libmpc3 amd64 1.3.1-2 [54.8 kB] 430s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15-x86-64-linux-gnu amd64 15.2.0-11ubuntu1 [12.9 MB] 431s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15 amd64 15.2.0-11ubuntu1 [1030 B] 431s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [5746 B] 431s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp amd64 4:15.2.0-4ubuntu1 [22.4 kB] 431s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 libcc1-0 amd64 15.2.0-11ubuntu1 [47.4 kB] 431s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libgomp1 amd64 15.2.0-11ubuntu1 [151 kB] 431s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libitm1 amd64 15.2.0-11ubuntu1 [29.5 kB] 431s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 libasan8 amd64 15.2.0-11ubuntu1 [3070 kB] 431s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsan0 amd64 15.2.0-11ubuntu1 [1360 kB] 431s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libtsan2 amd64 15.2.0-11ubuntu1 [2757 kB] 431s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 libubsan1 amd64 15.2.0-11ubuntu1 [1210 kB] 431s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libhwasan0 amd64 15.2.0-11ubuntu1 [1685 kB] 431s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 libquadmath0 amd64 15.2.0-11ubuntu1 [153 kB] 431s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 libgcc-15-dev amd64 15.2.0-11ubuntu1 [2863 kB] 431s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15-x86-64-linux-gnu amd64 15.2.0-11ubuntu1 [25.4 MB] 431s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15 amd64 15.2.0-11ubuntu1 [528 kB] 431s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [1208 B] 431s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc amd64 4:15.2.0-4ubuntu1 [5024 B] 431s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libstdc++-15-dev amd64 15.2.0-11ubuntu1 [2574 kB] 431s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15-x86-64-linux-gnu amd64 15.2.0-11ubuntu1 [14.4 MB] 432s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15 amd64 15.2.0-11ubuntu1 [24.6 kB] 432s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [966 B] 432s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 g++ amd64 4:15.2.0-4ubuntu1 [1100 B] 432s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 build-essential amd64 12.12ubuntu2 [5256 B] 432s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0-dev amd64 2.86.3-4 [865 kB] 432s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 native-architecture all 0.2.6build1 [2256 B] 432s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 girepository-tools amd64 2.86.3-4 [111 kB] 432s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 libffi-dev amd64 3.5.2-3 [66.5 kB] 432s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 uuid-dev amd64 2.41.2-4ubuntu2 [56.8 kB] 432s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 libblkid-dev amd64 2.41.2-4ubuntu2 [234 kB] 432s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 libsepol-dev amd64 3.9-2 [409 kB] 432s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-16-0 amd64 10.46-1 [243 kB] 432s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-32-0 amd64 10.46-1 [230 kB] 432s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-posix3 amd64 10.46-1 [7354 B] 432s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-dev amd64 10.46-1 [832 kB] 432s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libselinux-dev amd64 3.9-4 [176 kB] 432s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libmount-dev amd64 2.41.2-4ubuntu2 [37.6 kB] 432s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libsysprof-capture-4-dev amd64 49.0-5 [53.6 kB] 432s Get:41 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libpkgconf7 amd64 2.5.1-2 [38.7 kB] 432s Get:42 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 pkgconf-bin amd64 2.5.1-2 [22.8 kB] 432s Get:43 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 pkgconf amd64 2.5.1-2 [20.0 kB] 432s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu2 [898 kB] 432s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 libgio-2.0-dev amd64 2.86.3-4 [1817 kB] 432s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 libgio-2.0-dev-bin amd64 2.86.3-4 [129 kB] 432s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-bin amd64 2.86.3-4 [99.5 kB] 432s Get:48 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-dev-bin amd64 2.86.3-4 [18.2 kB] 432s Get:49 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-dev amd64 2.86.3-4 [18.9 kB] 432s Fetched 76.4 MB in 2s (41.5 MB/s) 432s Selecting previously unselected package libisl23:amd64. 432s (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 ... 124211 files and directories currently installed.) 432s Preparing to unpack .../00-libisl23_0.27-1build1_amd64.deb ... 432s Unpacking libisl23:amd64 (0.27-1build1) ... 432s Selecting previously unselected package libmpc3:amd64. 432s Preparing to unpack .../01-libmpc3_1.3.1-2_amd64.deb ... 432s Unpacking libmpc3:amd64 (1.3.1-2) ... 432s Selecting previously unselected package cpp-15-x86-64-linux-gnu. 432s Preparing to unpack .../02-cpp-15-x86-64-linux-gnu_15.2.0-11ubuntu1_amd64.deb ... 432s Unpacking cpp-15-x86-64-linux-gnu (15.2.0-11ubuntu1) ... 432s Selecting previously unselected package cpp-15. 432s Preparing to unpack .../03-cpp-15_15.2.0-11ubuntu1_amd64.deb ... 432s Unpacking cpp-15 (15.2.0-11ubuntu1) ... 432s Selecting previously unselected package cpp-x86-64-linux-gnu. 432s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 432s Unpacking cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 432s Selecting previously unselected package cpp. 432s Preparing to unpack .../05-cpp_4%3a15.2.0-4ubuntu1_amd64.deb ... 432s Unpacking cpp (4:15.2.0-4ubuntu1) ... 432s Selecting previously unselected package libcc1-0:amd64. 432s Preparing to unpack .../06-libcc1-0_15.2.0-11ubuntu1_amd64.deb ... 432s Unpacking libcc1-0:amd64 (15.2.0-11ubuntu1) ... 432s Selecting previously unselected package libgomp1:amd64. 432s Preparing to unpack .../07-libgomp1_15.2.0-11ubuntu1_amd64.deb ... 432s Unpacking libgomp1:amd64 (15.2.0-11ubuntu1) ... 432s Selecting previously unselected package libitm1:amd64. 432s Preparing to unpack .../08-libitm1_15.2.0-11ubuntu1_amd64.deb ... 432s Unpacking libitm1:amd64 (15.2.0-11ubuntu1) ... 432s Selecting previously unselected package libasan8:amd64. 432s Preparing to unpack .../09-libasan8_15.2.0-11ubuntu1_amd64.deb ... 432s Unpacking libasan8:amd64 (15.2.0-11ubuntu1) ... 432s Selecting previously unselected package liblsan0:amd64. 432s Preparing to unpack .../10-liblsan0_15.2.0-11ubuntu1_amd64.deb ... 432s Unpacking liblsan0:amd64 (15.2.0-11ubuntu1) ... 432s Selecting previously unselected package libtsan2:amd64. 432s Preparing to unpack .../11-libtsan2_15.2.0-11ubuntu1_amd64.deb ... 432s Unpacking libtsan2:amd64 (15.2.0-11ubuntu1) ... 432s Selecting previously unselected package libubsan1:amd64. 433s Preparing to unpack .../12-libubsan1_15.2.0-11ubuntu1_amd64.deb ... 433s Unpacking libubsan1:amd64 (15.2.0-11ubuntu1) ... 433s Selecting previously unselected package libhwasan0:amd64. 433s Preparing to unpack .../13-libhwasan0_15.2.0-11ubuntu1_amd64.deb ... 433s Unpacking libhwasan0:amd64 (15.2.0-11ubuntu1) ... 433s Selecting previously unselected package libquadmath0:amd64. 433s Preparing to unpack .../14-libquadmath0_15.2.0-11ubuntu1_amd64.deb ... 433s Unpacking libquadmath0:amd64 (15.2.0-11ubuntu1) ... 433s Selecting previously unselected package libgcc-15-dev:amd64. 433s Preparing to unpack .../15-libgcc-15-dev_15.2.0-11ubuntu1_amd64.deb ... 433s Unpacking libgcc-15-dev:amd64 (15.2.0-11ubuntu1) ... 433s Selecting previously unselected package gcc-15-x86-64-linux-gnu. 433s Preparing to unpack .../16-gcc-15-x86-64-linux-gnu_15.2.0-11ubuntu1_amd64.deb ... 433s Unpacking gcc-15-x86-64-linux-gnu (15.2.0-11ubuntu1) ... 433s Selecting previously unselected package gcc-15. 433s Preparing to unpack .../17-gcc-15_15.2.0-11ubuntu1_amd64.deb ... 433s Unpacking gcc-15 (15.2.0-11ubuntu1) ... 433s Selecting previously unselected package gcc-x86-64-linux-gnu. 433s Preparing to unpack .../18-gcc-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 433s Unpacking gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 433s Selecting previously unselected package gcc. 433s Preparing to unpack .../19-gcc_4%3a15.2.0-4ubuntu1_amd64.deb ... 433s Unpacking gcc (4:15.2.0-4ubuntu1) ... 433s Selecting previously unselected package libstdc++-15-dev:amd64. 433s Preparing to unpack .../20-libstdc++-15-dev_15.2.0-11ubuntu1_amd64.deb ... 433s Unpacking libstdc++-15-dev:amd64 (15.2.0-11ubuntu1) ... 433s Selecting previously unselected package g++-15-x86-64-linux-gnu. 433s Preparing to unpack .../21-g++-15-x86-64-linux-gnu_15.2.0-11ubuntu1_amd64.deb ... 433s Unpacking g++-15-x86-64-linux-gnu (15.2.0-11ubuntu1) ... 433s Selecting previously unselected package g++-15. 433s Preparing to unpack .../22-g++-15_15.2.0-11ubuntu1_amd64.deb ... 433s Unpacking g++-15 (15.2.0-11ubuntu1) ... 433s Selecting previously unselected package g++-x86-64-linux-gnu. 433s Preparing to unpack .../23-g++-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 433s Unpacking g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 433s Selecting previously unselected package g++. 433s Preparing to unpack .../24-g++_4%3a15.2.0-4ubuntu1_amd64.deb ... 433s Unpacking g++ (4:15.2.0-4ubuntu1) ... 433s Selecting previously unselected package build-essential. 433s Preparing to unpack .../25-build-essential_12.12ubuntu2_amd64.deb ... 433s Unpacking build-essential (12.12ubuntu2) ... 433s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 433s Preparing to unpack .../26-gir1.2-glib-2.0-dev_2.86.3-4_amd64.deb ... 433s Unpacking gir1.2-glib-2.0-dev:amd64 (2.86.3-4) ... 433s Selecting previously unselected package native-architecture. 433s Preparing to unpack .../27-native-architecture_0.2.6build1_all.deb ... 433s Unpacking native-architecture (0.2.6build1) ... 433s Selecting previously unselected package girepository-tools:amd64. 433s Preparing to unpack .../28-girepository-tools_2.86.3-4_amd64.deb ... 433s Unpacking girepository-tools:amd64 (2.86.3-4) ... 433s Selecting previously unselected package libffi-dev:amd64. 433s Preparing to unpack .../29-libffi-dev_3.5.2-3_amd64.deb ... 433s Unpacking libffi-dev:amd64 (3.5.2-3) ... 433s Selecting previously unselected package uuid-dev:amd64. 433s Preparing to unpack .../30-uuid-dev_2.41.2-4ubuntu2_amd64.deb ... 433s Unpacking uuid-dev:amd64 (2.41.2-4ubuntu2) ... 433s Selecting previously unselected package libblkid-dev:amd64. 433s Preparing to unpack .../31-libblkid-dev_2.41.2-4ubuntu2_amd64.deb ... 433s Unpacking libblkid-dev:amd64 (2.41.2-4ubuntu2) ... 433s Selecting previously unselected package libsepol-dev:amd64. 433s Preparing to unpack .../32-libsepol-dev_3.9-2_amd64.deb ... 433s Unpacking libsepol-dev:amd64 (3.9-2) ... 433s Selecting previously unselected package libpcre2-16-0:amd64. 433s Preparing to unpack .../33-libpcre2-16-0_10.46-1_amd64.deb ... 433s Unpacking libpcre2-16-0:amd64 (10.46-1) ... 433s Selecting previously unselected package libpcre2-32-0:amd64. 433s Preparing to unpack .../34-libpcre2-32-0_10.46-1_amd64.deb ... 433s Unpacking libpcre2-32-0:amd64 (10.46-1) ... 433s Selecting previously unselected package libpcre2-posix3:amd64. 433s Preparing to unpack .../35-libpcre2-posix3_10.46-1_amd64.deb ... 433s Unpacking libpcre2-posix3:amd64 (10.46-1) ... 433s Selecting previously unselected package libpcre2-dev:amd64. 433s Preparing to unpack .../36-libpcre2-dev_10.46-1_amd64.deb ... 433s Unpacking libpcre2-dev:amd64 (10.46-1) ... 433s Selecting previously unselected package libselinux-dev:amd64. 433s Preparing to unpack .../37-libselinux-dev_3.9-4_amd64.deb ... 433s Unpacking libselinux-dev:amd64 (3.9-4) ... 433s Selecting previously unselected package libmount-dev:amd64. 433s Preparing to unpack .../38-libmount-dev_2.41.2-4ubuntu2_amd64.deb ... 433s Unpacking libmount-dev:amd64 (2.41.2-4ubuntu2) ... 433s Selecting previously unselected package libsysprof-capture-4-dev:amd64. 433s Preparing to unpack .../39-libsysprof-capture-4-dev_49.0-5_amd64.deb ... 433s Unpacking libsysprof-capture-4-dev:amd64 (49.0-5) ... 433s Selecting previously unselected package libpkgconf7:amd64. 433s Preparing to unpack .../40-libpkgconf7_2.5.1-2_amd64.deb ... 433s Unpacking libpkgconf7:amd64 (2.5.1-2) ... 433s Selecting previously unselected package pkgconf-bin. 433s Preparing to unpack .../41-pkgconf-bin_2.5.1-2_amd64.deb ... 433s Unpacking pkgconf-bin (2.5.1-2) ... 433s Selecting previously unselected package pkgconf:amd64. 433s Preparing to unpack .../42-pkgconf_2.5.1-2_amd64.deb ... 433s Unpacking pkgconf:amd64 (2.5.1-2) ... 433s Selecting previously unselected package zlib1g-dev:amd64. 433s Preparing to unpack .../43-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_amd64.deb ... 433s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 433s Selecting previously unselected package libgio-2.0-dev:amd64. 433s Preparing to unpack .../44-libgio-2.0-dev_2.86.3-4_amd64.deb ... 433s Unpacking libgio-2.0-dev:amd64 (2.86.3-4) ... 434s Selecting previously unselected package libgio-2.0-dev-bin. 434s Preparing to unpack .../45-libgio-2.0-dev-bin_2.86.3-4_amd64.deb ... 434s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 434s Selecting previously unselected package libglib2.0-bin. 434s Preparing to unpack .../46-libglib2.0-bin_2.86.3-4_amd64.deb ... 434s Unpacking libglib2.0-bin (2.86.3-4) ... 434s Selecting previously unselected package libglib2.0-dev-bin. 434s Preparing to unpack .../47-libglib2.0-dev-bin_2.86.3-4_amd64.deb ... 434s Unpacking libglib2.0-dev-bin (2.86.3-4) ... 434s Selecting previously unselected package libglib2.0-dev:amd64. 434s Preparing to unpack .../48-libglib2.0-dev_2.86.3-4_amd64.deb ... 434s Unpacking libglib2.0-dev:amd64 (2.86.3-4) ... 434s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 434s Setting up native-architecture (0.2.6build1) ... 434s Setting up libpkgconf7:amd64 (2.5.1-2) ... 434s Setting up libglib2.0-bin (2.86.3-4) ... 434s Setting up libgomp1:amd64 (15.2.0-11ubuntu1) ... 434s Setting up libffi-dev:amd64 (3.5.2-3) ... 434s Setting up libpcre2-16-0:amd64 (10.46-1) ... 434s Setting up libsysprof-capture-4-dev:amd64 (49.0-5) ... 434s Setting up libpcre2-32-0:amd64 (10.46-1) ... 434s Setting up uuid-dev:amd64 (2.41.2-4ubuntu2) ... 434s Setting up libquadmath0:amd64 (15.2.0-11ubuntu1) ... 434s Setting up libmpc3:amd64 (1.3.1-2) ... 434s Setting up libsepol-dev:amd64 (3.9-2) ... 434s Setting up pkgconf-bin (2.5.1-2) ... 434s Setting up libubsan1:amd64 (15.2.0-11ubuntu1) ... 434s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 434s Setting up libpcre2-posix3:amd64 (10.46-1) ... 434s Setting up gir1.2-glib-2.0-dev:amd64 (2.86.3-4) ... 434s Setting up libhwasan0:amd64 (15.2.0-11ubuntu1) ... 434s Setting up libasan8:amd64 (15.2.0-11ubuntu1) ... 434s Setting up libtsan2:amd64 (15.2.0-11ubuntu1) ... 434s Setting up libisl23:amd64 (0.27-1build1) ... 434s Setting up libcc1-0:amd64 (15.2.0-11ubuntu1) ... 434s Setting up liblsan0:amd64 (15.2.0-11ubuntu1) ... 434s Setting up libitm1:amd64 (15.2.0-11ubuntu1) ... 434s Setting up libblkid-dev:amd64 (2.41.2-4ubuntu2) ... 434s Setting up girepository-tools:amd64 (2.86.3-4) ... 434s Setting up libgcc-15-dev:amd64 (15.2.0-11ubuntu1) ... 434s Setting up libpcre2-dev:amd64 (10.46-1) ... 434s Setting up cpp-15-x86-64-linux-gnu (15.2.0-11ubuntu1) ... 434s Setting up pkgconf:amd64 (2.5.1-2) ... 434s Setting up gcc-15-x86-64-linux-gnu (15.2.0-11ubuntu1) ... 434s Setting up libstdc++-15-dev:amd64 (15.2.0-11ubuntu1) ... 434s Setting up cpp-15 (15.2.0-11ubuntu1) ... 434s Setting up libselinux-dev:amd64 (3.9-4) ... 434s Setting up libmount-dev:amd64 (2.41.2-4ubuntu2) ... 434s Setting up cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 434s Setting up libglib2.0-dev-bin (2.86.3-4) ... 434s Setting up g++-15-x86-64-linux-gnu (15.2.0-11ubuntu1) ... 434s Setting up libgio-2.0-dev:amd64 (2.86.3-4) ... 434s Setting up gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 434s Setting up gcc-15 (15.2.0-11ubuntu1) ... 434s Setting up cpp (4:15.2.0-4ubuntu1) ... 434s Setting up g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 434s Setting up g++-15 (15.2.0-11ubuntu1) ... 434s Setting up gcc (4:15.2.0-4ubuntu1) ... 434s Setting up g++ (4:15.2.0-4ubuntu1) ... 434s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 434s Setting up build-essential (12.12ubuntu2) ... 434s Processing triggers for install-info (7.2-5) ... 434s Processing triggers for libc-bin (2.42-2ubuntu4) ... 434s Processing triggers for man-db (2.13.1-1) ... 435s Processing triggers for libglib2.0-0t64:amd64 (2.86.3-4) ... 435s No schema files found: doing nothing. 435s Setting up libglib2.0-dev:amd64 (2.86.3-4) ... 437s autopkgtest [12:33:00]: test libglib2.0-dev: [----------------------- 437s + debian/tests/build 437s + mode=dynamic 437s + getopt -o --long static -n debian/tests/build -- 437s + getopt_temp= -- 437s + eval set -- -- 437s + set -- -- 437s + true 437s + shift 437s + break 437s + mktemp -d 437s + WORKDIR=/tmp/tmp.UJHo1WseA1 437s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 437s + cd /tmp/tmp.UJHo1WseA1 437s + [ -n ] 437s + CROSS_COMPILE= 437s + cat 437s + cat 437s + cat 437s + cat 437s + cat 437s + cat 437s + cflags= 437s + pcflags= 437s + packages=glib-2.0 437s + pkg-config --cflags --libs glib-2.0 437s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 438s + echo build (glib, dynamic): OK 438s + [ -x glib-dynamic ] 438s + foo=bar ./glib-dynamic 438s build (glib, dynamic): OK 438s + echo run (glib, dynamic): OK 438s + cflags= 438s + pcflags= 438s + packages=gobject-2.0 438s + pkg-config --cflags --libs gobject-2.0 438s run (glib, dynamic): OK 438s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 438s + echo build (gobject, dynamic): OK 438s + [ -x gobject-dynamic ] 438s + foo=bar ./gobject-dynamic 438s build (gobject, dynamic): OK 438s + echo run (gobject, dynamic): OK 438s + cflags= 438s + pcflags= 438s + packages=gio-2.0 438s + pkg-config --cflags --libs gio-2.0 438s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 438s run (gobject, dynamic): OK 438s + echo build (gio, dynamic): OK 438s + [ -x gio-dynamic ] 438s + foo=bar ./gio-dynamic 438s build (gio, dynamic): OK 438s + echo run (gio, dynamic): OK 438s + cflags= 438s + pcflags= 438s + packages=gio-unix-2.0 438s + pkg-config --cflags --libs gio-unix-2.0 438s run (gio, dynamic): OK 438s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 438s + echo build (gio-unix, dynamic): OK 438s + [ -x gio-unix-dynamic ] 438s + foo=bar ./gio-unix-dynamic 438s build (gio-unix, dynamic): OK 438s + echo run (gio-unix, dynamic): OK 438s + cflags= 438s + pcflags= 438s + packages=gmodule-2.0 438s + pkg-config --cflags --libs gmodule-2.0 438s run (gio-unix, dynamic): OK 438s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 438s + echo build (gmodule, dynamic): OK 438s + [ -x gmodule-dynamic ] 438s + foo=bar ./gmodule-dynamic 438s + echo run (gmodule, dynamic): OK 438s + cflags= 438s + pcflags= 438s + packages=gthread-2.0 438s + pkg-config --cflags --libs gthread-2.0 438s build (gmodule, dynamic): OK 438s run (gmodule, dynamic): OK 438s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 438s + echo build (gthread, dynamic): OK 438s + [ -x gthread-dynamic ] 438s + foo=bar ./gthread-dynamic 438s build (gthread, dynamic): OK 438s run (gthread, dynamic): OK 438s + echo run (gthread, dynamic): OK 438s + rm -rf /tmp/tmp.UJHo1WseA1 438s + debian/tests/build-static 438s + mode=dynamic 438s + getopt -o --long static -n debian/tests/build -- --static 438s + getopt_temp= --static -- 438s + eval set -- --static -- 438s + set -- --static -- 438s + true 438s + mode=static 438s + shift 438s + continue 438s + true 438s + shift 438s + break 438s + mktemp -d 438s + WORKDIR=/tmp/tmp.vXvGyBs6Cl 438s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 438s + cd /tmp/tmp.vXvGyBs6Cl 438s + [ -n ] 438s + CROSS_COMPILE= 438s + cat 438s + cat 438s + cat 438s + cat 438s + cat 438s + cat 438s + cflags= 438s + pcflags= 438s + packages=glib-2.0 438s + cflags=-static 438s + pcflags=--static 438s + pkg-config --static --cflags --libs glib-2.0 438s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 438s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 438s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 438s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x2b6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 438s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x137): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 438s + echo build (glib, static): OK 438s + [ -x glib-static ] 438s + foo=bar ./glib-static 438s build (glib, static): OK 438s + echo run (glib, static): OK 438s + cflags= 438s + pcflags= 438s + packages=gobject-2.0 438s + cflags=-static 438s + pcflags=--static 438s run (glib, static): OK 438s + pkg-config --static --cflags --libs gobject-2.0 438s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 438s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 438s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 438s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x2b6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 438s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x137): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 438s + echo build (gobject, static): OK 438s + [ -x gobject-static ] 438s + foo=bar ./gobject-static 438s build (gobject, static): OK 438s + echo run (gobject, static): OK 438s + cflags= 438s + pcflags= 438s + packages=gio-2.0 438s + cflags=-static 438s + pcflags=--static 438s + continue 438s + cflags= 438s + pcflags= 438s + packages=gio-unix-2.0 438s + cflags=-static 438s + pcflags=--static 438s + continue 438s + cflags= 438s + pcflags= 438s + packages=gmodule-2.0 438s + cflags=-static 438s + pcflags=--static 438s + pkg-config --static --cflags --libs gmodule-2.0 438s run (gobject, static): OK 438s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 438s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 438s (.text+0x5e7): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 438s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 438s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 438s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x2b6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 438s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x137): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 438s + echo build (gmodule, static): OK 438s + [ -x gmodule-static ] 438s + foo=bar ./gmodule-static 438s build (gmodule, static): OK 438s + echo run (gmodule, static): OK 438s + cflags= 438s + pcflags= 438s + packages=gthread-2.0 438s + cflags=-static 438s + pcflags=--static 438s + pkg-config --static --cflags --libs gthread-2.0 438s run (gmodule, static): OK 438s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 438s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 438s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 438s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x2b6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 438s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x137): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 438s + echo build (gthread, static): OK 438s + [ -x gthread-static ] 438s + foo=bar ./gthread-static 438s + echo run (gthread, static): OK 438s + rm -rf /tmp/tmp.vXvGyBs6Cl 438s build (gthread, static): OK 438s run (gthread, static): OK 438s + debian/tests/girepository-tools 438s + cd /tmp/autopkgtest.7rmIHv/autopkgtest_tmp 438s + dpkg-architecture -qDEB_HOST_GNU_TYPE 438s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu 438s + dpkg-architecture -qDEB_HOST_MULTIARCH 438s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 438s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 438s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelibtypelib: GLib-2.0 438s /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 438s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 438s + debian/tests/libgio-2.0-dev-bin 438s + gdbus-codegen --help 438s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 438s [--c-namespace NAMESPACE] [--c-generate-object-manager] 438s [--c-generate-autocleanup {none,objects,all}] 438s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 438s [--generate-rst OUTFILES] [--pragma-once] 438s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 438s [--glib-min-required VERSION] 438s [--glib-max-allowed VERSION] 438s [--symbol-decorator SYMBOL_DECORATOR] 438s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 438s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 438s [--generate-c-code OUTFILES | --header | --body | 438s --interface-info-header | --interface-info-body] 438s [--output FILE | --output-directory OUTDIR] 438s FILE [FILE ...] 438s 438s D-Bus code and documentation generator 438s 438s positional arguments: 438s FILE D-Bus introspection XML file 438s 438s options: 438s -h, --help show this help message and exit 438s --interface-prefix PREFIX 438s String to strip from D-Bus interface names for code 438s and docs 438s --c-namespace NAMESPACE 438s The namespace to use for generated C code 438s --c-generate-object-manager 438s Generate a GDBusObjectManagerClient subclass when 438s generating C code 438s --c-generate-autocleanup {none,objects,all} 438s Generate autocleanup support 438s --generate-docbook OUTFILES 438s Generate Docbook in OUTFILES-org.Project.IFace.xml 438s --generate-md OUTFILES 438s Generate Markdown in OUTFILES-org.Project.IFace.md 438s --generate-rst OUTFILES 438s Generate reStructuredText in OUTFILES- 438s org.Project.IFace.rst 438s --pragma-once Use "pragma once" as the inclusion guard 438s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 438s Add annotation (may be used several times) 438s --glib-min-required VERSION 438s Minimum version of GLib to be supported by the 438s outputted code (default: 2.30) 438s --glib-max-allowed VERSION 438s Maximum version of GLib to be used by the outputted 438s code (default: current GLib version) 438s --symbol-decorator SYMBOL_DECORATOR 438s Macro used to decorate a symbol in the outputted 438s header, possibly to export symbols 438s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 438s Additional header required for decorator specified by 438s --symbol-decorator 438s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 438s Additional define required for decorator specified by 438s --symbol-decorator 438s --generate-c-code OUTFILES 438s Generate C code in OUTFILES.[ch] 438s --header Generate C headers 438s --body Generate C code 438s --interface-info-header 438s Generate GDBusInterfaceInfo C header 438s --interface-info-body 438s Generate GDBusInterfaceInfo C code 438s --output FILE Write output into the specified file 438s --output-directory OUTDIR 438s Location to output generated files 438s + glib-compile-resources --version 438s 2.86.3 438s + glib-genmarshal --version 438s glib-genmarshal version 2.86.3 438s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 438s You may redistribute copies of glib-genmarshal under the terms of 438s the GNU General Public License which can be found in the 438s GLib source package. Sources, examples and contact 438s information are available at http://www.gtk.org 438s + glib-gettextize --version 438s + glib-mkenums --version 438s /usr/bin/glib-gettextize (GNU glib) 2.86.3 438s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 438s This is free software; see the source for copying conditions. There is NO 438s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 438s Written by Ulrich Drepper 439s + gobject-query tree 439s + gtester --version 439s + gtester-report --version 439s glib-mkenums version 2.86.3 439s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 439s You may redistribute copies of glib-mkenums under the terms of 439s the GNU General Public License which can be found in the 439s GLib source package. Sources, examples and contact 439s information are available at http://www.gtk.org 439s GObject 439s gtester version 2.86.3 439s gtester-report (GLib utils) version 2.86.3. 439s + cd /tmp/autopkgtest.7rmIHv/autopkgtest_tmp 439s + dpkg-architecture -qDEB_HOST_MULTIARCH 439s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 439s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 439s typelib: GLib-2.0 439s + gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 439s + gi-decompile-typelib -o GLib.gir GLib.typelib 439s autopkgtest [12:33:02]: test libglib2.0-dev: -----------------------] 439s libglib2.0-dev PASS (superficial) 439s autopkgtest [12:33:02]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 440s autopkgtest [12:33:03]: test installed-tests: preparing testbed 459s Creating nova instance adt-resolute-amd64-glib2.0-20260129-122543-juju-7f2275-prod-proposed-migration-environment-20-4e18df3a-ba16-40bf-b1d8-be9b9213db0f from image adt/ubuntu-resolute-amd64-server-20260129.img (UUID c052dd91-e629-41e8-9bf0-bad94c4bd713)... 534s autopkgtest [12:34:37]: testbed dpkg architecture: amd64 534s autopkgtest [12:34:37]: testbed apt version: 3.1.14 535s autopkgtest [12:34:38]: @@@@@@@@@@@@@@@@@@@@ test bed setup 535s autopkgtest [12:34:38]: testbed release detected to be: resolute 535s autopkgtest [12:34:38]: updating testbed package index (apt update) 535s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 536s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 536s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 536s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 536s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1074 kB] 536s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 536s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 536s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 536s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [114 kB] 536s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [132 kB] 536s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [4360 B] 536s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [12.3 kB] 536s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3696 B] 536s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B] 536s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [872 kB] 536s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [357 kB] 536s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [23.0 kB] 536s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [3336 B] 536s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [23.2 kB] 536s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [1036 B] 537s Fetched 2880 kB in 1s (3165 kB/s) 537s Reading package lists... 538s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 538s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 538s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 538s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 539s Reading package lists... 539s Reading package lists... 539s Building dependency tree... 539s Reading state information... 539s Calculating upgrade... 539s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 539s autopkgtest [12:34:42]: upgrading testbed (apt dist-upgrade and autopurge) 539s Reading package lists... 539s Building dependency tree... 539s Reading state information... 539s Calculating upgrade... 539s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 539s Reading package lists... 540s Building dependency tree... 540s Reading state information... 540s Solving dependencies... 540s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 542s Reading package lists... 542s Building dependency tree... 542s Reading state information... 542s Solving dependencies... 542s The following NEW packages will be installed: 542s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 542s gnome-desktop-testing libdrm-intel1 libfontenc1 libgbm1 libgio-2.0-dev-bin 542s libgl1 libgl1-mesa-dri libglib2.0-bin libglib2.0-dev-bin libglib2.0-tests 542s libglvnd0 libglx-mesa0 libglx0 libice6 libpciaccess0 libpixman-1-0 libsm6 542s libvulkan1 libx11-xcb1 libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 542s libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 542s libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 542s mesa-libgallium native-architecture python3-dbusmock tzdata-legacy 542s x11-common x11-xkb-utils xserver-common xvfb 542s 0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded. 542s Need to get 17.8 MB of archives. 542s After this operation, 85.9 MB of additional disk space will be used. 542s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-x11 amd64 1.16.2-2ubuntu2 [23.3 kB] 542s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 desktop-file-utils amd64 0.28-1build1 [54.3 kB] 542s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0-dev amd64 2.86.3-4 [865 kB] 543s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 native-architecture all 0.2.6build1 [2256 B] 543s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 girepository-tools amd64 2.86.3-4 [111 kB] 543s Get:6 http://ftpmaster.internal/ubuntu resolute/universe amd64 gnome-desktop-testing amd64 2021.1-5 [16.8 kB] 543s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 libpciaccess0 amd64 0.18.1-1ubuntu2 [19.0 kB] 543s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-intel1 amd64 2.4.129-1 [66.7 kB] 543s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libfontenc1 amd64 1:1.1.8-1build2 [14.1 kB] 543s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 libx11-xcb1 amd64 2:1.8.12-1build1 [8044 B] 543s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-dri3-0 amd64 1.17.0-2ubuntu1 [7540 B] 543s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-present0 amd64 1.17.0-2ubuntu1 [6112 B] 543s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-randr0 amd64 1.17.0-2ubuntu1 [17.9 kB] 543s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-sync1 amd64 1.17.0-2ubuntu1 [9348 B] 543s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-xfixes0 amd64 1.17.0-2ubuntu1 [10.2 kB] 543s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 libxshmfence1 amd64 1.3.3-1 [5262 B] 543s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 mesa-libgallium amd64 25.3.3-1ubuntu1 [11.1 MB] 543s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 libgbm1 amd64 25.3.3-1ubuntu1 [34.0 kB] 543s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libgio-2.0-dev-bin amd64 2.86.3-4 [129 kB] 543s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libvulkan1 amd64 1.4.335.0-1 [158 kB] 543s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libgl1-mesa-dri amd64 25.3.3-1ubuntu1 [37.5 kB] 543s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-bin amd64 2.86.3-4 [99.5 kB] 543s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-dev-bin amd64 2.86.3-4 [18.2 kB] 543s Get:24 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-dbusmock all 0.37.2-1 [90.9 kB] 543s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 tzdata-legacy all 2025c-3ubuntu3 [99.3 kB] 543s Get:26 http://ftpmaster.internal/ubuntu resolute/universe amd64 libglib2.0-tests amd64 2.86.3-4 [2342 kB] 543s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-glx0 amd64 1.17.0-2ubuntu1 [24.7 kB] 543s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-shm0 amd64 1.17.0-2ubuntu1 [5808 B] 543s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 libxxf86vm1 amd64 1:1.1.4-2 [10.6 kB] 543s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 libglx-mesa0 amd64 25.3.3-1ubuntu1 [110 kB] 543s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 x11-common all 1:7.7+24ubuntu1 [22.4 kB] 543s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 libice6 amd64 2:1.1.1-1build1 [44.0 kB] 543s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 libpixman-1-0 amd64 0.46.4-1 [287 kB] 543s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libsm6 amd64 2:1.2.6-1 [16.4 kB] 543s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 libxt6t64 amd64 1:1.2.1-1.3 [173 kB] 543s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 libxmu6 amd64 2:1.1.3-4 [48.9 kB] 543s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 libxpm4 amd64 1:3.5.17-1build3 [37.3 kB] 543s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libxaw7 amd64 2:1.0.16-1build1 [190 kB] 543s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libxfont2 amd64 1:2.0.6-2 [95.6 kB] 543s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libxkbfile1 amd64 1:1.1.0-1build5 [70.1 kB] 543s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 libxrender1 amd64 1:0.9.12-1 [19.8 kB] 543s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 libxrandr2 amd64 2:1.5.4-1build1 [19.6 kB] 543s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 x11-xkb-utils amd64 7.7+9build1 [170 kB] 543s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 xserver-common all 2:21.1.21-1ubuntu1 [34.8 kB] 543s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 libglvnd0 amd64 1.7.0-3 [64.1 kB] 543s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 libglx0 amd64 1.7.0-3 [38.9 kB] 543s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 libgl1 amd64 1.7.0-3 [98.3 kB] 543s Get:48 http://ftpmaster.internal/ubuntu resolute/universe amd64 xvfb amd64 2:21.1.21-1ubuntu1 [902 kB] 543s Fetched 17.8 MB in 1s (25.2 MB/s) 543s Selecting previously unselected package dbus-x11. 543s (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 ... 124211 files and directories currently installed.) 543s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu2_amd64.deb ... 543s Unpacking dbus-x11 (1.16.2-2ubuntu2) ... 543s Selecting previously unselected package desktop-file-utils. 543s Preparing to unpack .../01-desktop-file-utils_0.28-1build1_amd64.deb ... 543s Unpacking desktop-file-utils (0.28-1build1) ... 543s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 543s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.86.3-4_amd64.deb ... 543s Unpacking gir1.2-glib-2.0-dev:amd64 (2.86.3-4) ... 543s Selecting previously unselected package native-architecture. 543s Preparing to unpack .../03-native-architecture_0.2.6build1_all.deb ... 543s Unpacking native-architecture (0.2.6build1) ... 543s Selecting previously unselected package girepository-tools:amd64. 543s Preparing to unpack .../04-girepository-tools_2.86.3-4_amd64.deb ... 543s Unpacking girepository-tools:amd64 (2.86.3-4) ... 543s Selecting previously unselected package gnome-desktop-testing. 543s Preparing to unpack .../05-gnome-desktop-testing_2021.1-5_amd64.deb ... 543s Unpacking gnome-desktop-testing (2021.1-5) ... 543s Selecting previously unselected package libpciaccess0:amd64. 543s Preparing to unpack .../06-libpciaccess0_0.18.1-1ubuntu2_amd64.deb ... 543s Unpacking libpciaccess0:amd64 (0.18.1-1ubuntu2) ... 543s Selecting previously unselected package libdrm-intel1:amd64. 543s Preparing to unpack .../07-libdrm-intel1_2.4.129-1_amd64.deb ... 543s Unpacking libdrm-intel1:amd64 (2.4.129-1) ... 543s Selecting previously unselected package libfontenc1:amd64. 543s Preparing to unpack .../08-libfontenc1_1%3a1.1.8-1build2_amd64.deb ... 543s Unpacking libfontenc1:amd64 (1:1.1.8-1build2) ... 543s Selecting previously unselected package libx11-xcb1:amd64. 543s Preparing to unpack .../09-libx11-xcb1_2%3a1.8.12-1build1_amd64.deb ... 543s Unpacking libx11-xcb1:amd64 (2:1.8.12-1build1) ... 543s Selecting previously unselected package libxcb-dri3-0:amd64. 543s Preparing to unpack .../10-libxcb-dri3-0_1.17.0-2ubuntu1_amd64.deb ... 543s Unpacking libxcb-dri3-0:amd64 (1.17.0-2ubuntu1) ... 543s Selecting previously unselected package libxcb-present0:amd64. 543s Preparing to unpack .../11-libxcb-present0_1.17.0-2ubuntu1_amd64.deb ... 543s Unpacking libxcb-present0:amd64 (1.17.0-2ubuntu1) ... 543s Selecting previously unselected package libxcb-randr0:amd64. 544s Preparing to unpack .../12-libxcb-randr0_1.17.0-2ubuntu1_amd64.deb ... 544s Unpacking libxcb-randr0:amd64 (1.17.0-2ubuntu1) ... 544s Selecting previously unselected package libxcb-sync1:amd64. 544s Preparing to unpack .../13-libxcb-sync1_1.17.0-2ubuntu1_amd64.deb ... 544s Unpacking libxcb-sync1:amd64 (1.17.0-2ubuntu1) ... 544s Selecting previously unselected package libxcb-xfixes0:amd64. 544s Preparing to unpack .../14-libxcb-xfixes0_1.17.0-2ubuntu1_amd64.deb ... 544s Unpacking libxcb-xfixes0:amd64 (1.17.0-2ubuntu1) ... 544s Selecting previously unselected package libxshmfence1:amd64. 544s Preparing to unpack .../15-libxshmfence1_1.3.3-1_amd64.deb ... 544s Unpacking libxshmfence1:amd64 (1.3.3-1) ... 544s Selecting previously unselected package mesa-libgallium:amd64. 544s Preparing to unpack .../16-mesa-libgallium_25.3.3-1ubuntu1_amd64.deb ... 544s Unpacking mesa-libgallium:amd64 (25.3.3-1ubuntu1) ... 544s Selecting previously unselected package libgbm1:amd64. 544s Preparing to unpack .../17-libgbm1_25.3.3-1ubuntu1_amd64.deb ... 544s Unpacking libgbm1:amd64 (25.3.3-1ubuntu1) ... 544s Selecting previously unselected package libgio-2.0-dev-bin. 544s Preparing to unpack .../18-libgio-2.0-dev-bin_2.86.3-4_amd64.deb ... 544s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 544s Selecting previously unselected package libvulkan1:amd64. 544s Preparing to unpack .../19-libvulkan1_1.4.335.0-1_amd64.deb ... 544s Unpacking libvulkan1:amd64 (1.4.335.0-1) ... 544s Selecting previously unselected package libgl1-mesa-dri:amd64. 544s Preparing to unpack .../20-libgl1-mesa-dri_25.3.3-1ubuntu1_amd64.deb ... 544s Unpacking libgl1-mesa-dri:amd64 (25.3.3-1ubuntu1) ... 544s Selecting previously unselected package libglib2.0-bin. 544s Preparing to unpack .../21-libglib2.0-bin_2.86.3-4_amd64.deb ... 544s Unpacking libglib2.0-bin (2.86.3-4) ... 544s Selecting previously unselected package libglib2.0-dev-bin. 544s Preparing to unpack .../22-libglib2.0-dev-bin_2.86.3-4_amd64.deb ... 544s Unpacking libglib2.0-dev-bin (2.86.3-4) ... 544s Selecting previously unselected package python3-dbusmock. 544s Preparing to unpack .../23-python3-dbusmock_0.37.2-1_all.deb ... 544s Unpacking python3-dbusmock (0.37.2-1) ... 544s Selecting previously unselected package tzdata-legacy. 544s Preparing to unpack .../24-tzdata-legacy_2025c-3ubuntu3_all.deb ... 544s Unpacking tzdata-legacy (2025c-3ubuntu3) ... 544s Selecting previously unselected package libglib2.0-tests. 544s Preparing to unpack .../25-libglib2.0-tests_2.86.3-4_amd64.deb ... 544s Unpacking libglib2.0-tests (2.86.3-4) ... 544s Selecting previously unselected package libxcb-glx0:amd64. 544s Preparing to unpack .../26-libxcb-glx0_1.17.0-2ubuntu1_amd64.deb ... 544s Unpacking libxcb-glx0:amd64 (1.17.0-2ubuntu1) ... 544s Selecting previously unselected package libxcb-shm0:amd64. 544s Preparing to unpack .../27-libxcb-shm0_1.17.0-2ubuntu1_amd64.deb ... 544s Unpacking libxcb-shm0:amd64 (1.17.0-2ubuntu1) ... 544s Selecting previously unselected package libxxf86vm1:amd64. 544s Preparing to unpack .../28-libxxf86vm1_1%3a1.1.4-2_amd64.deb ... 544s Unpacking libxxf86vm1:amd64 (1:1.1.4-2) ... 544s Selecting previously unselected package libglx-mesa0:amd64. 544s Preparing to unpack .../29-libglx-mesa0_25.3.3-1ubuntu1_amd64.deb ... 544s Unpacking libglx-mesa0:amd64 (25.3.3-1ubuntu1) ... 544s Selecting previously unselected package x11-common. 544s Preparing to unpack .../30-x11-common_1%3a7.7+24ubuntu1_all.deb ... 544s Unpacking x11-common (1:7.7+24ubuntu1) ... 544s Selecting previously unselected package libice6:amd64. 544s Preparing to unpack .../31-libice6_2%3a1.1.1-1build1_amd64.deb ... 544s Unpacking libice6:amd64 (2:1.1.1-1build1) ... 544s Selecting previously unselected package libpixman-1-0:amd64. 544s Preparing to unpack .../32-libpixman-1-0_0.46.4-1_amd64.deb ... 544s Unpacking libpixman-1-0:amd64 (0.46.4-1) ... 544s Selecting previously unselected package libsm6:amd64. 544s Preparing to unpack .../33-libsm6_2%3a1.2.6-1_amd64.deb ... 544s Unpacking libsm6:amd64 (2:1.2.6-1) ... 544s Selecting previously unselected package libxt6t64:amd64. 544s Preparing to unpack .../34-libxt6t64_1%3a1.2.1-1.3_amd64.deb ... 544s Unpacking libxt6t64:amd64 (1:1.2.1-1.3) ... 544s Selecting previously unselected package libxmu6:amd64. 544s Preparing to unpack .../35-libxmu6_2%3a1.1.3-4_amd64.deb ... 544s Unpacking libxmu6:amd64 (2:1.1.3-4) ... 544s Selecting previously unselected package libxpm4:amd64. 544s Preparing to unpack .../36-libxpm4_1%3a3.5.17-1build3_amd64.deb ... 544s Unpacking libxpm4:amd64 (1:3.5.17-1build3) ... 544s Selecting previously unselected package libxaw7:amd64. 544s Preparing to unpack .../37-libxaw7_2%3a1.0.16-1build1_amd64.deb ... 544s Unpacking libxaw7:amd64 (2:1.0.16-1build1) ... 544s Selecting previously unselected package libxfont2:amd64. 544s Preparing to unpack .../38-libxfont2_1%3a2.0.6-2_amd64.deb ... 544s Unpacking libxfont2:amd64 (1:2.0.6-2) ... 544s Selecting previously unselected package libxkbfile1:amd64. 544s Preparing to unpack .../39-libxkbfile1_1%3a1.1.0-1build5_amd64.deb ... 544s Unpacking libxkbfile1:amd64 (1:1.1.0-1build5) ... 544s Selecting previously unselected package libxrender1:amd64. 544s Preparing to unpack .../40-libxrender1_1%3a0.9.12-1_amd64.deb ... 544s Unpacking libxrender1:amd64 (1:0.9.12-1) ... 544s Selecting previously unselected package libxrandr2:amd64. 544s Preparing to unpack .../41-libxrandr2_2%3a1.5.4-1build1_amd64.deb ... 544s Unpacking libxrandr2:amd64 (2:1.5.4-1build1) ... 544s Selecting previously unselected package x11-xkb-utils. 544s Preparing to unpack .../42-x11-xkb-utils_7.7+9build1_amd64.deb ... 544s Unpacking x11-xkb-utils (7.7+9build1) ... 544s Selecting previously unselected package xserver-common. 544s Preparing to unpack .../43-xserver-common_2%3a21.1.21-1ubuntu1_all.deb ... 544s Unpacking xserver-common (2:21.1.21-1ubuntu1) ... 544s Selecting previously unselected package libglvnd0:amd64. 544s Preparing to unpack .../44-libglvnd0_1.7.0-3_amd64.deb ... 544s Unpacking libglvnd0:amd64 (1.7.0-3) ... 544s Selecting previously unselected package libglx0:amd64. 544s Preparing to unpack .../45-libglx0_1.7.0-3_amd64.deb ... 544s Unpacking libglx0:amd64 (1.7.0-3) ... 544s Selecting previously unselected package libgl1:amd64. 544s Preparing to unpack .../46-libgl1_1.7.0-3_amd64.deb ... 544s Unpacking libgl1:amd64 (1.7.0-3) ... 544s Selecting previously unselected package xvfb. 544s Preparing to unpack .../47-xvfb_2%3a21.1.21-1ubuntu1_amd64.deb ... 544s Unpacking xvfb (2:21.1.21-1ubuntu1) ... 544s Setting up gnome-desktop-testing (2021.1-5) ... 544s Setting up libxcb-dri3-0:amd64 (1.17.0-2ubuntu1) ... 544s Setting up libpixman-1-0:amd64 (0.46.4-1) ... 544s Setting up libx11-xcb1:amd64 (2:1.8.12-1build1) ... 544s Setting up libpciaccess0:amd64 (0.18.1-1ubuntu2) ... 544s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 544s Setting up native-architecture (0.2.6build1) ... 544s Setting up libxcb-xfixes0:amd64 (1.17.0-2ubuntu1) ... 544s Setting up desktop-file-utils (0.28-1build1) ... 544s Setting up libxpm4:amd64 (1:3.5.17-1build3) ... 544s Setting up libxrender1:amd64 (1:0.9.12-1) ... 544s Setting up libglvnd0:amd64 (1.7.0-3) ... 544s Setting up libxcb-glx0:amd64 (1.17.0-2ubuntu1) ... 544s Setting up libdrm-intel1:amd64 (2.4.129-1) ... 544s Setting up x11-common (1:7.7+24ubuntu1) ... 545s Setting up libglib2.0-bin (2.86.3-4) ... 545s Setting up libxcb-shm0:amd64 (1.17.0-2ubuntu1) ... 545s Setting up python3-dbusmock (0.37.2-1) ... 545s Setting up tzdata-legacy (2025c-3ubuntu3) ... 545s Setting up libxxf86vm1:amd64 (1:1.1.4-2) ... 545s Setting up libxcb-present0:amd64 (1.17.0-2ubuntu1) ... 545s Setting up libfontenc1:amd64 (1:1.1.8-1build2) ... 545s Setting up libxcb-sync1:amd64 (1.17.0-2ubuntu1) ... 545s Setting up libxrandr2:amd64 (2:1.5.4-1build1) ... 545s Setting up libvulkan1:amd64 (1.4.335.0-1) ... 545s Setting up gir1.2-glib-2.0-dev:amd64 (2.86.3-4) ... 545s Setting up libxshmfence1:amd64 (1.3.3-1) ... 545s Setting up dbus-x11 (1.16.2-2ubuntu2) ... 545s Setting up libxcb-randr0:amd64 (1.17.0-2ubuntu1) ... 545s Setting up libxkbfile1:amd64 (1:1.1.0-1build5) ... 545s Setting up libxfont2:amd64 (1:2.0.6-2) ... 545s Setting up libice6:amd64 (2:1.1.1-1build1) ... 545s Setting up mesa-libgallium:amd64 (25.3.3-1ubuntu1) ... 545s Setting up girepository-tools:amd64 (2.86.3-4) ... 545s Setting up libgbm1:amd64 (25.3.3-1ubuntu1) ... 545s Setting up libgl1-mesa-dri:amd64 (25.3.3-1ubuntu1) ... 545s Setting up libsm6:amd64 (2:1.2.6-1) ... 545s Setting up libglib2.0-dev-bin (2.86.3-4) ... 545s Setting up libglx-mesa0:amd64 (25.3.3-1ubuntu1) ... 545s Setting up libglx0:amd64 (1.7.0-3) ... 545s Setting up libgl1:amd64 (1.7.0-3) ... 545s Setting up libxt6t64:amd64 (1:1.2.1-1.3) ... 545s Setting up libglib2.0-tests (2.86.3-4) ... 545s Setting up libxmu6:amd64 (2:1.1.3-4) ... 545s Setting up libxaw7:amd64 (2:1.0.16-1build1) ... 545s Setting up x11-xkb-utils (7.7+9build1) ... 545s Setting up xserver-common (2:21.1.21-1ubuntu1) ... 545s Setting up xvfb (2:21.1.21-1ubuntu1) ... 545s Processing triggers for man-db (2.13.1-1) ... 545s Processing triggers for libc-bin (2.42-2ubuntu4) ... 549s autopkgtest [12:34:52]: test installed-tests: [----------------------- 549s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 549s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 549s group entry: ubuntu:x:1000: 549s Environment: 549s ADTTMP=/tmp/autopkgtest.7rmIHv/autopkgtest_tmp 549s ADT_ARTIFACTS=/tmp/autopkgtest.7rmIHv/installed-tests-artifacts 549s ADT_TEST_TRIGGERS=pkgconf/2.5.1-2 549s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.7rmIHv/installed-tests-artifacts 549s AUTOPKGTEST_TESTBED_ARCH=amd64 549s AUTOPKGTEST_TEST_ARCH=amd64 549s AUTOPKGTEST_TMP=/tmp/autopkgtest.7rmIHv/autopkgtest_tmp 549s DEBIAN_FRONTEND=noninteractive 549s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 549s DEB_BUILD_OPTIONS=parallel=2 549s GIO_USE_VFS=local 549s GIO_USE_VOLUME_MONITOR=unix 549s HOME=/home/ubuntu 549s LANG=C.UTF-8 549s LOGNAME=ubuntu 549s MAIL=/var/mail/ubuntu 549s OLDPWD=/home/ubuntu 549s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 549s PWD=/tmp/autopkgtest.7rmIHv/build.lCB/src 549s SHELL=/bin/bash 549s SHLVL=1 549s SUDO_COMMAND=/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.7rmIHv/wrapper.sh --artifacts=/tmp/autopkgtest.7rmIHv/installed-tests-artifacts --chdir=/tmp/autopkgtest.7rmIHv/build.lCB/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --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.7rmIHv/installed-tests-stderr --stdout=/tmp/autopkgtest.7rmIHv/installed-tests-stdout --tmp=/tmp/autopkgtest.7rmIHv/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pkgconf/2.5.1-2 --make-executable=/tmp/autopkgtest.7rmIHv/build.lCB/src/debian/tests/installed-tests -- /tmp/autopkgtest.7rmIHv/build.lCB/src/debian/tests/installed-tests 549s SUDO_GID=1000 549s SUDO_HOME=/home/ubuntu 549s SUDO_UID=1000 549s SUDO_USER=ubuntu 549s TERM=linux 549s USER=ubuntu 549s XDG_RUNTIME_DIR=/tmp/autopkgtest.7rmIHv/autopkgtest_tmp 549s http_proxy=http://egress.ps7.internal:3128/ 549s https_proxy=http://egress.ps7.internal:3128/ 549s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain 549s run-with-locales: de_DE=ISO-8859-1... 549s Character set: ISO-8859-1 549s Source file: de_DE 549s Output: /tmp/tmp.ArpkzgZnEb/de_DE 549s run-with-locales: de_DE.utf8... 549s Character set: UTF-8 549s Source file: de_DE 549s Output: /tmp/tmp.ArpkzgZnEb/de_DE.utf8 550s run-with-locales: de_DE@euro.utf8... 550s Character set: UTF-8 550s Source file: de_DE@euro 550s Output: /tmp/tmp.ArpkzgZnEb/de_DE@euro.utf8 551s run-with-locales: el_GR.utf8... 551s Character set: UTF-8 551s Source file: el_GR 551s Output: /tmp/tmp.ArpkzgZnEb/el_GR.utf8 552s run-with-locales: en_GB=ISO-8859-1... 552s Character set: ISO-8859-1 552s Source file: en_GB 552s Output: /tmp/tmp.ArpkzgZnEb/en_GB 552s run-with-locales: en_GB.utf8... 552s Character set: UTF-8 552s Source file: en_GB 552s Output: /tmp/tmp.ArpkzgZnEb/en_GB.utf8 553s run-with-locales: en_US=ISO-8859-1... 553s Character set: ISO-8859-1 553s Source file: en_US 553s Output: /tmp/tmp.ArpkzgZnEb/en_US 553s run-with-locales: en_US.utf8... 553s Character set: UTF-8 553s Source file: en_US 553s Output: /tmp/tmp.ArpkzgZnEb/en_US.utf8 554s run-with-locales: es_ES.utf8... 554s Character set: UTF-8 554s Source file: es_ES 554s Output: /tmp/tmp.ArpkzgZnEb/es_ES.utf8 555s run-with-locales: fa_IR=UTF-8... 555s Character set: UTF-8 555s Source file: fa_IR 555s Output: /tmp/tmp.ArpkzgZnEb/fa_IR 556s run-with-locales: fa_IR.utf8... 556s Character set: UTF-8 556s Source file: fa_IR 556s Output: /tmp/tmp.ArpkzgZnEb/fa_IR.utf8 557s run-with-locales: fr_FR.utf8... 557s Character set: UTF-8 557s Source file: fr_FR 557s Output: /tmp/tmp.ArpkzgZnEb/fr_FR.utf8 558s run-with-locales: hr_HR.utf8... 558s Character set: UTF-8 558s Source file: hr_HR 558s Output: /tmp/tmp.ArpkzgZnEb/hr_HR.utf8 559s run-with-locales: ja_JP.utf8... 559s Character set: UTF-8 559s Source file: ja_JP 559s Output: /tmp/tmp.ArpkzgZnEb/ja_JP.utf8 559s run-with-locales: ja_JP.EUC-JP... 559s Character set: EUC-JP 559s Source file: ja_JP 559s Output: /tmp/tmp.ArpkzgZnEb/ja_JP.eucjp 560s run-with-locales: lt_LT.utf8... 560s Character set: UTF-8 560s Source file: lt_LT 560s Output: /tmp/tmp.ArpkzgZnEb/lt_LT.utf8 561s run-with-locales: pl_PL=ISO-8859-2... 561s Character set: ISO-8859-2 561s Source file: pl_PL 561s Output: /tmp/tmp.ArpkzgZnEb/pl_PL 561s run-with-locales: pl_PL.ISO-8859-2... 561s Character set: ISO-8859-2 561s Source file: pl_PL 561s Output: /tmp/tmp.ArpkzgZnEb/pl_PL.iso88592 561s run-with-locales: pl_PL.utf8... 561s Character set: UTF-8 561s Source file: pl_PL 561s Output: /tmp/tmp.ArpkzgZnEb/pl_PL.utf8 562s run-with-locales: ru_RU=ISO-8859-5... 562s Character set: ISO-8859-5 562s Source file: ru_RU 562s Output: /tmp/tmp.ArpkzgZnEb/ru_RU 562s run-with-locales: ru_RU.utf8... 562s Character set: UTF-8 562s Source file: ru_RU 562s Output: /tmp/tmp.ArpkzgZnEb/ru_RU.utf8 563s run-with-locales: sr_RS=UTF-8... 563s Character set: UTF-8 563s Source file: sr_RS 563s Output: /tmp/tmp.ArpkzgZnEb/sr_RS 564s run-with-locales: sr_RS@latin=UTF-8... 564s Character set: UTF-8 564s Source file: sr_RS@latin 564s Output: /tmp/tmp.ArpkzgZnEb/sr_RS@latin 565s run-with-locales: sv_SE=ISO-8859-1... 565s Character set: ISO-8859-1 565s Source file: sv_SE 565s Output: /tmp/tmp.ArpkzgZnEb/sv_SE 565s run-with-locales: sv_SE.utf8... 565s Character set: UTF-8 565s Source file: sv_SE 565s Output: /tmp/tmp.ArpkzgZnEb/sv_SE.utf8 566s run-with-locales: tr_TR=ISO-8859-9... 566s Character set: ISO-8859-9 566s Source file: tr_TR 566s Output: /tmp/tmp.ArpkzgZnEb/tr_TR 566s run-with-locales: tr_TR.utf8... 566s Character set: UTF-8 566s Source file: tr_TR 566s Output: /tmp/tmp.ArpkzgZnEb/tr_TR.utf8 567s run-with-locales: tt_RU=UTF-8... 567s Character set: UTF-8 567s Source file: tt_RU 567s Output: /tmp/tmp.ArpkzgZnEb/tt_RU 568s run-with-locales: tt_RU.utf8... 568s Character set: UTF-8 568s Source file: tt_RU 568s Output: /tmp/tmp.ArpkzgZnEb/tt_RU.utf8 569s run-with-locales: tt_RU@iqtelif=UTF-8... 569s Character set: UTF-8 569s Source file: tt_RU@iqtelif 569s Output: /tmp/tmp.ArpkzgZnEb/tt_RU@iqtelif 570s /tmp/tmp.ArpkzgZnEb 570s /tmp/tmp.ArpkzgZnEb/de_DE.utf8 570s /tmp/tmp.ArpkzgZnEb/de_DE.utf8/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/de_DE.utf8/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/de_DE.utf8/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/de_DE.utf8/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/de_DE.utf8/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/de_DE.utf8/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/de_DE.utf8/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/de_DE.utf8/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/de_DE.utf8/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/de_DE.utf8/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/de_DE.utf8/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/de_DE.utf8/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/sr_RS 570s /tmp/tmp.ArpkzgZnEb/sr_RS/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/sr_RS/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/sr_RS/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/sr_RS/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/sr_RS/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/sr_RS/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/sr_RS/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/sr_RS/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/sr_RS/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/sr_RS/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/sr_RS/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/sr_RS/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/hr_HR.utf8 570s /tmp/tmp.ArpkzgZnEb/hr_HR.utf8/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/hr_HR.utf8/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/hr_HR.utf8/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/hr_HR.utf8/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/hr_HR.utf8/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/hr_HR.utf8/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/hr_HR.utf8/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/hr_HR.utf8/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/hr_HR.utf8/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/hr_HR.utf8/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/hr_HR.utf8/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/hr_HR.utf8/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/fr_FR.utf8 570s /tmp/tmp.ArpkzgZnEb/fr_FR.utf8/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/fr_FR.utf8/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/fr_FR.utf8/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/fr_FR.utf8/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/fr_FR.utf8/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/fr_FR.utf8/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/fr_FR.utf8/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/fr_FR.utf8/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/fr_FR.utf8/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/fr_FR.utf8/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/fr_FR.utf8/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/fr_FR.utf8/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/tt_RU.utf8 570s /tmp/tmp.ArpkzgZnEb/tt_RU.utf8/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/tt_RU.utf8/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/tt_RU.utf8/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/tt_RU.utf8/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/tt_RU.utf8/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/tt_RU.utf8/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/tt_RU.utf8/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/tt_RU.utf8/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/tt_RU.utf8/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/tt_RU.utf8/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/tt_RU.utf8/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/tt_RU.utf8/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/el_GR.utf8 570s /tmp/tmp.ArpkzgZnEb/el_GR.utf8/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/el_GR.utf8/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/el_GR.utf8/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/el_GR.utf8/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/el_GR.utf8/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/el_GR.utf8/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/el_GR.utf8/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/el_GR.utf8/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/el_GR.utf8/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/el_GR.utf8/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/el_GR.utf8/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/el_GR.utf8/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/pl_PL.iso88592 570s /tmp/tmp.ArpkzgZnEb/pl_PL.iso88592/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/pl_PL.iso88592/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/pl_PL.iso88592/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/pl_PL.iso88592/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/pl_PL.iso88592/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/pl_PL.iso88592/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/pl_PL.iso88592/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/pl_PL.iso88592/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/pl_PL.iso88592/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/pl_PL.iso88592/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/pl_PL.iso88592/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/pl_PL.iso88592/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/lt_LT.utf8 570s /tmp/tmp.ArpkzgZnEb/lt_LT.utf8/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/lt_LT.utf8/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/lt_LT.utf8/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/lt_LT.utf8/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/lt_LT.utf8/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/lt_LT.utf8/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/lt_LT.utf8/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/lt_LT.utf8/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/lt_LT.utf8/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/lt_LT.utf8/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/lt_LT.utf8/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/lt_LT.utf8/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/tr_TR.utf8 570s /tmp/tmp.ArpkzgZnEb/tr_TR.utf8/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/tr_TR.utf8/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/tr_TR.utf8/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/tr_TR.utf8/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/tr_TR.utf8/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/tr_TR.utf8/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/tr_TR.utf8/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/tr_TR.utf8/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/tr_TR.utf8/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/tr_TR.utf8/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/tr_TR.utf8/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/tr_TR.utf8/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/pl_PL 570s /tmp/tmp.ArpkzgZnEb/pl_PL/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/pl_PL/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/pl_PL/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/pl_PL/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/pl_PL/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/pl_PL/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/pl_PL/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/pl_PL/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/pl_PL/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/pl_PL/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/pl_PL/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/pl_PL/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/sv_SE.utf8 570s /tmp/tmp.ArpkzgZnEb/sv_SE.utf8/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/sv_SE.utf8/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/sv_SE.utf8/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/sv_SE.utf8/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/sv_SE.utf8/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/sv_SE.utf8/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/sv_SE.utf8/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/sv_SE.utf8/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/sv_SE.utf8/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/sv_SE.utf8/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/sv_SE.utf8/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/sv_SE.utf8/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/en_US 570s /tmp/tmp.ArpkzgZnEb/en_US/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/en_US/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/en_US/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/en_US/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/en_US/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/en_US/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/en_US/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/en_US/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/en_US/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/en_US/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/en_US/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/en_US/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/en_US/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/pl_PL.utf8 570s /tmp/tmp.ArpkzgZnEb/pl_PL.utf8/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/pl_PL.utf8/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/pl_PL.utf8/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/pl_PL.utf8/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/pl_PL.utf8/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/pl_PL.utf8/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/pl_PL.utf8/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/pl_PL.utf8/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/pl_PL.utf8/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/pl_PL.utf8/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/pl_PL.utf8/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/pl_PL.utf8/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/es_ES.utf8 570s /tmp/tmp.ArpkzgZnEb/es_ES.utf8/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/es_ES.utf8/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/es_ES.utf8/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/es_ES.utf8/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/es_ES.utf8/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/es_ES.utf8/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/es_ES.utf8/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/es_ES.utf8/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/es_ES.utf8/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/es_ES.utf8/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/es_ES.utf8/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/es_ES.utf8/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/sv_SE 570s /tmp/tmp.ArpkzgZnEb/sv_SE/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/sv_SE/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/sv_SE/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/sv_SE/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/sv_SE/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/sv_SE/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/sv_SE/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/sv_SE/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/sv_SE/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/sv_SE/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/sv_SE/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/sv_SE/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/ru_RU 570s /tmp/tmp.ArpkzgZnEb/ru_RU/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/ru_RU/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/ru_RU/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/ru_RU/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/ru_RU/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/ru_RU/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/ru_RU/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/ru_RU/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/ru_RU/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/ru_RU/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/ru_RU/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/ru_RU/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/tr_TR 570s /tmp/tmp.ArpkzgZnEb/tr_TR/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/tr_TR/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/tr_TR/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/tr_TR/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/tr_TR/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/tr_TR/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/tr_TR/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/tr_TR/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/tr_TR/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/tr_TR/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/tr_TR/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/tr_TR/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/ja_JP.utf8 570s /tmp/tmp.ArpkzgZnEb/ja_JP.utf8/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/ja_JP.utf8/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/ja_JP.utf8/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/ja_JP.utf8/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/ja_JP.utf8/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/ja_JP.utf8/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/ja_JP.utf8/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/ja_JP.utf8/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/ja_JP.utf8/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/ja_JP.utf8/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/ja_JP.utf8/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/ja_JP.utf8/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/en_GB 570s /tmp/tmp.ArpkzgZnEb/en_GB/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/en_GB/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/en_GB/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/en_GB/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/en_GB/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/en_GB/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/en_GB/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/en_GB/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/en_GB/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/en_GB/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/en_GB/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/en_GB/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/ru_RU.utf8 570s /tmp/tmp.ArpkzgZnEb/ru_RU.utf8/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/ru_RU.utf8/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/ru_RU.utf8/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/ru_RU.utf8/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/ru_RU.utf8/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/ru_RU.utf8/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/ru_RU.utf8/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/ru_RU.utf8/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/ru_RU.utf8/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/ru_RU.utf8/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/ru_RU.utf8/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/ru_RU.utf8/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/de_DE@euro.utf8 570s /tmp/tmp.ArpkzgZnEb/de_DE@euro.utf8/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/de_DE@euro.utf8/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/de_DE@euro.utf8/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/de_DE@euro.utf8/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/de_DE@euro.utf8/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/de_DE@euro.utf8/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/de_DE@euro.utf8/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/de_DE@euro.utf8/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/de_DE@euro.utf8/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/de_DE@euro.utf8/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/de_DE@euro.utf8/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/de_DE@euro.utf8/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/en_GB.utf8 570s /tmp/tmp.ArpkzgZnEb/en_GB.utf8/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/en_GB.utf8/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/en_GB.utf8/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/en_GB.utf8/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/en_GB.utf8/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/en_GB.utf8/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/en_GB.utf8/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/en_GB.utf8/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/en_GB.utf8/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/en_GB.utf8/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/en_GB.utf8/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/en_GB.utf8/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/sr_RS@latin 570s /tmp/tmp.ArpkzgZnEb/sr_RS@latin/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/sr_RS@latin/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/sr_RS@latin/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/sr_RS@latin/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/sr_RS@latin/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/sr_RS@latin/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/sr_RS@latin/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/sr_RS@latin/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/sr_RS@latin/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/sr_RS@latin/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/sr_RS@latin/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/sr_RS@latin/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/ja_JP.eucjp 570s /tmp/tmp.ArpkzgZnEb/ja_JP.eucjp/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/ja_JP.eucjp/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/ja_JP.eucjp/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/ja_JP.eucjp/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/ja_JP.eucjp/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/ja_JP.eucjp/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/ja_JP.eucjp/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/ja_JP.eucjp/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/ja_JP.eucjp/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/ja_JP.eucjp/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/ja_JP.eucjp/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/ja_JP.eucjp/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/fa_IR 570s /tmp/tmp.ArpkzgZnEb/fa_IR/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/fa_IR/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/fa_IR/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/fa_IR/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/fa_IR/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/fa_IR/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/fa_IR/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/fa_IR/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/fa_IR/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/fa_IR/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/fa_IR/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/fa_IR/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/de_DE 570s /tmp/tmp.ArpkzgZnEb/de_DE/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/de_DE/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/de_DE/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/de_DE/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/de_DE/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/de_DE/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/de_DE/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/de_DE/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/de_DE/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/de_DE/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/de_DE/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/de_DE/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/tt_RU@iqtelif 570s /tmp/tmp.ArpkzgZnEb/tt_RU@iqtelif/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/tt_RU@iqtelif/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/tt_RU@iqtelif/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/tt_RU@iqtelif/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/tt_RU@iqtelif/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/tt_RU@iqtelif/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/tt_RU@iqtelif/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/tt_RU@iqtelif/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/tt_RU@iqtelif/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/tt_RU@iqtelif/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/tt_RU@iqtelif/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/tt_RU@iqtelif/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/tt_RU 570s /tmp/tmp.ArpkzgZnEb/tt_RU/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/tt_RU/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/tt_RU/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/tt_RU/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/tt_RU/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/tt_RU/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/tt_RU/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/tt_RU/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/tt_RU/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/tt_RU/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/tt_RU/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/tt_RU/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/fa_IR.utf8 570s /tmp/tmp.ArpkzgZnEb/fa_IR.utf8/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/fa_IR.utf8/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/fa_IR.utf8/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/fa_IR.utf8/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/fa_IR.utf8/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/fa_IR.utf8/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/fa_IR.utf8/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/fa_IR.utf8/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/fa_IR.utf8/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/fa_IR.utf8/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/fa_IR.utf8/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/fa_IR.utf8/LC_PAPER 570s /tmp/tmp.ArpkzgZnEb/en_US.utf8 570s /tmp/tmp.ArpkzgZnEb/en_US.utf8/LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 570s /tmp/tmp.ArpkzgZnEb/en_US.utf8/LC_MONETARY 570s /tmp/tmp.ArpkzgZnEb/en_US.utf8/LC_CTYPE 570s /tmp/tmp.ArpkzgZnEb/en_US.utf8/LC_TIME 570s /tmp/tmp.ArpkzgZnEb/en_US.utf8/LC_TELEPHONE 570s /tmp/tmp.ArpkzgZnEb/en_US.utf8/LC_IDENTIFICATION 570s /tmp/tmp.ArpkzgZnEb/en_US.utf8/LC_COLLATE 570s /tmp/tmp.ArpkzgZnEb/en_US.utf8/LC_ADDRESS 570s /tmp/tmp.ArpkzgZnEb/en_US.utf8/LC_NUMERIC 570s /tmp/tmp.ArpkzgZnEb/en_US.utf8/LC_MEASUREMENT 570s /tmp/tmp.ArpkzgZnEb/en_US.utf8/LC_NAME 570s /tmp/tmp.ArpkzgZnEb/en_US.utf8/LC_PAPER 570s TAP version 14 570s # random seed: R02S17d943eaa909f2ee45a9c21cf781a2f5 570s 1..1 570s # Start of null-settings-backend tests 570s ok 1 /null-settings-backend/extension-point-registered 570s # End of null-settings-backend tests 570s TAP version 14 570s # random seed: R02S397654ea4dd62f6410713bc285fbaac8 570s 1..5 570s # Start of async-splice tests 570s ok 1 /async-splice/copy-chunks 570s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 570s ok 2 /async-splice/copy-chunks-threaded-input 570s ok 3 /async-splice/copy-chunks-threaded-output 570s ok 4 /async-splice/copy-chunks-threaded 570s ok 5 /async-splice/cancelled 570s # End of async-splice tests 570s TAP version 14 570s # random seed: R02S2136453451edc325763825cba96a8c40 570s 1..2 570s # Start of glib tests 570s # Start of 1bit-mutex tests 570s 1..332 570s # Running test: glib/null-settings-backend.test 570s ok - glib/null-settings-backend.test 570s # Running test: glib/async-splice-output-stream.test 570s ok - glib/async-splice-output-stream.test 570s # Running test: glib/1bit-mutex.test 574s ok 1 /glib/1bit-mutex/int 574s # slow test /glib/1bit-mutex/int executed in 3.82 secs 575s # Executing: glib/1bit-mutex.test 578s ok - glib/1bit-mutex.test 578s # Running test: glib/charset.test 578s ok 2 /glib/1bit-mutex/pointer 578s # slow test /glib/1bit-mutex/pointer executed in 3.84 secs 578s # End of 1bit-mutex tests 578s # End of glib tests 578s TAP version 14 578s # random seed: R02S591bc32e2cb0d7f3a09b65390f85c3a1 578s 1..2 578s # Start of charset tests 578s # Test 0 578s # Test 1 578s # Test 2 578s # Test 3 578s ok 1 /charset/language_names_with_category 578s ok - glib/charset.test 578s # Running test: glib/binding.test 578s ok 2 /charset/language_names_with_category_async 578s # End of charset tests 578s TAP version 14 578s ok - glib/binding.test 578s # Running test: glib/option-context.test 578s # random seed: R02S631b72cc33b02133ebf3318305a3663d 578s 1..19 578s # Start of binding tests 578s ok 1 /binding/default 578s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 578s ok 2 /binding/canonicalisation 578s ok 3 /binding/bidirectional 578s ok 4 /binding/transform 578s ok 5 /binding/transform-default 578s ok 6 /binding/transform-closure 578s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 578s ok 7 /binding/chain 578s ok 8 /binding/sync-create 578s ok 9 /binding/invert-boolean 578s ok 10 /binding/same-object 578s ok 11 /binding/unbind 578s ok 12 /binding/unbind-weak 578s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 578s ok 13 /binding/unbind-multiple 578s ok 14 /binding/fail 578s ok 15 /binding/interface 578s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 578s ok 16 /binding/concurrent-unbind 578s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 578s ok 17 /binding/concurrent-finalizing 578s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 578s ok 18 /binding/dispose-source 578s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 578s ok 19 /binding/dispose-target 578s # End of binding tests 578s TAP version 14 578s # random seed: R02S4fd196ca0e1eae6b96c82706a44e4c1f 578s 1..61 578s # Start of option tests 578s ok 1 /option/basic 578s ok 2 /option/translate 578s ok 3 /option/strict-posix 578s # Testing command: program --double abc 578s # Testing command: program --double 2e309 578s # Testing command: program --int abc 578s # Testing command: program --int 99999999999999999999999999999999999 578s # Testing command: program --int64 abc 578s # Testing command: program --int64 99999999999999999999999999999999999 578s ok 4 /option/parsing-errors 578s # Start of help tests 578s ok 5 /option/help/options 578s ok 6 /option/help/no-options 578s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 578s ok 7 /option/help/no-help-options 578s # Usage: 578s # /usr/libexec/installed-tests/glib/option-context [OPTION…] blabla 578s # 578s # Summary 578s # 578s # Help Options: 578s # -h, --help Show help options 578s # 578s # Application Options: 578s # -t, --test=Argument to use in test (deprecated) Test tests 578s # --test2 Tests also 578s # 578s # Description 578s # 578s ok 8 /option/help/deprecated 578s ok 9 /option/help/main-get_help-format 578s ok 10 /option/help/group-get_help-format 578s # End of help tests 578s # Start of group tests 578s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 578s ok - glib/option-context.test 578s # Running test: glib/gnotification.test 578s ok 11 /option/group/captions 578s ok 12 /option/group/main 578s ok 13 /option/group/error-hook 578s ok 14 /option/group/parse 578s # Start of captions tests 578s # Start of subprocess tests 578s # End of subprocess tests 578s # End of captions tests 578s # End of group tests 578s # Start of restoration tests 578s ok 15 /option/restoration/int 578s ok 16 /option/restoration/string 578s ok 17 /option/restoration/boolean 578s # End of restoration tests 578s # Start of arg tests 578s ok 18 /option/arg/reverse-string 578s ok 19 /option/arg/optional-int 578s # Start of repetition tests 578s ok 20 /option/arg/repetition/int 578s ok 21 /option/arg/repetition/string 578s ok 22 /option/arg/repetition/filename 578s ok 23 /option/arg/repetition/double 578s ok 24 /option/arg/repetition/locale 578s ok 25 /option/arg/repetition/int64 578s # End of repetition tests 578s # Start of array tests 578s ok 26 /option/arg/array/string 578s # End of array tests 578s # Start of callback tests 578s ok 27 /option/arg/callback/string 578s ok 28 /option/arg/callback/count 578s ok 29 /option/arg/callback/optional1 578s ok 30 /option/arg/callback/optional2 578s ok 31 /option/arg/callback/optional3 578s ok 32 /option/arg/callback/optional4 578s ok 33 /option/arg/callback/optional5 578s ok 34 /option/arg/callback/optional6 578s ok 35 /option/arg/callback/optional7 578s ok 36 /option/arg/callback/optional8 578s # End of callback tests 578s # Start of remaining tests 578s ok 37 /option/arg/remaining/callback 578s ok 38 /option/arg/remaining/callback-false 578s ok 39 /option/arg/remaining/non-option 578s ok 40 /option/arg/remaining/separator 578s ok 41 /option/arg/remaining/array 578s # End of remaining tests 578s # Start of ignore tests 578s ok 42 /option/arg/ignore/long 578s ok 43 /option/arg/ignore/short 578s ok 44 /option/arg/ignore/arg 578s # End of ignore tests 578s # Start of rest tests 578s ok 45 /option/arg/rest/non-option 578s ok 46 /option/arg/rest/separator1 578s ok 47 /option/arg/rest/separator2 578s ok 48 /option/arg/rest/separator3 578s ok 49 /option/arg/rest/separator4 578s ok 50 /option/arg/rest/separator5 578s # End of rest tests 578s # End of arg tests 578s # Start of context tests 578s ok 51 /option/context/add 578s ok 52 /option/context/empty2 578s ok 53 /option/context/empty3 578s # End of context tests 578s # Start of bug tests 578s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 578s ok 54 /option/bug/unknown-short 578s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 578s ok 55 /option/bug/lonely-dash 578s ok 56 /option/bug/triple-dash 578s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 578s ok 57 /option/bug/missing-arg 578s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 578s ok 58 /option/bug/dash-arg 578s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 578s ok 59 /option/bug/short-remaining 578s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 578s ok 60 /option/bug/double-free 578s ok 61 /option/bug/double-zero 578s # End of bug tests 578s # End of option tests 578s TAP version 14 578s # random seed: R02S1492f66a0a39917dd7d784de51f1f191 578s 1..2 578s # Start of gnotification tests 578s ok - glib/gnotification.test 578s ok 1 /gnotification/basic 578s ok 2 /gnotification/properties 578s # End of gnotification tests 578s # Running test: glib/utils-c-11.test 578s TAP version 14 578s # random seed: R02Sabc511e603eeeec88e8588b27202572b 578s 1..41 578s # Start of utils tests 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/language-names/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/language-names/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/language-names/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/language-names/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/language-names/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/language-names/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/language-names/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/language-names/.dirs/runtime 578s ok 1 /utils/language-names 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/locale-variants/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/locale-variants/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/locale-variants/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/locale-variants/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/locale-variants/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/locale-variants/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/locale-variants/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/locale-variants/.dirs/runtime 578s # Testing locale ‘en’ 578s # Testing locale ‘sr@latin’ 578s # Testing locale ‘fr_BE’ 578s # Testing locale ‘sr_SR@latin’ 578s # Testing locale ‘sr_SR@latin.UTF-8’ 578s # Testing locale ‘sr@latin_invalid’ 578s # Testing locale ‘sr.UTF-8@latin’ 578s # Testing locale ‘sr.UTF-8_latin’ 578s # Testing locale ‘sr.UTF-8@latin_invalid’ 578s ok 2 /utils/locale-variants 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/version/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/version/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/version/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/version/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/version/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/version/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/version/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/version/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/version/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/version/.dirs/runtime 578s ok 3 /utils/version 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/appname/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/appname/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/appname/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/appname/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/appname/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/appname/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/appname/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/appname/.dirs/runtime 578s ok 4 /utils/appname 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/prgname-thread-safety/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/prgname-thread-safety/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/prgname-thread-safety/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/prgname-thread-safety/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/prgname-thread-safety/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/prgname-thread-safety/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/prgname-thread-safety/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/prgname-thread-safety/.dirs/runtime 578s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 578s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 578s ok 5 /utils/prgname-thread-safety 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/tmpdir/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/tmpdir/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/tmpdir/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/tmpdir/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/tmpdir/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/tmpdir/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/tmpdir/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/tmpdir/.dirs/runtime 578s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 578s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 578s Unable to clean up temporary directory /tmp/test_utils-c-11_7G3TJ3/utils/tmpdir: No such file or directory 578s ok 6 /utils/tmpdir 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/basic_bits/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/basic_bits/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/basic_bits/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/basic_bits/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/basic_bits/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/basic_bits/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/basic_bits/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/basic_bits/.dirs/runtime 578s ok 7 /utils/basic_bits 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/bits/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/bits/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/bits/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/bits/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/bits/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/bits/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/bits/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/bits/.dirs/runtime 578s ok 8 /utils/bits 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/swap/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/swap/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/swap/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/swap/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/swap/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/swap/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/swap/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/swap/.dirs/runtime 578s ok 9 /utils/swap 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/find-program/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/find-program/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/find-program/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/find-program/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/find-program/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/find-program/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/find-program/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/find-program/.dirs/runtime 578s ok 10 /utils/find-program 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/find-program-for-path/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/find-program-for-path/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/find-program-for-path/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/find-program-for-path/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/find-program-for-path/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/find-program-for-path/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/find-program-for-path/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/find-program-for-path/.dirs/runtime 578s ok 11 /utils/find-program-for-path 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/debug/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/debug/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/debug/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/debug/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/debug/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/debug/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/debug/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/debug/.dirs/runtime 578s Unable to clean up temporary directory /tmp/test_utils-c-11_7G3TJ3/utils/debug: No such file or directory 578s ok 12 /utils/debug 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/codeset/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/codeset/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/codeset/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/codeset/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/codeset/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/codeset/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/codeset/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/codeset/.dirs/runtime 578s ok 13 /utils/codeset 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/codeset2/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/codeset2/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/codeset2/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/codeset2/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/codeset2/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/codeset2/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/codeset2/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/codeset2/.dirs/runtime 578s Unable to clean up temporary directory /tmp/test_utils-c-11_7G3TJ3/utils/codeset2: No such file or directory 578s ok 14 /utils/codeset2 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/console-charset/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/console-charset/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/console-charset/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/console-charset/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/console-charset/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/console-charset/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/console-charset/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/console-charset/.dirs/runtime 578s ok 15 /utils/console-charset 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/gettext/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/gettext/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/gettext/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/gettext/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/gettext/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/gettext/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/gettext/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/gettext/.dirs/runtime 578s ok 16 /utils/gettext 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/username/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/username/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/username/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/username/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/username/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/username/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/username/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/username/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/username/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/username/.dirs/runtime 578s ok 17 /utils/username 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/realname/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/realname/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/realname/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/realname/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/realname/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/realname/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/realname/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/realname/.dirs/runtime 578s ok 18 /utils/realname 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/hostname/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/hostname/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/hostname/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/hostname/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/hostname/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/hostname/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/hostname/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/hostname/.dirs/runtime 578s ok 19 /utils/hostname 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/os-info/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/os-info/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/os-info/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/os-info/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/os-info/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/os-info/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/os-info/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/os-info/.dirs/runtime 578s # NAME: Ubuntu 578s ok 20 /utils/os-info 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/.dirs/runtime 578s ok 21 /utils/clear-pointer 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer-cast/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer-cast/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer-cast/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer-cast/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer-cast/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer-cast/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer-cast/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer-cast/.dirs/runtime 578s ok 22 /utils/clear-pointer-cast 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/take-pointer/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/take-pointer/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/take-pointer/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/take-pointer/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/take-pointer/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/take-pointer/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/take-pointer/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/take-pointer/.dirs/runtime 578s ok 23 /utils/take-pointer 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-source/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-source/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/clear-source/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-source/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/clear-source/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-source/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-source/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/clear-source/.dirs/runtime 578s ok 24 /utils/clear-source 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/misc-mem/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/misc-mem/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/misc-mem/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/misc-mem/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/misc-mem/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/misc-mem/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/misc-mem/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/misc-mem/.dirs/runtime 578s ok 25 /utils/misc-mem 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/.dirs/runtime 578s # /utils/aligned-mem summary: Aligned memory allocator 578s # Alignment must not be zero 578s # Alignment must be a power of two 578s # Alignment must be a multiple of sizeof(void*) 578s ok 26 /utils/aligned-mem 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/free-sized/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/free-sized/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/free-sized/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/free-sized/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/free-sized/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/free-sized/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/free-sized/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/free-sized/.dirs/runtime 578s # /utils/free-sized summary: Check that g_free_sized() works 578s ok 27 /utils/free-sized 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/nullify/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/nullify/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/nullify/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/nullify/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/nullify/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/nullify/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/nullify/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/nullify/.dirs/runtime 578s ok 28 /utils/nullify 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/atexit/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/atexit/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/atexit/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/atexit/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/atexit/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/atexit/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/atexit/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/atexit/.dirs/runtime 578s Unable to clean up temporary directory /tmp/test_utils-c-11_7G3TJ3/utils/atexit: No such file or directory 578s ok 29 /utils/atexit 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/check-setuid/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/check-setuid/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/check-setuid/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/check-setuid/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/check-setuid/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/check-setuid/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/check-setuid/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/check-setuid/.dirs/runtime 578s ok 30 /utils/check-setuid 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/int-limits/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/int-limits/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/int-limits/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/int-limits/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/int-limits/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/int-limits/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/int-limits/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/int-limits/.dirs/runtime 578s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 578s ok 31 /utils/int-limits 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-list/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-list/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/clear-list/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-list/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/clear-list/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-list/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-list/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/clear-list/.dirs/runtime 578s ok 32 /utils/clear-list 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-slist/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-slist/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/clear-slist/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-slist/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/clear-slist/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-slist/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-slist/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/clear-slist/.dirs/runtime 578s ok 33 /utils/clear-slist 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/steal-handle-id/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/steal-handle-id/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/steal-handle-id/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/steal-handle-id/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/steal-handle-id/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/steal-handle-id/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/steal-handle-id/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/steal-handle-id/.dirs/runtime 578s ok 34 /utils/steal-handle-id 578s # Start of user-special-dirs tests 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/desktop/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/desktop/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/desktop/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/desktop/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/desktop/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/desktop/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/desktop/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/desktop/.dirs/runtime 578s ok 35 /utils/user-special-dirs/desktop 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/load-unlocked/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/load-unlocked/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/load-unlocked/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/load-unlocked/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 578s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 578s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 578s Unable to clean up temporary directory /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/load-unlocked: No such file or directory 578s ok 36 /utils/user-special-dirs/load-unlocked 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/reload-leaks/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/reload-leaks/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/reload-leaks/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/reload-leaks/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 578s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 578s Unable to clean up temporary directory /tmp/test_utils-c-11_7G3TJ3/utils/user-special-dirs/reload-leaks: No such file or directory 578s ok 37 /utils/user-special-dirs/reload-leaks 578s # End of user-special-dirs tests 578s # Start of clear-pointer tests 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/side-effects/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/side-effects/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/side-effects/.dirs/system-config2 578s ok - glib/utils-c-11.test 578s # Running test: glib/gsubprocess.test 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/side-effects/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/side-effects/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/side-effects/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/side-effects/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/clear-pointer/side-effects/.dirs/runtime 578s ok 38 /utils/clear-pointer/side-effects 578s # End of clear-pointer tests 578s # Start of aligned-mem tests 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/alignment/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/alignment/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/alignment/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/alignment/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/alignment/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/alignment/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/alignment/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/alignment/.dirs/runtime 578s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 578s ok 39 /utils/aligned-mem/alignment 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/zeroed/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/zeroed/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/zeroed/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/zeroed/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/zeroed/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/zeroed/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/zeroed/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/zeroed/.dirs/runtime 578s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 578s ok 40 /utils/aligned-mem/zeroed 578s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/free-sized/.dirs/home 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/free-sized/.dirs/cache 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/free-sized/.dirs/system-config2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/free-sized/.dirs/config 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/free-sized/.dirs/system-data2 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/free-sized/.dirs/data 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/free-sized/.dirs/state 578s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_7G3TJ3/utils/aligned-mem/free-sized/.dirs/runtime 578s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 578s ok 41 /utils/aligned-mem/free-sized 578s # Start of subprocess tests 578s # End of subprocess tests 578s # End of aligned-mem tests 578s # End of utils tests 578s TAP version 14 578s # random seed: R02S6445f87456b427de9ebb8d903e965bcb 578s 1..84 578s # Start of gsubprocess tests 578s ok 1 /gsubprocess/noop 578s ok 2 /gsubprocess/noop-all-to-null 578s ok 3 /gsubprocess/noop-no-wait 578s ok 4 /gsubprocess/noop-stdin-inherit 578s ok 5 /gsubprocess/search-path 578s ok 6 /gsubprocess/search-path-from-envp 580s # Executing: glib/gsubprocess.test 581s ok 7 /gsubprocess/signal 581s # slow test /gsubprocess/signal executed in 3.18 secs 581s ok 8 /gsubprocess/exit1 581s ok 9 /gsubprocess/echo1 581s ok 10 /gsubprocess/echo-merged 581s ok 11 /gsubprocess/cat-utf8 582s ok 12 /gsubprocess/cat-eof 582s # slow test /gsubprocess/cat-eof executed in 1.00 secs 585s # Executing: glib/gsubprocess.test 585s ok 13 /gsubprocess/multi1 585s # slow test /gsubprocess/multi1 executed in 3.01 secs 585s ok 14 /gsubprocess/communicate 588s ok 15 /gsubprocess/terminate 588s # slow test /gsubprocess/terminate executed in 2.98 secs 588s ok 16 /gsubprocess/fail-initialization 588s ok 17 /gsubprocess/env 588s ok 18 /gsubprocess/cwd 588s ok 19 /gsubprocess/launcher-close 588s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 588s ok 20 /gsubprocess/stdout-file 588s ok 21 /gsubprocess/stdout-fd 588s ok 22 /gsubprocess/child-setup 588s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 588s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 588s ok 23 /gsubprocess/launcher-environment 588s # Start of exit1 tests 588s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 588s ok 24 /gsubprocess/exit1/cancel 588s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 588s ok 25 /gsubprocess/exit1/cancel_in_cb 588s # End of exit1 tests 588s # Start of communicate tests 588s ok 26 /gsubprocess/communicate/cancelled 588s ok 27 /gsubprocess/communicate/async 588s ok 28 /gsubprocess/communicate/utf8 588s # hello world 588s ok 29 /gsubprocess/communicate/no-pipes 588s ok 30 /gsubprocess/communicate/separate-stderr 588s ok 31 /gsubprocess/communicate/stdout-only 588s # hello world 588s ok 32 /gsubprocess/communicate/stderr-only 588s ok 33 /gsubprocess/communicate/stdout-silence 588s ok 34 /gsubprocess/communicate/nothing 588s # Start of async tests 588s ok 35 /gsubprocess/communicate/async/cancelled 588s # hello world 588s ok 36 /gsubprocess/communicate/async/no-pipes 588s ok 37 /gsubprocess/communicate/async/separate-stderr 588s ok 38 /gsubprocess/communicate/async/stdout-only 588s # hello world 588s ok 39 /gsubprocess/communicate/async/stderr-only 588s ok 40 /gsubprocess/communicate/async/stdout-silence 588s # Start of cancelled tests 588s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 588s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 588s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 588s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 588s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 588s # End of cancelled tests 588s # End of async tests 588s # Start of utf8 tests 588s ok 46 /gsubprocess/communicate/utf8/cancelled 588s ok 47 /gsubprocess/communicate/utf8/async 588s # hello world 588s ok 48 /gsubprocess/communicate/utf8/no-pipes 588s ok 49 /gsubprocess/communicate/utf8/separate-stderr 588s ok 50 /gsubprocess/communicate/utf8/stdout-only 588s # hello world 588s ok 51 /gsubprocess/communicate/utf8/stderr-only 588s ok 52 /gsubprocess/communicate/utf8/stdout-silence 588s ok 53 /gsubprocess/communicate/utf8/invalid 588s # Start of async tests 588s ok 54 /gsubprocess/communicate/utf8/async/cancelled 588s # hello world 588s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 588s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 588s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 588s # hello world 588s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 588s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 588s ok 60 /gsubprocess/communicate/utf8/async/invalid 588s # Start of cancelled tests 588s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 588s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 588s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 588s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 588s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 588s # End of cancelled tests 588s # End of async tests 588s # Start of cancelled tests 588s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 588s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 588s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 588s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 588s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 588s # End of cancelled tests 588s # End of utf8 tests 588s # Start of cancelled tests 588s ok 71 /gsubprocess/communicate/cancelled/no-pipes 588s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 588s ok 73 /gsubprocess/communicate/cancelled/stdout-only 588s ok 74 /gsubprocess/communicate/cancelled/stderr-only 588s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 588s # End of cancelled tests 588s # End of communicate tests 588s # Start of env tests 588s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 588s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 588s ok 76 /gsubprocess/env/inherit 588s # End of env tests 588s # Start of pass-fd tests 588s ok 77 /gsubprocess/pass-fd/basic 588s ok 78 /gsubprocess/pass-fd/empty-child-setup 588s ok 79 /gsubprocess/pass-fd/inherit-fds 588s # End of pass-fd tests 588s # Start of fd-conflation tests 588s ok 80 /gsubprocess/fd-conflation/basic 588s ok 81 /gsubprocess/fd-conflation/empty-child-setup 588s ok 82 /gsubprocess/fd-conflation/inherit-fds 588s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 588s # End of fd-conflation tests 588s # Start of exit-status tests 588s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 588s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 588s ok 84 /gsubprocess/exit-status/trapped 588s # End of exit-status tests 588s # End of gsubprocess tests 588s ok - glib/gsubprocess.test 588s # Running test: glib/gdbus-bz627724.test 588s TAP version 14 588s # random seed: R02Sab363673d6a6404156dc8b0c586085cd 588s 1..1 588s # Start of gdbus tests 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_PSI0J3/gdbus/bz627724/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_PSI0J3/gdbus/bz627724/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_PSI0J3/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_PSI0J3/gdbus/bz627724/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_PSI0J3/gdbus/bz627724/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_PSI0J3/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_PSI0J3/gdbus/bz627724/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_PSI0J3/gdbus/bz627724/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_PSI0J3/gdbus/bz627724/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_PSI0J3/gdbus/bz627724/.dirs/runtime 588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 588s ok 1 /gdbus/bz627724 588s # End of gdbus tests 588s ok - glib/gdbus-bz627724.test 588s # Running test: glib/file.test 588s TAP version 14 588s # random seed: R02Se01fe70d4378b796f481f0959ffdd464 588s 1..55 588s # Start of file tests 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/basic/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/basic/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/basic/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/basic/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/basic/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/basic/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/basic/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/basic/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/basic/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/basic/.dirs/runtime 588s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 588s ok 1 /file/basic 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/build-filename/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/build-filename/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/build-filename/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/build-filename/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/build-filename/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/build-filename/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/build-filename/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/build-filename/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/build-filename/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/build-filename/.dirs/runtime 588s ok 2 /file/build-filename 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/build-filenamev/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/build-filenamev/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/build-filenamev/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/build-filenamev/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/build-filenamev/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/build-filenamev/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/build-filenamev/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/build-filenamev/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/build-filenamev/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/build-filenamev/.dirs/runtime 588s ok 3 /file/build-filenamev 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/parent/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/parent/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/parent/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/parent/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/parent/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/parent/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/parent/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/parent/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/parent/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/parent/.dirs/runtime 588s ok 4 /file/parent 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/child/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/child/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/child/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/child/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/child/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/child/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/child/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/child/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/child/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/child/.dirs/runtime 588s ok 5 /file/child 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/empty-path/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/empty-path/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/empty-path/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/empty-path/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/empty-path/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/empty-path/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/empty-path/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/empty-path/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/empty-path/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/empty-path/.dirs/runtime 588s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 588s # /file/empty-path summary: Check that creating a file with an empty path results in errors 588s ok 6 /file/empty-path 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/type/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/type/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/type/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/type/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/type/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/type/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/type/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/type/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/type/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/type/.dirs/runtime 588s ok 7 /file/type 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/parse-name/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/parse-name/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/parse-name/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/parse-name/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/parse-name/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/parse-name/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/parse-name/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/parse-name/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/parse-name/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/parse-name/.dirs/runtime 588s ok 8 /file/parse-name 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/replace-load/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/replace-load/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/replace-load/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/replace-load/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/replace-load/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/replace-load/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/replace-load/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/replace-load/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/replace-load/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/replace-load/.dirs/runtime 588s ok 9 /file/replace-load 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/replace-cancel/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/replace-cancel/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/replace-cancel/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/replace-cancel/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/replace-cancel/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/replace-cancel/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/replace-cancel/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/replace-cancel/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/replace-cancel/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/replace-cancel/.dirs/runtime 588s # Bug Reference: https://bugzilla.gnome.org/629301 588s ok 10 /file/replace-cancel 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/replace-symlink/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/replace-symlink/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/replace-symlink/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/replace-symlink/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/replace-symlink/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/replace-symlink/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/replace-symlink/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/replace-symlink/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/replace-symlink/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/replace-symlink/.dirs/runtime 588s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 588s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 588s # Using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_symlink_RD5ZJ3 588s ok 11 /file/replace-symlink 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/async-new-tmp/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/async-new-tmp/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/async-new-tmp/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/async-new-tmp/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/async-new-tmp/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/async-new-tmp/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/async-new-tmp/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/async-new-tmp/.dirs/runtime 588s ok 12 /file/async-new-tmp 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/async-new-tmp-dir/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/async-new-tmp-dir/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/async-new-tmp-dir/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/async-new-tmp-dir/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/async-new-tmp-dir/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/async-new-tmp-dir/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/async-new-tmp-dir/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/async-new-tmp-dir/.dirs/runtime 588s ok 13 /file/async-new-tmp-dir 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/async-delete/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/async-delete/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/async-delete/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/async-delete/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/async-delete/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/async-delete/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/async-delete/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/async-delete/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/async-delete/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/async-delete/.dirs/runtime 588s ok 14 /file/async-delete 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/async-make-symlink/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/async-make-symlink/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/async-make-symlink/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/async-make-symlink/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/async-make-symlink/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/async-make-symlink/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/async-make-symlink/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/async-make-symlink/.dirs/runtime 588s ok 15 /file/async-make-symlink 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/copy-preserve-mode/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/copy-preserve-mode/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/copy-preserve-mode/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/copy-preserve-mode/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/copy-preserve-mode/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/copy-preserve-mode/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/copy-preserve-mode/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/copy-preserve-mode/.dirs/runtime 588s # Current umask: 2 588s # Vector 0 588s # Vector 1 588s # Vector 2 588s # Vector 3 588s # Vector 4 588s # Vector 5 588s # Vector 6 588s # Vector 7 588s # Vector 8 588s # Vector 9 588s # Vector 10 588s ok 16 /file/copy-preserve-mode 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/copy-async-with-closures/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/copy-async-with-closures/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/copy-async-with-closures/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/copy-async-with-closures/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/copy-async-with-closures/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/copy-async-with-closures/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/copy-async-with-closures/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/copy-async-with-closures/.dirs/runtime 588s ok 17 /file/copy-async-with-closures 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/measure/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/measure/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/measure/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/measure/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/measure/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/measure/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/measure/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/measure/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/measure/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/measure/.dirs/runtime 588s ok 18 /file/measure 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/measure-async/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/measure-async/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/measure-async/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/measure-async/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/measure-async/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/measure-async/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/measure-async/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/measure-async/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/measure-async/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/measure-async/.dirs/runtime 588s ok 19 /file/measure-async 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/load-bytes/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/load-bytes/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/load-bytes/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/load-bytes/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/load-bytes/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/load-bytes/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/load-bytes/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/load-bytes/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/load-bytes/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/load-bytes/.dirs/runtime 588s ok 20 /file/load-bytes 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/load-bytes-async/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/load-bytes-async/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/load-bytes-async/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/load-bytes-async/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/load-bytes-async/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/load-bytes-async/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/load-bytes-async/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/load-bytes-async/.dirs/runtime 588s ok 21 /file/load-bytes-async 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/load-bytes-4gb/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/load-bytes-4gb/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/load-bytes-4gb/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/load-bytes-4gb/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/load-bytes-4gb/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/load-bytes-4gb/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/load-bytes-4gb/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/load-bytes-4gb/.dirs/runtime 588s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/load-contents-4gb/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/load-contents-4gb/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/load-contents-4gb/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/load-contents-4gb/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/load-contents-4gb/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/load-contents-4gb/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/load-contents-4gb/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/load-contents-4gb/.dirs/runtime 588s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/load-contents-4gb-async/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/load-contents-4gb-async/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/load-contents-4gb-async/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/load-contents-4gb-async/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/load-contents-4gb-async/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/load-contents-4gb-async/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/load-contents-4gb-async/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/load-contents-4gb-async/.dirs/runtime 588s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/writev/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/writev/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/writev/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/writev/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/writev/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/writev/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/writev/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/writev/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/writev/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/writev/.dirs/runtime 588s ok 25 /file/writev 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/build-attribute-list-for-copy/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/build-attribute-list-for-copy/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/build-attribute-list-for-copy/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/build-attribute-list-for-copy/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/build-attribute-list-for-copy/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/build-attribute-list-for-copy/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/build-attribute-list-for-copy/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/build-attribute-list-for-copy/.dirs/runtime 588s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 588s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 588s # 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::* 588s # 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::* 588s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 588s # Attributes for copy: standard::size,xattr::* 588s # Attributes for copy: standard::size,unix::mode,xattr::* 588s ok 26 /file/build-attribute-list-for-copy 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/move_async/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/move_async/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/move_async/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/move_async/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/move_async/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/move_async/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/move_async/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/move_async/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/move_async/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/move_async/.dirs/runtime 588s ok 27 /file/move_async 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/move-async-with-closures/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/move-async-with-closures/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/move-async-with-closures/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/move-async-with-closures/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/move-async-with-closures/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/move-async-with-closures/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/move-async-with-closures/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/move-async-with-closures/.dirs/runtime 588s ok 28 /file/move-async-with-closures 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/query-zero-length-content-type/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/query-zero-length-content-type/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/query-zero-length-content-type/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/query-zero-length-content-type/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/query-zero-length-content-type/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/query-zero-length-content-type/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/query-zero-length-content-type/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/query-zero-length-content-type/.dirs/runtime 588s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 588s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 588s ok 29 /file/query-zero-length-content-type 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-file/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-file/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/query-default-handler-file/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-file/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/query-default-handler-file/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-file/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-file/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/query-default-handler-file/.dirs/runtime 588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZVXZJ3/file/query-default-handler-file/.dirs/data/applications 588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZVXZJ3/file/query-default-handler-file/.dirs/config 588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZVXZJ3/file/query-default-handler-file/.dirs/config 588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZVXZJ3/file/query-default-handler-file/.dirs/config 588s ok 30 /file/query-default-handler-file 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-file-async/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-file-async/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/query-default-handler-file-async/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-file-async/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/query-default-handler-file-async/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-file-async/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-file-async/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/query-default-handler-file-async/.dirs/runtime 588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZVXZJ3/file/query-default-handler-file-async/.dirs/data/applications 588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZVXZJ3/file/query-default-handler-file-async/.dirs/config 588s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_ZVXZJ3/file/query-default-handler-file/.dirs/config to /tmp/test_file_ZVXZJ3/file/query-default-handler-file-async/.dirs/config 588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZVXZJ3/file/query-default-handler-file-async/.dirs/config 588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZVXZJ3/file/query-default-handler-file-async/.dirs/config 588s ok 31 /file/query-default-handler-file-async 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/query-default-handler-uri/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/query-default-handler-uri/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri/.dirs/runtime 588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZVXZJ3/file/query-default-handler-uri/.dirs/data/applications 588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZVXZJ3/file/query-default-handler-uri/.dirs/config 588s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_ZVXZJ3/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri/.dirs/config 588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZVXZJ3/file/query-default-handler-uri/.dirs/config 588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZVXZJ3/file/query-default-handler-uri/.dirs/config 588s ok 32 /file/query-default-handler-uri 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri-async/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri-async/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/query-default-handler-uri-async/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri-async/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/query-default-handler-uri-async/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri-async/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri-async/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri-async/.dirs/runtime 588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZVXZJ3/file/query-default-handler-uri-async/.dirs/data/applications 588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZVXZJ3/file/query-default-handler-uri-async/.dirs/config 588s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_ZVXZJ3/file/query-default-handler-uri/.dirs/config to /tmp/test_file_ZVXZJ3/file/query-default-handler-uri-async/.dirs/config 588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZVXZJ3/file/query-default-handler-uri-async/.dirs/config 588s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZVXZJ3/file/query-default-handler-uri-async/.dirs/config 588s ok 33 /file/query-default-handler-uri-async 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/enumerator-cancellation/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/enumerator-cancellation/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/enumerator-cancellation/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/enumerator-cancellation/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/enumerator-cancellation/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/enumerator-cancellation/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/enumerator-cancellation/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/enumerator-cancellation/.dirs/runtime 588s ok 34 /file/enumerator-cancellation 588s # Start of async-create-delete tests 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/0/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/0/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/async-create-delete/0/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/0/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/async-create-delete/0/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/0/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/0/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/async-create-delete/0/.dirs/runtime 588s ok 35 /file/async-create-delete/0 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/1/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/1/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/async-create-delete/1/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/1/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/async-create-delete/1/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/1/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/1/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/async-create-delete/1/.dirs/runtime 588s ok 36 /file/async-create-delete/1 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/10/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/10/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/async-create-delete/10/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/10/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/async-create-delete/10/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/10/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/10/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/async-create-delete/10/.dirs/runtime 588s ok 37 /file/async-create-delete/10 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/25/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/25/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/async-create-delete/25/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/25/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/async-create-delete/25/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/25/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/25/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/async-create-delete/25/.dirs/runtime 588s ok 38 /file/async-create-delete/25 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/4096/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/4096/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/async-create-delete/4096/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/4096/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/async-create-delete/4096/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/4096/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/async-create-delete/4096/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/async-create-delete/4096/.dirs/runtime 588s ok 39 /file/async-create-delete/4096 588s # End of async-create-delete tests 588s # Start of replace-symlink tests 588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/replace-symlink/using-etag/.dirs/home 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/replace-symlink/using-etag/.dirs/cache 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/replace-symlink/using-etag/.dirs/system-config2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/replace-symlink/using-etag/.dirs/config 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/replace-symlink/using-etag/.dirs/system-data2 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/replace-symlink/using-etag/.dirs/data 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/replace-symlink/using-etag/.dirs/state 588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/replace-symlink/using-etag/.dirs/runtime 588s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 588s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 588s # Using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_symlink_using_etag_VPGRJ3 590s # Executing: glib/file.test 590s ok 40 /file/replace-symlink/using-etag 590s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 590s # End of replace-symlink tests 590s # Start of replace tests 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/replace/write-only/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/replace/write-only/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/replace/write-only/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/replace/write-only/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/replace/write-only/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/replace/write-only/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/replace/write-only/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/replace/write-only/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/replace/write-only/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/replace/write-only/.dirs/runtime 590s # /file/replace/write-only summary: Test various situations for g_file_replace() 590s # Current umask: 2 590s # Test 0, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_YWCRJ3 590s # Test 1, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_S1CRJ3 590s # Test 2, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_COCRJ3 590s # Test 3, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_K9DRJ3 590s # Test 4, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_RCERJ3 590s # Test 5, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_X2WQJ3 590s # Test 6, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_ROWQJ3 590s # Test 7, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_T4XQJ3 590s # Test 8, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_98XQJ3 590s # Test 9, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_OCYQJ3 590s # Test 10, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_E5TQJ3 590s # Test 11, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_AWTQJ3 590s # Test 12, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_7JVQJ3 590s # Test 13, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_ZOVQJ3 590s # Test 14, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_39UQJ3 590s # Test 15, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_5P2QJ3 590s # Test 16, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_OG5QJ3 590s # Test 17, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_J9ZQJ3 590s # Test 18, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_BZZQJ3 590s # Test 19, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_TH1QJ3 590s # Test 20, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_18YRJ3 590s # Test 21, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_TRYRJ3 590s # Test 22, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_DE1RJ3 590s # Test 23, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_LVZRJ3 590s # Test 24, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_5CWRJ3 590s # Test 25, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_2HXRJ3 590s # Test 26, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_YLXRJ3 590s # Test 27, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_QOXRJ3 590s # Test 28, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_09WRJ3 590s # Test 29, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_7X4RJ3 590s # Test 30, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_P24RJ3 590s # Test 31, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_U44RJ3 590s # Test 32, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_YL6RJ3 590s # Test 33, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_9M1RJ3 590s # Test 34, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_8P1RJ3 590s # Test 35, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_ZT1RJ3 590s # Test 36, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_K12RJ3 590s # Test 37, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_URLRJ3 590s # Test 38, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_IAMRJ3 590s # Test 39, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_BANRJ3 590s # Test 40, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_AQJRJ3 590s # Test 41, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_NXKRJ3 590s # Test 42, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_ZQKRJ3 590s # Test 43, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_5ESRJ3 590s # Test 44, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_JUTRJ3 590s # Test 45, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_0XTRJ3 590s # Test 46, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_70ORJ3 590s # Test 47, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_E2ORJ3 590s # Test 48, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_KNQRJ3 590s # We do not have CAP_DAC_OVERRIDE or equivalent 590s ok 41 /file/replace/write-only 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/replace/read-write/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/replace/read-write/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/replace/read-write/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/replace/read-write/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/replace/read-write/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/replace/read-write/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/replace/read-write/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/replace/read-write/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/replace/read-write/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/replace/read-write/.dirs/runtime 590s # /file/replace/read-write summary: Test various situations for g_file_replace() 590s # Current umask: 2 590s # Test 0, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_C0QRJ3 590s # Test 1, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_03QRJ3 590s # Test 2, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_USUPJ3 590s # Test 3, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_C6VPJ3 590s # Test 4, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_Z9VPJ3 590s # Test 5, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_FCWPJ3 590s # Test 6, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_OBRPJ3 590s # Test 7, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_QSTPJ3 590s # Test 8, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_RVTPJ3 590s # Test 9, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_4YTPJ3 590s # Test 10, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_0DTPJ3 590s # Test 11, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_KW0PJ3 590s # Test 12, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_3Z0PJ3 590s # Test 13, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_G40PJ3 590s # Test 14, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_KR3PJ3 590s # Test 15, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_XLYPJ3 590s # Test 16, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_S9XPJ3 590s # Test 17, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_NFZPJ3 590s # Test 18, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_3BJPJ3 590s # Test 19, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_R8HPJ3 590s # Test 20, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_UTKPJ3 590s # Test 21, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_UNFPJ3 590s # Test 22, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_W3EPJ3 590s # Test 23, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_L6EPJ3 590s # Test 24, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_DGGPJ3 590s # Test 25, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_LKPPJ3 590s # Test 26, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_COPPJ3 590s # Test 27, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_96NPJ3 590s # Test 28, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_C2QPJ3 590s # Test 29, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_MWLPJ3 590s # Test 30, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_Q1LPJ3 590s # Test 31, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_83LPJ3 590s # Test 32, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_HPLPJ3 590s # Test 33, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_23MPJ3 590s # Test 34, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_U7MPJ3 590s # Test 35, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_GBNPJ3 590s # Test 36, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_IYKQJ3 590s # Test 37, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_HFKQJ3 590s # Test 38, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_MFLQJ3 590s # Test 39, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_KVHQJ3 590s # Test 40, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_M2IQJ3 590s # Test 41, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_WHIQJ3 590s # Test 42, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_KIRQJ3 590s # Test 43, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_5KSQJ3 590s # Test 44, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_3ESQJ3 590s # Test 45, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_SHSQJ3 590s # Test 46, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_KJNQJ3 590s # Test 47, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_5LNQJ3 590s # Test 48, using temporary directory /tmp/test_file_ZVXZJ3/g_file_replace_Q3OQJ3 590s # We do not have CAP_DAC_OVERRIDE or equivalent 590s ok 42 /file/replace/read-write 590s # End of replace tests 590s # Start of copy tests 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/copy/progress/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/copy/progress/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/copy/progress/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/copy/progress/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/copy/progress/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/copy/progress/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/copy/progress/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/copy/progress/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/copy/progress/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/copy/progress/.dirs/runtime 590s ok 43 /file/copy/progress 590s # End of copy tests 590s # Start of writev tests 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/writev/no-bytes-written/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/writev/no-bytes-written/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/writev/no-bytes-written/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/writev/no-bytes-written/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/writev/no-bytes-written/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/writev/no-bytes-written/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/writev/no-bytes-written/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/writev/no-bytes-written/.dirs/runtime 590s ok 44 /file/writev/no-bytes-written 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/writev/no-vectors/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/writev/no-vectors/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/writev/no-vectors/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/writev/no-vectors/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/writev/no-vectors/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/writev/no-vectors/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/writev/no-vectors/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/writev/no-vectors/.dirs/runtime 590s ok 45 /file/writev/no-vectors 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/writev/empty-vectors/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/writev/empty-vectors/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/writev/empty-vectors/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/writev/empty-vectors/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/writev/empty-vectors/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/writev/empty-vectors/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/writev/empty-vectors/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/writev/empty-vectors/.dirs/runtime 590s ok 46 /file/writev/empty-vectors 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/writev/too-big-vectors/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/writev/too-big-vectors/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/writev/too-big-vectors/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/writev/too-big-vectors/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/writev/too-big-vectors/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/writev/too-big-vectors/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/writev/too-big-vectors/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/writev/too-big-vectors/.dirs/runtime 590s ok 47 /file/writev/too-big-vectors 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/writev/async/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/writev/async/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/writev/async/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/writev/async/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/writev/async/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/writev/async/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/writev/async/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/writev/async/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/writev/async/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/writev/async/.dirs/runtime 590s ok 48 /file/writev/async 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/writev/async_all/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/writev/async_all/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/writev/async_all/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/writev/async_all/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/writev/async_all/.dirs/runtime 590s ok 49 /file/writev/async_all 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-empty-vectors/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-empty-vectors/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/writev/async_all-empty-vectors/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-empty-vectors/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/writev/async_all-empty-vectors/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-empty-vectors/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-empty-vectors/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/writev/async_all-empty-vectors/.dirs/runtime 590s ok 50 /file/writev/async_all-empty-vectors 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-no-vectors/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-no-vectors/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/writev/async_all-no-vectors/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-no-vectors/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/writev/async_all-no-vectors/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-no-vectors/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-no-vectors/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/writev/async_all-no-vectors/.dirs/runtime 590s ok 51 /file/writev/async_all-no-vectors 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-to-big-vectors/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-to-big-vectors/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/writev/async_all-to-big-vectors/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-to-big-vectors/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/writev/async_all-to-big-vectors/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-to-big-vectors/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-to-big-vectors/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/writev/async_all-to-big-vectors/.dirs/runtime 590s ok 52 /file/writev/async_all-to-big-vectors 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-cancellation/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-cancellation/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/writev/async_all-cancellation/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-cancellation/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/writev/async_all-cancellation/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-cancellation/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/writev/async_all-cancellation/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/writev/async_all-cancellation/.dirs/runtime 590s ok 53 /file/writev/async_all-cancellation 590s # End of writev tests 590s # Start of from-uri tests 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/from-uri/ignores-query-string/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/from-uri/ignores-query-string/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/from-uri/ignores-query-string/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/from-uri/ignores-query-string/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/from-uri/ignores-query-string/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/from-uri/ignores-query-string/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/from-uri/ignores-query-string/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/from-uri/ignores-query-string/.dirs/runtime 590s ok - glib/file.test 590s # Running test: glib/unicode.test 590s ok 54 /file/from-uri/ignores-query-string 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZVXZJ3/file/from-uri/ignores-fragment/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZVXZJ3/file/from-uri/ignores-fragment/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZVXZJ3/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_ZVXZJ3/file/from-uri/ignores-fragment/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZVXZJ3/file/from-uri/ignores-fragment/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZVXZJ3/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_ZVXZJ3/file/from-uri/ignores-fragment/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZVXZJ3/file/from-uri/ignores-fragment/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZVXZJ3/file/from-uri/ignores-fragment/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZVXZJ3/file/from-uri/ignores-fragment/.dirs/runtime 590s ok 55 /file/from-uri/ignores-fragment 590s # End of from-uri tests 590s # End of file tests 590s TAP version 14 590s # random seed: R02Sa03f64a3773b1ddac1d192ce49d4a23e 590s 1..39 590s # Start of unicode tests 590s ok 1 /unicode/alnum 590s ok 2 /unicode/alpha 590s ok 3 /unicode/break-type 590s ok 4 /unicode/canonical-decomposition 590s ok 5 /unicode/casefold 590s # Cannot set locale to lt_LT, skipping 590s # Cannot set locale to lt_LT, skipping 590s # Cannot set locale to lt_LT, skipping 590s # Cannot set locale to lt_LT, skipping 590s # Cannot set locale to lt_LT, skipping 590s # Cannot set locale to lt_LT, skipping 590s # Cannot set locale to lt_LT, skipping 590s # Cannot set locale to lt_LT, skipping 590s # Cannot set locale to lt_LT, skipping 590s # Cannot set locale to lt_LT, skipping 590s # Cannot set locale to lt_LT, skipping 590s ok 6 /unicode/casemap_and_casefold 590s ok 7 /unicode/cases 590s ok 8 /unicode/character-type 590s ok 9 /unicode/cntrl 590s ok 10 /unicode/combining-class 590s # Composing U+000041 and U+000042; expecting U+000000 590s # Composing U+000041 and U+000000; expecting U+000000 590s # Composing U+000066 and U+000069; expecting U+000000 590s # Composing U+000308 and U+000301; expecting U+000000 590s # Composing U+000f71 and U+000f72; expecting U+000000 590s # Composing U+00212b and U+000000; expecting U+000000 590s # Composing U+0000c5 and U+000000; expecting U+000000 590s # Composing U+002126 and U+000000; expecting U+000000 590s # Composing U+0003a9 and U+000000; expecting U+000000 590s # Composing U+000041 and U+00030a; expecting U+0000c5 590s # Composing U+00006f and U+000302; expecting U+0000f4 590s # Composing U+001e63 and U+000307; expecting U+001e69 590s # Composing U+000073 and U+000323; expecting U+001e63 590s # Composing U+000064 and U+000307; expecting U+001e0b 590s # Composing U+000064 and U+000323; expecting U+001e0d 590s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 590s # Composing U+001111 and U+001171; expecting U+00d4cc 590s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 590s # Composing U+00110e and U+001173; expecting U+00ce20 590s # Composing U+001100 and U+001160; expecting U+000000 590s # Composing U+001100 and U+001177; expecting U+000000 590s # Composing U+00abff and U+0011b6; expecting U+000000 590s # Composing U+00d7a5 and U+0011b6; expecting U+000000 590s # Composing U+00ac01 and U+0011b6; expecting U+000000 590s # Composing U+00d4cc and U+0011a6; expecting U+000000 590s # Composing U+00d4cc and U+0011c4; expecting U+000000 590s # Composing U+01611e and U+01611e; expecting U+016121 590s # Composing U+01611e and U+01611f; expecting U+016123 590s # Composing U+0000f6 and U+000304; expecting U+00022b 590s # Composing U+000b47 and U+000b57; expecting U+000b4c 590s # Composing U+0000a0 and U+000b57; expecting U+000000 590s # Composing U+016e00 and U+00030a; expecting U+000000 590s # Composing U+00212b and U+016e00; expecting U+000000 590s # Composing U+001e63 and U+000306; expecting U+000000 590s # Composing U+001e63 and U+000304; expecting U+000000 590s # Composing U+001e63 and U+000b57; expecting U+000000 590s # Composing U+001e63 and U+000000; expecting U+000000 590s # Composing U+001e63 and U+0113c2; expecting U+000000 590s # Composing U+001f01 and U+0113c2; expecting U+000000 590s # Composing U+00006e and U+000302; expecting U+000000 590s # Composing U+001e63 and U+01611f; expecting U+000000 590s # Composing U+01138e and U+0113b8; expecting U+000000 590s # Composing U+01611e and U+000000; expecting U+000000 590s # Composing U+000000 and U+01611f; expecting U+000000 590s # Composing U+011390 and U+0113c2; expecting U+000000 590s ok 11 /unicode/compose 590s ok 12 /unicode/decompose 590s ok 13 /unicode/decompose-tail 590s ok 14 /unicode/defined 590s ok 15 /unicode/digit 590s ok 16 /unicode/digit-value 590s # Fully decomposing U+000041; expecting 1 codepoints 590s # Fully decomposing U+00fb01; expecting 1 codepoints 590s # Fully decomposing U+00212b; expecting 2 codepoints 590s # Fully decomposing U+002126; expecting 1 codepoints 590s # Fully decomposing U+000344; expecting 2 codepoints 590s # Fully decomposing U+000f73; expecting 2 codepoints 590s # Fully decomposing U+0000c5; expecting 2 codepoints 590s # Fully decomposing U+0000f4; expecting 2 codepoints 590s # Fully decomposing U+001e69; expecting 3 codepoints 590s # Fully decomposing U+001e63; expecting 2 codepoints 590s # Fully decomposing U+001e0b; expecting 2 codepoints 590s # Fully decomposing U+001e0d; expecting 2 codepoints 590s # Fully decomposing U+00d4db; expecting 3 codepoints 590s # Fully decomposing U+00d4cc; expecting 2 codepoints 590s # Fully decomposing U+00ce31; expecting 3 codepoints 590s # Fully decomposing U+00ce20; expecting 2 codepoints 590s ok 17 /unicode/fully-decompose-canonical 590s ok 18 /unicode/fully-decompose-len 590s ok 19 /unicode/normalization 590s ok 20 /unicode/graph 590s # Testing script Zyyy (code 1517910393) 590s # Testing script Zinh (code 1516858984) 590s # Testing script Zmth (code 1517122664) 590s # Testing script Arab (code 1098015074) 590s # Testing script Armn (code 1098018158) 590s # Testing script Beng (code 1113943655) 590s # Testing script Bopo (code 1114599535) 590s # Testing script Cher (code 1130915186) 590s # Testing script Copt (code 1131376756) 590s # Testing script Cyrl (code 1132032620) 590s # Testing script Dsrt (code 1148416628) 590s # Testing script Deva (code 1147500129) 590s # Testing script Ethi (code 1165256809) 590s # Testing script Geor (code 1197830002) 590s # Testing script Goth (code 1198486632) 590s # Testing script Grek (code 1198679403) 590s # Testing script Gujr (code 1198877298) 590s # Testing script Guru (code 1198879349) 590s # Testing script Hani (code 1214344809) 590s # Testing script Hang (code 1214344807) 590s # Testing script Hebr (code 1214603890) 590s # Testing script Hira (code 1214870113) 590s # Testing script Knda (code 1265525857) 590s # Testing script Kana (code 1264676449) 590s # Testing script Khmr (code 1265134962) 590s # Testing script Laoo (code 1281453935) 590s # Testing script Latn (code 1281455214) 590s # Testing script Mlym (code 1298954605) 590s # Testing script Mong (code 1299148391) 590s # Testing script Mymr (code 1299803506) 590s # Testing script Ogam (code 1332175213) 590s # Testing script Ital (code 1232363884) 590s # Testing script Orya (code 1332902241) 590s # Testing script Runr (code 1383427698) 590s # Testing script Sinh (code 1399418472) 590s # Testing script Syrc (code 1400468067) 590s # Testing script Taml (code 1415671148) 590s # Testing script Telu (code 1415933045) 590s # Testing script Thaa (code 1416126817) 590s # Testing script Thai (code 1416126825) 590s # Testing script Tibt (code 1416192628) 590s # Testing script Cans (code 1130458739) 590s # Testing script Yiii (code 1500080489) 590s # Testing script Tglg (code 1416064103) 590s # Testing script Hano (code 1214344815) 590s # Testing script Buhd (code 1114990692) 590s # Testing script Tagb (code 1415669602) 590s # Testing script Brai (code 1114792297) 590s # Testing script Cprt (code 1131442804) 590s # Testing script Limb (code 1281977698) 590s # Testing script Osma (code 1332964705) 590s # Testing script Shaw (code 1399349623) 590s # Testing script Linb (code 1281977954) 590s # Testing script Tale (code 1415670885) 590s # Testing script Ugar (code 1432838514) 590s # Testing script Talu (code 1415670901) 590s # Testing script Bugi (code 1114990441) 590s # Testing script Glag (code 1198285159) 590s # Testing script Tfng (code 1415999079) 590s # Testing script Sylo (code 1400466543) 590s # Testing script Xpeo (code 1483761007) 590s # Testing script Khar (code 1265131890) 590s # Testing script Zzzz (code 1517976186) 590s # Testing script Bali (code 1113681001) 590s # Testing script Xsux (code 1483961720) 590s # Testing script Phnx (code 1349021304) 590s # Testing script Phag (code 1349017959) 590s # Testing script Nkoo (code 1315663727) 590s # Testing script Kali (code 1264675945) 590s # Testing script Lepc (code 1281716323) 590s # Testing script Rjng (code 1382706791) 590s # Testing script Sund (code 1400204900) 590s # Testing script Saur (code 1398895986) 590s # Testing script Cham (code 1130914157) 590s # Testing script Olck (code 1332503403) 590s # Testing script Vaii (code 1449224553) 590s # Testing script Cari (code 1130459753) 590s # Testing script Lyci (code 1283023721) 590s # Testing script Lydi (code 1283023977) 590s # Testing script Avst (code 1098281844) 590s # Testing script Bamu (code 1113681269) 590s # Testing script Egyp (code 1164409200) 590s # Testing script Armi (code 1098018153) 590s # Testing script Phli (code 1349020777) 590s # Testing script Prti (code 1349678185) 590s # Testing script Java (code 1247901281) 590s # Testing script Kthi (code 1265920105) 590s # Testing script Lisu (code 1281979253) 590s # Testing script Mtei (code 1299473769) 590s # Testing script Sarb (code 1398895202) 590s # Testing script Orkh (code 1332898664) 590s # Testing script Samr (code 1398893938) 590s # Testing script Lana (code 1281453665) 590s # Testing script Tavt (code 1415673460) 590s # Testing script Batk (code 1113683051) 590s # Testing script Brah (code 1114792296) 590s # Testing script Mand (code 1298230884) 590s # Testing script Cakm (code 1130457965) 590s # Testing script Merc (code 1298494051) 590s # Testing script Mero (code 1298494063) 590s # Testing script Plrd (code 1349284452) 590s # Testing script Shrd (code 1399353956) 590s # Testing script Sora (code 1399812705) 590s # Testing script Takr (code 1415670642) 590s # Testing script Bass (code 1113682803) 590s # Testing script Aghb (code 1097295970) 590s # Testing script Dupl (code 1148547180) 590s # Testing script Elba (code 1164730977) 590s # Testing script Gran (code 1198678382) 590s # Testing script Khoj (code 1265135466) 590s # Testing script Sind (code 1399418468) 590s # Testing script Lina (code 1281977953) 590s # Testing script Mahj (code 1298229354) 590s # Testing script Mani (code 1298230889) 590s # Testing script Mend (code 1298493028) 590s # Testing script Modi (code 1299145833) 590s # Testing script Mroo (code 1299345263) 590s # Testing script Nbat (code 1315070324) 590s # Testing script Narb (code 1315009122) 590s # Testing script Perm (code 1348825709) 590s # Testing script Hmng (code 1215131239) 590s # Testing script Palm (code 1348562029) 590s # Testing script Pauc (code 1348564323) 590s # Testing script Phlp (code 1349020784) 590s # Testing script Sidd (code 1399415908) 590s # Testing script Tirh (code 1416196712) 590s # Testing script Wara (code 1466004065) 590s # Testing script Ahom (code 1097363309) 590s # Testing script Hluw (code 1215067511) 590s # Testing script Hatr (code 1214346354) 590s # Testing script Mult (code 1299541108) 590s # Testing script Hung (code 1215655527) 590s # Testing script Sgnw (code 1399287415) 590s # Testing script Adlm (code 1097100397) 590s # Testing script Bhks (code 1114139507) 590s # Testing script Marc (code 1298231907) 590s # Testing script Newa (code 1315272545) 590s # Testing script Osge (code 1332963173) 590s # Testing script Tang (code 1415671399) 590s # Testing script Gonm (code 1198485101) 590s # Testing script Nshu (code 1316186229) 590s # Testing script Soyo (code 1399814511) 590s # Testing script Zanb (code 1516334690) 590s # Testing script Dogr (code 1148151666) 590s # Testing script Gong (code 1198485095) 590s # Testing script Rohg (code 1383032935) 590s # Testing script Maka (code 1298230113) 590s # Testing script Medf (code 1298490470) 590s # Testing script Sogo (code 1399809903) 590s # Testing script Sogd (code 1399809892) 590s # Testing script Elym (code 1164736877) 590s # Testing script Nand (code 1315008100) 590s # Testing script Hmnp (code 1215131248) 590s # Testing script Wcho (code 1466132591) 590s # Testing script Chrs (code 1130918515) 590s # Testing script Diak (code 1147756907) 590s # Testing script Kits (code 1265202291) 590s # Testing script Yezi (code 1499822697) 590s # Testing script Cpmn (code 1131441518) 590s # Testing script Ougr (code 1333094258) 590s # Testing script Tnsa (code 1416524641) 590s # Testing script Toto (code 1416590447) 590s # Testing script Vith (code 1449751656) 590s # Testing script Kawi (code 1264678761) 590s # Testing script Nagm (code 1315006317) 590s # Testing script Todr (code 1416586354) 590s # Testing script Gara (code 1197568609) 590s # Testing script Tutg (code 1416983655) 590s # Testing script Sunu (code 1400204917) 590s # Testing script Gukh (code 1198877544) 590s # Testing script Krai (code 1265787241) 590s # Testing script Onao (code 1332633967) 590s ok 21 /unicode/iso15924 590s ok 22 /unicode/lower 590s ok 23 /unicode/mark 590s ok 24 /unicode/mirror 590s ok 25 /unicode/print 590s ok 26 /unicode/punctuation 590s ok 27 /unicode/script 590s ok 28 /unicode/space 590s ok 29 /unicode/strdown 590s ok 30 /unicode/strup 590s ok - glib/unicode.test 590s ok 31 /unicode/turkish-strupdown 590s ok 32 /unicode/title 590s ok 33 /unicode/upper 590s ok 34 /unicode/validate 590s ok 35 /unicode/wide 590s ok 36 /unicode/xdigit 590s ok 37 /unicode/xdigit-value 590s ok 38 /unicode/zero-width 590s ok 39 /unicode/normalize 590s # End of unicode tests 590s # Running test: glib/macros.test 590s ok - glib/macros.test 590s TAP version 14 590s # random seed: R02S9608cabf9d807283220d6725edb1dd6f 590s 1..3 590s # Start of alignof tests 590s ok 1 /alignof/fallback 590s # End of alignof tests 590s # Start of assert tests 590s ok 2 /assert/static 590s # End of assert tests 590s # Start of struct tests 590s ok 3 /struct/sizeof_member 590s # End of struct tests 590s # Running test: glib/dump.test 590s TAP version 14 590s # random seed: R02S092d9c0f566ffcd80a05f900fa9bdf61 590s 1..4 590s # Start of dump tests 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_U55NJ3/dump/empty-file/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_U55NJ3/dump/empty-file/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_U55NJ3/dump/empty-file/.dirs/system-config1:/tmp/test_dump_U55NJ3/dump/empty-file/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_U55NJ3/dump/empty-file/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_U55NJ3/dump/empty-file/.dirs/system-data1:/tmp/test_dump_U55NJ3/dump/empty-file/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_U55NJ3/dump/empty-file/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_U55NJ3/dump/empty-file/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_U55NJ3/dump/empty-file/.dirs/runtime 590s ok 1 /dump/empty-file 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_U55NJ3/dump/missing-get-type/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_U55NJ3/dump/missing-get-type/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_U55NJ3/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_U55NJ3/dump/missing-get-type/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_U55NJ3/dump/missing-get-type/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_U55NJ3/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_U55NJ3/dump/missing-get-type/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_U55NJ3/dump/missing-get-type/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_U55NJ3/dump/missing-get-type/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_U55NJ3/dump/missing-get-type/.dirs/runtime 590s Invalid GType function: 'does_not_exist_get_type' 590s ok 2 /dump/missing-get-type 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_U55NJ3/dump/missing-quark/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_U55NJ3/dump/missing-quark/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_U55NJ3/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_U55NJ3/dump/missing-quark/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_U55NJ3/dump/missing-quark/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_U55NJ3/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_U55NJ3/dump/missing-quark/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_U55NJ3/dump/missing-quark/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_U55NJ3/dump/missing-quark/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_U55NJ3/dump/missing-quark/.dirs/runtime 590s Invalid error quark function: 'does_not_exist_error' 590s ok 3 /dump/missing-quark 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_U55NJ3/dump/basic/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_U55NJ3/dump/basic/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_U55NJ3/dump/basic/.dirs/system-config1:/tmp/test_dump_U55NJ3/dump/basic/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_U55NJ3/dump/basic/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_U55NJ3/dump/basic/.dirs/system-data1:/tmp/test_dump_U55NJ3/dump/basic/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_U55NJ3/dump/basic/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_U55NJ3/dump/basic/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_U55NJ3/dump/basic/.dirs/runtime 590s ok 4 /dump/basic 590s # End of dump tests 590s ok - glib/dump.test 590s # Running test: glib/sleepy-stream.test 590s TAP version 14 590s # random seed: R02Sb011aa582aa628a6e60b6b0e167ab4f2 590s 1..2 590s # Start of filter-stream tests 590s ok 1 /filter-stream/input 590s ok - glib/sleepy-stream.test 590s # Running test: glib/proxy-test.test 590s ok 2 /filter-stream/async 590s # End of filter-stream tests 590s TAP version 14 590s # random seed: R02S1d8b339a52f2a1f13b849ddaa27a9df0 590s 1..11 590s # Start of proxy tests 590s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ‘gio-proxy-resolver’ 590s ok 1 /proxy/direct_sync 590s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 590s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59d203428f40 and GSocketClientAsyncConnectData 0x59d203428460 590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 590s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59d203429a60 for GSocketClientAsyncConnectData 0x59d203428460 590s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 590s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 590s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 590s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 590s ok 2 /proxy/direct_async 590s ok 3 /proxy/single_sync 590s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 590s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59d203429520 and GSocketClientAsyncConnectData 0x59d203428460 590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 590s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59d20342abc0 for GSocketClientAsyncConnectData 0x59d203428460 590s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 590s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 590s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 590s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 590s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 590s ok 4 /proxy/single_async 590s ok 5 /proxy/multiple_sync 590s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 590s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59d203429810 and GSocketClientAsyncConnectData 0x59d2034297a0 590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 590s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59d20342b100 for GSocketClientAsyncConnectData 0x59d2034297a0 590s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 590s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 590s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 590s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 590s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59d20342b0a0 for GSocketClientAsyncConnectData 0x59d2034297a0 590s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 590s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 590s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 590s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 590s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 590s ok 6 /proxy/multiple_async 590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 590s ok 7 /proxy/invalid-uris-sync 590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 590s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 590s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59d203429400 and GSocketClientAsyncConnectData 0x59d20342b290 590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 590s ok - glib/proxy-test.test 590s # Running test: glib/spawn-test.test 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 590s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 590s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 590s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59d203429520 and GSocketClientAsyncConnectData 0x59d2034297a0 590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 590s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 590s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 590s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59d203429400 and GSocketClientAsyncConnectData 0x59d20342b290 590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 590s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59d203429ac0 for GSocketClientAsyncConnectData 0x59d20342b290 590s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 590s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 590s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 590s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 590s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 590s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59d203429520 and GSocketClientAsyncConnectData 0x59d20342b290 590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 590s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59d20342b300 for GSocketClientAsyncConnectData 0x59d20342b290 590s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 590s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 590s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 590s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 590s ok 8 /proxy/invalid-uris-async 590s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 590s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59d203428f40 and GSocketClientAsyncConnectData 0x59d20342b290 590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 590s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 590s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 590s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 590s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 590s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59d20342b420 and GSocketClientAsyncConnectData 0x59d2034299b0 590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 590s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59d20342aa20 for GSocketClientAsyncConnectData 0x59d2034299b0 590s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 590s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 590s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 590s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 590s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 590s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 590s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59d203429400 and GSocketClientAsyncConnectData 0x59d2034297a0 590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 590s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59d203429ac0 for GSocketClientAsyncConnectData 0x59d2034297a0 590s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 590s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 590s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 590s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 590s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 590s ok 9 /proxy/dns 590s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 590s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59d203428f40 and GSocketClientAsyncConnectData 0x59d2034297a0 590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 590s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59d203429ac0 for GSocketClientAsyncConnectData 0x59d2034297a0 590s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 590s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 590s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 590s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 590s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 590s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 590s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59d203429400 and GSocketClientAsyncConnectData 0x59d2034295e0 590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 590s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59d20342aa20 for GSocketClientAsyncConnectData 0x59d2034295e0 590s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 590s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 590s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 590s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 590s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 590s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 590s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59d203428f40 and GSocketClientAsyncConnectData 0x59d20342b290 590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 590s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x59d20342b100 for GSocketClientAsyncConnectData 0x59d20342b290 590s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 590s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 590s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 590s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 590s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 590s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 590s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 590s ok 10 /proxy/override 590s ok 11 /proxy/enumerator-ports 590s # End of proxy tests 590s TAP version 14 590s # random seed: R02S1b315eda9e21256e9526000979e68d3e 590s 1..2 590s # Start of spawn tests 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_H77NJ3/spawn/basics/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_H77NJ3/spawn/basics/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_H77NJ3/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_H77NJ3/spawn/basics/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_H77NJ3/spawn/basics/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_H77NJ3/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_H77NJ3/spawn/basics/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_H77NJ3/spawn/basics/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_H77NJ3/spawn/basics/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_H77NJ3/spawn/basics/.dirs/runtime 590s ok 1 /spawn/basics 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_H77NJ3/spawn/stdio-overwrite/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_H77NJ3/spawn/stdio-overwrite/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_H77NJ3/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_H77NJ3/spawn/stdio-overwrite/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_H77NJ3/spawn/stdio-overwrite/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_H77NJ3/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_H77NJ3/spawn/stdio-overwrite/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_H77NJ3/spawn/stdio-overwrite/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_H77NJ3/spawn/stdio-overwrite/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_H77NJ3/spawn/stdio-overwrite/.dirs/runtime 590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 590s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 590s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 590s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 590s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 590s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 590s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 590s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 590s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 590s # Fetching GSpawn result output with stdin open, stdout open, stderr open 590s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 590s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 590s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 590s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 590s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 590s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 590s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 590s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 590s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 590s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 590s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 590s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 590s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 590s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 590s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 590s # Fetching GSpawn result with stdin open, stdout open, stderr open 590s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 590s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 590s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 590s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 590s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 590s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 590s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 590s ok - glib/spawn-test.test 590s ok 2 /spawn/stdio-overwrite 590s # End of spawn tests 590s # Running test: glib/gthash.test 590s TAP version 14 590s # random seed: R02S12cdeae273159d1edf7eb5883df09507 590s 1..1 590s # Start of gthash tests 590s ok 1 /gthash/build-retrieve 590s # End of gthash tests 590s ok - glib/gthash.test 590s # Running test: glib/gvariant.test 590s TAP version 14 590s # random seed: R02S709c90371d976682a373ab368bc83cc3 590s 1..69 590s # Start of gvariant tests 591s ok 1 /gvariant/type 591s ok 2 /gvariant/typeinfo 591s ok 3 /gvariant/string 591s ok 4 /gvariant/utf8 591s ok 5 /gvariant/utf8-new-strings 591s ok 6 /gvariant/containers 591s ok 7 /gvariant/format-strings 591s ok 8 /gvariant/invalid-varargs 591s ok 9 /gvariant/varargs 591s ok 10 /gvariant/valist 591s ok 11 /gvariant/builder-memory 591s ok 12 /gvariant/hashing 591s ok 13 /gvariant/byteswap 591s ok 14 /gvariant/parser 591s ok 15 /gvariant/parse-failures 591s ok 16 /gvariant/parse-positional 591s ok 17 /gvariant/floating 591s ok 18 /gvariant/bytestring 591s ok 19 /gvariant/lookup-value 591s ok 20 /gvariant/lookup 591s ok 21 /gvariant/compare 591s ok 22 /gvariant/equal 591s ok 23 /gvariant/fixed-array 591s ok 24 /gvariant/check-format-string 591s ok 25 /gvariant/checksum-basic 591s ok 26 /gvariant/checksum-nested 591s ok 27 /gvariant/gbytes 591s ok 28 /gvariant/print-context 591s ok 29 /gvariant/error-quark 591s ok 30 /gvariant/stack-builder-init 591s ok 31 /gvariant/stack-builder-init-static 591s ok 32 /gvariant/stack-builder-init-unset 591s ok 33 /gvariant/stack-dict-init 591s ok 34 /gvariant/unaligned-construction 591s # Start of type tests 591s # Start of string-scan tests 591s # Start of recursion tests 591s ok 35 /gvariant/type/string-scan/recursion/tuple 591s ok 36 /gvariant/type/string-scan/recursion/array 591s # End of recursion tests 591s # End of string-scan tests 591s # End of type tests 591s # Start of serialiser tests 591s ok 37 /gvariant/serialiser/maybe 591s ok 38 /gvariant/serialiser/array 591s ok 39 /gvariant/serialiser/tuple 591s ok 40 /gvariant/serialiser/variant 591s ok 41 /gvariant/serialiser/strings 592s ok 42 /gvariant/serialiser/byteswap 592s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 592s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 592s ok 43 /gvariant/serialiser/children 592s # Start of byteswap tests 592s ok 44 /gvariant/serialiser/byteswap/zero-sized 592s # End of byteswap tests 592s # Start of fuzz tests 592s ok 45 /gvariant/serialiser/fuzz/1% 592s ok 46 /gvariant/serialiser/fuzz/5% 592s ok 47 /gvariant/serialiser/fuzz/9% 592s ok 48 /gvariant/serialiser/fuzz/13% 592s ok 49 /gvariant/serialiser/fuzz/17% 592s # End of fuzz tests 592s # End of serialiser tests 592s # Start of utf8 tests 592s # Start of subprocess tests 592s # End of subprocess tests 592s # End of utf8 tests 592s # Start of varargs tests 592s # Start of subprocess tests 592s # End of subprocess tests 592s # End of varargs tests 592s # Start of byteswap tests 592s # /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. 592s ok 50 /gvariant/byteswap/non-normal-non-aligned 592s # End of byteswap tests 592s # Start of parser tests 592s ok 51 /gvariant/parser/integer-bounds 592s ok 52 /gvariant/parser/recursion 592s # Start of recursion tests 592s ok 53 /gvariant/parser/recursion/typedecls 592s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 592s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 592s # Text form 0: @mmmu 5 592s # Text form 1: @mmmas ['hello'] 592s # Text form 2: @mmmu just just nothing 592s # Text form 3: @mmmas just just nothing 592s # Text form 4: @mmmu just nothing 592s # Text form 5: @mmmas just nothing 592s # Text form 6: @mmmu nothing 592s # Text form 7: @mmmas nothing 592s ok 54 /gvariant/parser/recursion/maybes 592s # End of recursion tests 592s # End of parser tests 592s # Start of parse tests 592s # Start of subprocess tests 592s # End of subprocess tests 592s # End of parse tests 592s # Start of normal-checking tests 592s ok 55 /gvariant/normal-checking/tuples 592s ok 56 /gvariant/normal-checking/array-offsets 592s ok 57 /gvariant/normal-checking/array-offsets2 592s ok 58 /gvariant/normal-checking/tuple-offsets 592s ok 59 /gvariant/normal-checking/tuple-offsets2 592s ok 60 /gvariant/normal-checking/tuple-offsets3 592s ok 61 /gvariant/normal-checking/tuple-offsets4 592s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 592s ok 62 /gvariant/normal-checking/tuple-offsets5 592s ok 63 /gvariant/normal-checking/empty-object-path 592s # Start of array-offsets tests 592s ok 64 /gvariant/normal-checking/array-offsets/overlapped 592s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized 592s # End of array-offsets tests 592s # Start of tuple-offsets tests 592s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized 592s # End of tuple-offsets tests 592s # End of normal-checking tests 592s # Start of recursion-limits tests 592s ok 67 /gvariant/recursion-limits/variant-in-variant 592s ok 68 /gvariant/recursion-limits/array-in-variant 592s # End of recursion-limits tests 592s # End of gvariant tests 592s # Start of gvarianttype tests 592s ok 69 /gvarianttype/hash 592s # End of gvarianttype tests 592s ok - glib/gvariant.test 592s # Running test: glib/registered-type-info.test 592s TAP version 14 592s # random seed: R02S0153466764d2bd63b9ce2c39b288d713 592s 1..1 592s # Start of registered-type-info tests 592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_XQAQJ3/registered-type-info/boxed/.dirs/home 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_XQAQJ3/registered-type-info/boxed/.dirs/cache 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_XQAQJ3/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_XQAQJ3/registered-type-info/boxed/.dirs/system-config2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_XQAQJ3/registered-type-info/boxed/.dirs/config 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_XQAQJ3/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_XQAQJ3/registered-type-info/boxed/.dirs/system-data2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_XQAQJ3/registered-type-info/boxed/.dirs/data 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_XQAQJ3/registered-type-info/boxed/.dirs/state 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_XQAQJ3/registered-type-info/boxed/.dirs/runtime 592s ok - glib/registered-type-info.test 592s # Running test: glib/tls-certificate.test 592s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 592s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 592s # Expecting CClosure to not be boxed 592s # Expecting TypeCValue to not be boxed 592s # Expecting InitiallyUnownedClass to not be boxed 592s # Expecting BookmarkFile to be boxed 592s # Expecting Closure to be boxed 592s # Expecting Object to not be boxed 592s ok 1 /registered-type-info/boxed 592s # End of registered-type-info tests 592s TAP version 14 592s # random seed: R02S0eb85c13459d3a09c4fda360fdd97ba0 592s 1..19 592s # Start of tls-certificate tests 592s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 592s ok 1 /tls-certificate/pem-parser 592s ok 2 /tls-certificate/pem-parser-handles-chain 592s ok 3 /tls-certificate/from_file 592s ok 4 /tls-certificate/from_files 592s ok 5 /tls-certificate/from_files_crlf 592s ok 6 /tls-certificate/from_files_pkcs8 592s ok 7 /tls-certificate/from_files_pkcs8enc 592s ok 8 /tls-certificate/list_from_file 592s ok 9 /tls-certificate/pkcs11-uri 592s ok 10 /tls-certificate/pkcs11-uri-unsupported 592s ok 11 /tls-certificate/from_pkcs12 592s ok 12 /tls-certificate/from_pkcs12_file 592s ok 13 /tls-certificate/not-valid-before 592s ok 14 /tls-certificate/not-valid-after 592s ok 15 /tls-certificate/subject-name 592s ok 16 /tls-certificate/issuer-name 592s ok 17 /tls-certificate/dns-names 592s ok 18 /tls-certificate/ip-addresses 592s ok - glib/tls-certificate.test 592s # Running test: glib/buffered-output-stream.test 592s ok - glib/buffered-output-stream.test 592s # Running test: glib/unix-streams.test 592s ok 19 /tls-certificate/pem-parser-no-sentinel 592s # End of tls-certificate tests 592s TAP version 14 592s # random seed: R02S0452dba43f208043a22219e191ae9ac5 592s 1..5 592s # Start of buffered-output-stream tests 592s ok 1 /buffered-output-stream/write 592s ok 2 /buffered-output-stream/grow 592s ok 3 /buffered-output-stream/seek 592s ok 4 /buffered-output-stream/truncate 592s # End of buffered-output-stream tests 592s # Start of filter-output-stream tests 592s ok 5 /filter-output-stream/close 592s # End of filter-output-stream tests 592s TAP version 14 592s # random seed: R02Sae199a8efbb7421da6d83ab5b2694b9e 592s 1..9 592s # Start of unix-streams tests 592s ok 1 /unix-streams/basic 593s ok 2 /unix-streams/pipe-io-test 593s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 593s ok 3 /unix-streams/nonblocking-io-test 593s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 593s ok 4 /unix-streams/read_write 593s ok 5 /unix-streams/read_writev 593s ok 6 /unix-streams/write-wouldblock 593s ok 7 /unix-streams/writev-wouldblock 593s ok 8 /unix-streams/write-async-wouldblock 593s ok 9 /unix-streams/writev-async-wouldblock 593s # End of unix-streams tests 593s ok - glib/unix-streams.test 593s # Running test: glib/atomic-c-99.test 593s TAP version 14 593s # random seed: R02Sa68d88d3fff844f378832468133df61f 593s 1..2 593s # Start of atomic tests 593s ok 1 /atomic/types 594s ok 2 /atomic/threaded 594s # End of atomic tests 594s ok - glib/atomic-c-99.test 594s # Running test: glib/basic-signals.test 594s ok - glib/basic-signals.test 594s TAP version 14 594s # random seed: R02S8e0b947d624246f5a3a2e8c4c2ba1496 594s 1..1 594s # Start of gobject tests 594s ok 1 /gobject/basic-signals 594s # End of gobject tests 594s # Running test: glib/static-link.test 594s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 594s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 594s and make sure you have glib build dependencies installed, including 594s meson. 594s ok # SKIP - glib/static-link.test 594s # Running test: glib/mount-operation.test 594s TAP version 14 594s # random seed: R02S8d3be7dd789d6a1799716fe55b5f3b38 594s 1..2 594s # Start of mount-operation tests 594s ok 1 /mount-operation/construction 594s ok 2 /mount-operation/properties 594s # End of mount-operation tests 594s TAP version 14 594s # random seed: R02S32d923825d7175074df78df1fa1c1cf7 594s 1..7 594s # Start of thread tests 594s ok 1 /thread/thread1 594s ok 2 /thread/thread2 594s ok 3 /thread/thread3 594s ok 4 /thread/thread4 594s ok 5 /thread/thread5 594s ok 6 /thread/thread6 594s ok 7 /thread/thread7 594s # End of thread tests 594s ok - glib/mount-operation.test 594s # Running test: glib/thread.test 594s ok - glib/thread.test 594s # Running test: glib/mkenums.py.test 594s TAP version 13 594s ok 1 __main__.TestMkenums.test_available_in 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmp3433uvq2 594s # rspfile: False 594s # /tmp/tmp3433uvq2/tmpuaqpeczb.h: 594s # typedef enum { 594s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 594s # } GDBusServerFlags; 594s # 594s # /tmp/tmp3433uvq2/tmp877hebwr.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3433uvq2/tmp877hebwr.template', '/tmp/tmp3433uvq2/tmpuaqpeczb.h'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmp3433uvq2/tmpuaqpeczb.h 594s # basename: tmpuaqpeczb.h 594s # enumeration-production 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-header 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-production 594s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 594s # valuenick: user 594s # valuenum: 4 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-tail 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 2 __main__.TestMkenums.test_comma_in_enum_value 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpt2ljw58z 594s # rspfile: False 594s # /tmp/tmpt2ljw58z/tmp3x9bq2ih.h: 594s # typedef enum { 594s # ENUM_VALUE_WITH_COMMA = ',', 594s # } TestCommaEnum; 594s # 594s # /tmp/tmpt2ljw58z/tmpocr0j_y6.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt2ljw58z/tmpocr0j_y6.template', '/tmp/tmpt2ljw58z/tmp3x9bq2ih.h'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmpt2ljw58z/tmp3x9bq2ih.h 594s # basename: tmp3x9bq2ih.h 594s # enumeration-production 594s # EnumName: TestCommaEnum 594s # enum_name: test_comma_enum 594s # ENUMNAME: TEST_COMMA_ENUM 594s # ENUMSHORT: COMMA_ENUM 594s # ENUMPREFIX: TEST 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-header 594s # EnumName: TestCommaEnum 594s # enum_name: test_comma_enum 594s # ENUMNAME: TEST_COMMA_ENUM 594s # ENUMSHORT: COMMA_ENUM 594s # ENUMPREFIX: TEST 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-production 594s # VALUENAME: ENUM_VALUE_WITH_COMMA 594s # valuenick: comma 594s # valuenum: 44 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-tail 594s # EnumName: TestCommaEnum 594s # enum_name: test_comma_enum 594s # ENUMNAME: TEST_COMMA_ENUM 594s # ENUMSHORT: COMMA_ENUM 594s # ENUMPREFIX: TEST 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 3 __main__.TestMkenums.test_deprecated_in 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmp27t_panz 594s # rspfile: False 594s # /tmp/tmp27t_panz/tmphcwv0u48.h: 594s # typedef enum { 594s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 594s # } GDBusServerFlags; 594s # 594s # /tmp/tmp27t_panz/tmpqmcz0fk8.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp27t_panz/tmpqmcz0fk8.template', '/tmp/tmp27t_panz/tmphcwv0u48.h'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmp27t_panz/tmphcwv0u48.h 594s # basename: tmphcwv0u48.h 594s # enumeration-production 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-header 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-production 594s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 594s # valuenick: user 594s # valuenum: 4 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-tail 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 4 __main__.TestMkenums.test_deprecated_in_for 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpovwaxycn 594s # rspfile: False 594s # /tmp/tmpovwaxycn/tmp6ga6r_j4.h: 594s # typedef enum { 594s # 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) 594s # } GDBusServerFlags; 594s # 594s # /tmp/tmpovwaxycn/tmpp5rdvj5g.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpovwaxycn/tmpp5rdvj5g.template', '/tmp/tmpovwaxycn/tmp6ga6r_j4.h'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmpovwaxycn/tmp6ga6r_j4.h 594s # basename: tmp6ga6r_j4.h 594s # enumeration-production 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-header 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-production 594s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 594s # valuenick: user 594s # valuenum: 4 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-tail 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 5 __main__.TestMkenums.test_empty_header 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpyl15j1pi 594s # rspfile: False 594s # /tmp/tmpyl15j1pi/tmpl2y7nqyr.h: 594s # /tmp/tmpyl15j1pi/tmp278b_15w.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyl15j1pi/tmp278b_15w.template', '/tmp/tmpyl15j1pi/tmpl2y7nqyr.h'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 6 __main__.TestMkenums.test_empty_template 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpliqcqztq 594s # rspfile: False 594s # /tmp/tmpliqcqztq/tmp0xiwl9pa.template: 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpliqcqztq/tmp0xiwl9pa.template'] 594s # Return code: 0 594s # Output: 594s # /* 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. */ 594s # 594s # 594s # /* Generated data ends here */ 594s # Error: 594s ok 7 __main__.TestMkenums.test_enum_name 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmp8kfclpv3 594s # rspfile: False 594s # /tmp/tmp8kfclpv3/tmpxxvv4lec.h: 594s # typedef enum _SomeEnumIdentifier { 594s # ENUM_VALUE 594s # } SomeEnumIdentifier; 594s # 594s # /tmp/tmp8kfclpv3/tmp90xlv082.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8kfclpv3/tmp90xlv082.template', '/tmp/tmp8kfclpv3/tmpxxvv4lec.h'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmp8kfclpv3/tmpxxvv4lec.h 594s # basename: tmpxxvv4lec.h 594s # enumeration-production 594s # EnumName: SomeEnumIdentifier 594s # enum_name: some_enum_identifier 594s # ENUMNAME: SOME_ENUM_IDENTIFIER 594s # ENUMSHORT: ENUM_IDENTIFIER 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-header 594s # EnumName: SomeEnumIdentifier 594s # enum_name: some_enum_identifier 594s # ENUMNAME: SOME_ENUM_IDENTIFIER 594s # ENUMSHORT: ENUM_IDENTIFIER 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-production 594s # VALUENAME: ENUM_VALUE 594s # valuenick: value 594s # valuenum: 0 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-tail 594s # EnumName: SomeEnumIdentifier 594s # enum_name: some_enum_identifier 594s # ENUMNAME: SOME_ENUM_IDENTIFIER 594s # ENUMSHORT: ENUM_IDENTIFIER 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 8 __main__.TestMkenums.test_enum_private_public 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpooo8mwew 594s # rspfile: False 594s # /tmp/tmpooo8mwew/tmpy14mm1wk.h: 594s # typedef enum { 594s # ENUM_VALUE_PUBLIC1, 594s # /*< private >*/ 594s # ENUM_VALUE_PRIVATE, 594s # } SomeEnumA 594s # 594s # /tmp/tmpooo8mwew/tmpfg3zbwpt.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpooo8mwew/tmpfg3zbwpt.template', '/tmp/tmpooo8mwew/tmpy14mm1wk.h'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmpooo8mwew/tmpy14mm1wk.h 594s # basename: tmpy14mm1wk.h 594s # enumeration-production 594s # EnumName: SomeEnumA 594s # enum_name: some_enum_a 594s # ENUMNAME: SOME_ENUM_A 594s # ENUMSHORT: ENUM_A 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-header 594s # EnumName: SomeEnumA 594s # enum_name: some_enum_a 594s # ENUMNAME: SOME_ENUM_A 594s # ENUMSHORT: ENUM_A 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-production 594s # VALUENAME: ENUM_VALUE_PUBLIC1 594s # valuenick: public1 594s # valuenum: 0 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-tail 594s # EnumName: SomeEnumA 594s # enum_name: some_enum_a 594s # ENUMNAME: SOME_ENUM_A 594s # ENUMSHORT: ENUM_A 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s # 594s # /tmp/tmpooo8mwew/tmpey3to60m.h: 594s # typedef enum { 594s # /*< private >*/ 594s # ENUM_VALUE_PRIVATE, 594s # /*< public >*/ 594s # ENUM_VALUE_PUBLIC2, 594s # } SomeEnumB; 594s # 594s # /tmp/tmpooo8mwew/tmp3hjp32s8.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpooo8mwew/tmp3hjp32s8.template', '/tmp/tmpooo8mwew/tmpey3to60m.h'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmpooo8mwew/tmpey3to60m.h 594s # basename: tmpey3to60m.h 594s # enumeration-production 594s # EnumName: SomeEnumB 594s # enum_name: some_enum_b 594s # ENUMNAME: SOME_ENUM_B 594s # ENUMSHORT: ENUM_B 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-header 594s # EnumName: SomeEnumB 594s # enum_name: some_enum_b 594s # ENUMNAME: SOME_ENUM_B 594s # ENUMSHORT: ENUM_B 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-production 594s # VALUENAME: ENUM_VALUE_PUBLIC2 594s # valuenick: public2 594s # valuenum: 1 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-tail 594s # EnumName: SomeEnumB 594s # enum_name: some_enum_b 594s # ENUMNAME: SOME_ENUM_B 594s # ENUMSHORT: ENUM_B 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmplykpi2kk 594s # rspfile: False 594s # /tmp/tmplykpi2kk/tmp5_67fo3h.h: 594s # typedef enum { 594s # /*< private >*/ 594s # ENUM_VALUE_PRIVATE = 5, 594s # /*< public >*/ 594s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 594s # } TestSymbolicEnum; 594s # 594s # /tmp/tmplykpi2kk/tmpbkhrsypb.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplykpi2kk/tmpbkhrsypb.template', '/tmp/tmplykpi2kk/tmp5_67fo3h.h'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmplykpi2kk/tmp5_67fo3h.h 594s # basename: tmp5_67fo3h.h 594s # enumeration-production 594s # EnumName: TestSymbolicEnum 594s # enum_name: test_symbolic_enum 594s # ENUMNAME: TEST_SYMBOLIC_ENUM 594s # ENUMSHORT: SYMBOLIC_ENUM 594s # ENUMPREFIX: TEST 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-header 594s # EnumName: TestSymbolicEnum 594s # enum_name: test_symbolic_enum 594s # ENUMNAME: TEST_SYMBOLIC_ENUM 594s # ENUMSHORT: SYMBOLIC_ENUM 594s # ENUMPREFIX: TEST 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-production 594s # VALUENAME: ENUM_VALUE_PUBLIC 594s # valuenick: public 594s # valuenum: 7 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-tail 594s # EnumName: TestSymbolicEnum 594s # enum_name: test_symbolic_enum 594s # ENUMNAME: TEST_SYMBOLIC_ENUM 594s # ENUMSHORT: SYMBOLIC_ENUM 594s # ENUMPREFIX: TEST 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmp84yj_c8y 594s # rspfile: False 594s # /tmp/tmp84yj_c8y/tmpulazobvn.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-tail ***/ 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp84yj_c8y/tmpulazobvn.template'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # filename: @filename@ 594s # basename: @basename@ 594s # file-tail 594s # filename: @filename@ 594s # basename: @basename@ 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s # WARNING: @filename@ used in file-header section. 594s # WARNING: @basename@ used in file-header section. 594s # WARNING: @filename@ used in file-tail section. 594s # WARNING: @basename@ used in file-tail section. 594s ok 11 __main__.TestMkenums.test_help 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmp8u5i8vpd 594s # rspfile: False 594s # Running: ['/usr/bin/glib-mkenums', '--help'] 594s # Return code: 0 594s # Output: 594s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 594s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 594s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 594s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 594s # [--comments COMMENT_TMPL] [--template TEMPLATE] 594s # [--output OUTPUT] [--version] 594s # [args ...] 594s # 594s # positional arguments: 594s # args One or more input files, or a single argument 594s # @rspfile_path pointing to a file that contains the 594s # actual arguments 594s # 594s # options: 594s # -h, --help show this help message and exit 594s # --identifier-prefix IDPREFIX 594s # Identifier prefix 594s # --symbol-prefix SYMPREFIX 594s # Symbol prefix 594s # --fhead FHEAD Output file header 594s # --ftail FTAIL Output file footer 594s # --fprod FPROD Put out TEXT every time a new input file is being 594s # processed. 594s # --eprod EPROD Per enum text, produced prior to value iterations 594s # --vhead VHEAD Value header, produced before iterating over enum 594s # values 594s # --vprod VPROD Value text, produced for each enum value. 594s # --vtail VTAIL Value tail, produced after iterating over enum values 594s # --comments COMMENT_TMPL 594s # Comment structure 594s # --template TEMPLATE Template file 594s # --output OUTPUT 594s # --version, -v Print version information 594s # 594s # Production text substitutions: 594s # @EnumName@ PrefixTheXEnum 594s # @enum_name@ prefix_the_xenum 594s # @ENUMNAME@ PREFIX_THE_XENUM 594s # @ENUMSHORT@ THE_XENUM 594s # @ENUMPREFIX@ PREFIX 594s # @enumsince@ the user-provided since value given 594s # @VALUENAME@ PREFIX_THE_XVALUE 594s # @valuenick@ the-xvalue 594s # @valuenum@ the integer value (limited support, Since: 2.26) 594s # @type@ either enum or flags 594s # @Type@ either Enum or Flags 594s # @TYPE@ either ENUM or FLAGS 594s # @filename@ name of current input file 594s # @basename@ base name of the current input file (Since: 2.22) 594s # Error: 594s ok 12 __main__.TestMkenums.test_no_args 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpoi3z10nc 594s # rspfile: False 594s # Running: ['/usr/bin/glib-mkenums'] 594s # Return code: 0 594s # Output: 594s # /* 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. */ 594s # 594s # 594s # /* Generated data ends here */ 594s # Error: 594s ok 13 __main__.TestMkenums.test_no_headers 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmp1fmopom2 594s # rspfile: False 594s # /tmp/tmp1fmopom2/tmp8zwp0v42.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1fmopom2/tmp8zwp0v42.template'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 14 __main__.TestMkenums.test_no_nick 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpavbtjrv_ 594s # rspfile: False 594s # /tmp/tmpavbtjrv_/tmpbve24ecw.h: 594s # typedef enum { 594s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 594s # } GeglSamplerType; 594s # 594s # /tmp/tmpavbtjrv_/tmphwm0ngjj.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpavbtjrv_/tmphwm0ngjj.template', '/tmp/tmpavbtjrv_/tmpbve24ecw.h'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmpavbtjrv_/tmpbve24ecw.h 594s # basename: tmpbve24ecw.h 594s # enumeration-production 594s # EnumName: GeglSamplerType 594s # enum_name: gegl_sampler_type 594s # ENUMNAME: GEGL_SAMPLER_TYPE 594s # ENUMSHORT: SAMPLER_TYPE 594s # ENUMPREFIX: GEGL 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-header 594s # EnumName: GeglSamplerType 594s # enum_name: gegl_sampler_type 594s # ENUMNAME: GEGL_SAMPLER_TYPE 594s # ENUMSHORT: SAMPLER_TYPE 594s # ENUMPREFIX: GEGL 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-production 594s # VALUENAME: GEGL_SAMPLER_NEAREST 594s # valuenick: nearest 594s # valuenum: 0 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-tail 594s # EnumName: GeglSamplerType 594s # enum_name: gegl_sampler_type 594s # ENUMNAME: GEGL_SAMPLER_TYPE 594s # ENUMSHORT: SAMPLER_TYPE 594s # ENUMPREFIX: GEGL 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 15 __main__.TestMkenums.test_non_utf8_encoding 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpsgq348uv 594s # rspfile: False 594s # /tmp/tmpsgq348uv/tmp380rn9wr.h: 594s # /* Copyright © La Peña */ 594s # typedef enum { 594s # ENUM_VALUE 594s # } SomeEnumIdentifier; 594s # 594s # /tmp/tmpsgq348uv/tmp7b9rnew1.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpsgq348uv/tmp7b9rnew1.template', '/tmp/tmpsgq348uv/tmp380rn9wr.h'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmpsgq348uv/tmp380rn9wr.h 594s # basename: tmp380rn9wr.h 594s # enumeration-production 594s # EnumName: SomeEnumIdentifier 594s # enum_name: some_enum_identifier 594s # ENUMNAME: SOME_ENUM_IDENTIFIER 594s # ENUMSHORT: ENUM_IDENTIFIER 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-header 594s # EnumName: SomeEnumIdentifier 594s # enum_name: some_enum_identifier 594s # ENUMNAME: SOME_ENUM_IDENTIFIER 594s # ENUMSHORT: ENUM_IDENTIFIER 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-production 594s # VALUENAME: ENUM_VALUE 594s # valuenick: value 594s # valuenum: 0 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-tail 594s # EnumName: SomeEnumIdentifier 594s # enum_name: some_enum_identifier 594s # ENUMNAME: SOME_ENUM_IDENTIFIER 594s # ENUMSHORT: ENUM_IDENTIFIER 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 594s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 594s ok 16 __main__.TestMkenums.test_reproducible 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpha6i2n_a 594s # rspfile: False 594s # /tmp/tmpha6i2n_a/tmp9umb2o4b.template: template 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpha6i2n_a/tmp9umb2o4b.template', '/tmp/tmpha6i2n_a/tmp2ghb3uq51.h', '/tmp/tmpha6i2n_a/tmpmdnqeq7w2.h'] 594s # Return code: 0 594s # Output: 594s # /* 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. */ 594s # 594s # 594s # /* Generated data ends here */ 594s # Error: 594s # 594s # /tmp/tmpha6i2n_a/tmpntrn6vw7.template: template 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpha6i2n_a/tmpntrn6vw7.template', '/tmp/tmpha6i2n_a/tmpmdnqeq7w2.h', '/tmp/tmpha6i2n_a/tmp2ghb3uq51.h'] 594s # Return code: 0 594s # Output: 594s # /* 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. */ 594s # 594s # 594s # /* Generated data ends here */ 594s # Error: 594s ok 17 __main__.TestMkenums.test_since 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpalddsqsi 594s # rspfile: False 594s # /tmp/tmpalddsqsi/tmpsuz3wfys.h: 594s # typedef enum { /*< since=1.0 >*/ 594s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 594s # } QmiWmsMessageProtocol; 594s # 594s # /tmp/tmpalddsqsi/tmpa67q40ac.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpalddsqsi/tmpa67q40ac.template', '/tmp/tmpalddsqsi/tmpsuz3wfys.h'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmpalddsqsi/tmpsuz3wfys.h 594s # basename: tmpsuz3wfys.h 594s # enumeration-production 594s # EnumName: QmiWmsMessageProtocol 594s # enum_name: qmi_wms_message_protocol 594s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 594s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 594s # ENUMPREFIX: QMI 594s # enumsince: 1.0 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-header 594s # EnumName: QmiWmsMessageProtocol 594s # enum_name: qmi_wms_message_protocol 594s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 594s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 594s # ENUMPREFIX: QMI 594s # enumsince: 1.0 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-production 594s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 594s # valuenick: cdma 594s # valuenum: 0 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-tail 594s # EnumName: QmiWmsMessageProtocol 594s # enum_name: qmi_wms_message_protocol 594s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 594s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 594s # ENUMPREFIX: QMI 594s # enumsince: 1.0 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 18 __main__.TestMkenums.test_with_double_quotes 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmp8906huh6 594s # rspfile: False 594s # /tmp/tmp8906huh6/tmpfg2ixsxd.h: 594s # typedef enum { 594s # FOO_VALUE /*< nick="eek, a comma" >*/ 594s # } Foo; 594s # 594s # /tmp/tmp8906huh6/tmpqylhwqfn.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8906huh6/tmpqylhwqfn.template', '/tmp/tmp8906huh6/tmpfg2ixsxd.h'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmp8906huh6/tmpfg2ixsxd.h 594s # basename: tmpfg2ixsxd.h 594s # enumeration-production 594s # EnumName: Foo 594s # enum_name: foo_ 594s # ENUMNAME: FOO_ 594s # ENUMSHORT: 594s # ENUMPREFIX: FOO 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-header 594s # EnumName: Foo 594s # enum_name: foo_ 594s # ENUMNAME: FOO_ 594s # ENUMSHORT: 594s # ENUMPREFIX: FOO 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-production 594s # VALUENAME: FOO_VALUE 594s # valuenick: eek, a comma 594s # valuenum: 0 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-tail 594s # EnumName: Foo 594s # enum_name: foo_ 594s # ENUMNAME: FOO_ 594s # ENUMSHORT: 594s # ENUMPREFIX: FOO 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 19 __main__.TestRspMkenums.test_available_in 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmp8luxgq_b 594s # rspfile: True 594s # /tmp/tmp8luxgq_b/tmpyx_m0lmt.h: 594s # typedef enum { 594s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 594s # } GDBusServerFlags; 594s # 594s # /tmp/tmp8luxgq_b/tmp43ejwq_8.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Response file contains: --template /tmp/tmp8luxgq_b/tmp43ejwq_8.template /tmp/tmp8luxgq_b/tmpyx_m0lmt.h 594s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8luxgq_b/tmp5a1eor78'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmp8luxgq_b/tmpyx_m0lmt.h 594s # basename: tmpyx_m0lmt.h 594s # enumeration-production 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-header 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-production 594s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 594s # valuenick: user 594s # valuenum: 4 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-tail 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpv88h0t3g 594s # rspfile: True 594s # /tmp/tmpv88h0t3g/tmpm1s0exus.h: 594s # typedef enum { 594s # ENUM_VALUE_WITH_COMMA = ',', 594s # } TestCommaEnum; 594s # 594s # /tmp/tmpv88h0t3g/tmpi4lxjrb6.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Response file contains: --template /tmp/tmpv88h0t3g/tmpi4lxjrb6.template /tmp/tmpv88h0t3g/tmpm1s0exus.h 594s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpv88h0t3g/tmptgf41fy6'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmpv88h0t3g/tmpm1s0exus.h 594s # basename: tmpm1s0exus.h 594s # enumeration-production 594s # EnumName: TestCommaEnum 594s # enum_name: test_comma_enum 594s # ENUMNAME: TEST_COMMA_ENUM 594s # ENUMSHORT: COMMA_ENUM 594s # ENUMPREFIX: TEST 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-header 594s # EnumName: TestCommaEnum 594s # enum_name: test_comma_enum 594s # ENUMNAME: TEST_COMMA_ENUM 594s # ENUMSHORT: COMMA_ENUM 594s # ENUMPREFIX: TEST 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-production 594s # VALUENAME: ENUM_VALUE_WITH_COMMA 594s # valuenick: comma 594s # valuenum: 44 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-tail 594s # EnumName: TestCommaEnum 594s # enum_name: test_comma_enum 594s # ENUMNAME: TEST_COMMA_ENUM 594s # ENUMSHORT: COMMA_ENUM 594s # ENUMPREFIX: TEST 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 21 __main__.TestRspMkenums.test_deprecated_in 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpn0w8onrl 594s # rspfile: True 594s # /tmp/tmpn0w8onrl/tmpjjopo51e.h: 594s # typedef enum { 594s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 594s # } GDBusServerFlags; 594s # 594s # /tmp/tmpn0w8onrl/tmpweijfg1m.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Response file contains: --template /tmp/tmpn0w8onrl/tmpweijfg1m.template /tmp/tmpn0w8onrl/tmpjjopo51e.h 594s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpn0w8onrl/tmpnvt3fbuy'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmpn0w8onrl/tmpjjopo51e.h 594s # basename: tmpjjopo51e.h 594s # enumeration-production 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-header 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-production 594s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 594s # valuenick: user 594s # valuenum: 4 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-tail 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpfouse3s5 594s # rspfile: True 594s # /tmp/tmpfouse3s5/tmpmgjaj1zg.h: 594s # typedef enum { 594s # 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) 594s # } GDBusServerFlags; 594s # 594s # /tmp/tmpfouse3s5/tmplfadb8dr.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Response file contains: --template /tmp/tmpfouse3s5/tmplfadb8dr.template /tmp/tmpfouse3s5/tmpmgjaj1zg.h 594s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfouse3s5/tmpfsx9l5eq'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmpfouse3s5/tmpmgjaj1zg.h 594s # basename: tmpmgjaj1zg.h 594s # enumeration-production 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-header 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-production 594s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 594s # valuenick: user 594s # valuenum: 4 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # value-tail 594s # EnumName: GDBusServerFlags 594s # enum_name: g_dbus_server_flags 594s # ENUMNAME: G_DBUS_SERVER_FLAGS 594s # ENUMSHORT: DBUS_SERVER_FLAGS 594s # ENUMPREFIX: G 594s # enumsince: 594s # type: flags 594s # Type: Flags 594s # TYPE: FLAGS 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 23 __main__.TestRspMkenums.test_empty_header 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpx75vzsnz 594s # rspfile: True 594s # /tmp/tmpx75vzsnz/tmp82xnip2n.h: 594s # /tmp/tmpx75vzsnz/tmp4efi0tn5.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Response file contains: --template /tmp/tmpx75vzsnz/tmp4efi0tn5.template /tmp/tmpx75vzsnz/tmp82xnip2n.h 594s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpx75vzsnz/tmpzcnssapp'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 24 __main__.TestRspMkenums.test_empty_template 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpsb3xyp5x 594s # rspfile: True 594s # /tmp/tmpsb3xyp5x/tmp81dhma2j.template: 594s # Response file contains: --template /tmp/tmpsb3xyp5x/tmp81dhma2j.template 594s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsb3xyp5x/tmprrk7u15g'] 594s # Return code: 0 594s # Output: 594s # /* 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. */ 594s # 594s # 594s # /* Generated data ends here */ 594s # Error: 594s ok 25 __main__.TestRspMkenums.test_enum_name 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpfudgg8gm 594s # rspfile: True 594s # /tmp/tmpfudgg8gm/tmpl6qtl0hr.h: 594s # typedef enum _SomeEnumIdentifier { 594s # ENUM_VALUE 594s # } SomeEnumIdentifier; 594s # 594s # /tmp/tmpfudgg8gm/tmpijllitnc.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Response file contains: --template /tmp/tmpfudgg8gm/tmpijllitnc.template /tmp/tmpfudgg8gm/tmpl6qtl0hr.h 594s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfudgg8gm/tmpxxtex1_6'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmpfudgg8gm/tmpl6qtl0hr.h 594s # basename: tmpl6qtl0hr.h 594s # enumeration-production 594s # EnumName: SomeEnumIdentifier 594s # enum_name: some_enum_identifier 594s # ENUMNAME: SOME_ENUM_IDENTIFIER 594s # ENUMSHORT: ENUM_IDENTIFIER 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-header 594s # EnumName: SomeEnumIdentifier 594s # enum_name: some_enum_identifier 594s # ENUMNAME: SOME_ENUM_IDENTIFIER 594s # ENUMSHORT: ENUM_IDENTIFIER 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-production 594s # VALUENAME: ENUM_VALUE 594s # valuenick: value 594s # valuenum: 0 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-tail 594s # EnumName: SomeEnumIdentifier 594s # enum_name: some_enum_identifier 594s # ENUMNAME: SOME_ENUM_IDENTIFIER 594s # ENUMSHORT: ENUM_IDENTIFIER 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 26 __main__.TestRspMkenums.test_enum_private_public 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmp4xcn9z4o 594s # rspfile: True 594s # /tmp/tmp4xcn9z4o/tmpisjur3t6.h: 594s # typedef enum { 594s # ENUM_VALUE_PUBLIC1, 594s # /*< private >*/ 594s # ENUM_VALUE_PRIVATE, 594s # } SomeEnumA 594s # 594s # /tmp/tmp4xcn9z4o/tmprwl6_mcb.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Response file contains: --template /tmp/tmp4xcn9z4o/tmprwl6_mcb.template /tmp/tmp4xcn9z4o/tmpisjur3t6.h 594s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4xcn9z4o/tmp2kas1065'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmp4xcn9z4o/tmpisjur3t6.h 594s # basename: tmpisjur3t6.h 594s # enumeration-production 594s # EnumName: SomeEnumA 594s # enum_name: some_enum_a 594s # ENUMNAME: SOME_ENUM_A 594s # ENUMSHORT: ENUM_A 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-header 594s # EnumName: SomeEnumA 594s # enum_name: some_enum_a 594s # ENUMNAME: SOME_ENUM_A 594s # ENUMSHORT: ENUM_A 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-production 594s # VALUENAME: ENUM_VALUE_PUBLIC1 594s # valuenick: public1 594s # valuenum: 0 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-tail 594s # EnumName: SomeEnumA 594s # enum_name: some_enum_a 594s # ENUMNAME: SOME_ENUM_A 594s # ENUMSHORT: ENUM_A 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s # 594s # /tmp/tmp4xcn9z4o/tmpnz_9oeeb.h: 594s # typedef enum { 594s # /*< private >*/ 594s # ENUM_VALUE_PRIVATE, 594s # /*< public >*/ 594s # ENUM_VALUE_PUBLIC2, 594s # } SomeEnumB; 594s # 594s # /tmp/tmp4xcn9z4o/tmpbrqecoj8.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Response file contains: --template /tmp/tmp4xcn9z4o/tmpbrqecoj8.template /tmp/tmp4xcn9z4o/tmpnz_9oeeb.h 594s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4xcn9z4o/tmpynjpx0zh'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmp4xcn9z4o/tmpnz_9oeeb.h 594s # basename: tmpnz_9oeeb.h 594s # enumeration-production 594s # EnumName: SomeEnumB 594s # enum_name: some_enum_b 594s # ENUMNAME: SOME_ENUM_B 594s # ENUMSHORT: ENUM_B 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-header 594s # EnumName: SomeEnumB 594s # enum_name: some_enum_b 594s # ENUMNAME: SOME_ENUM_B 594s # ENUMSHORT: ENUM_B 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-production 594s # VALUENAME: ENUM_VALUE_PUBLIC2 594s # valuenick: public2 594s # valuenum: 1 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-tail 594s # EnumName: SomeEnumB 594s # enum_name: some_enum_b 594s # ENUMNAME: SOME_ENUM_B 594s # ENUMSHORT: ENUM_B 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmp8nv138d7 594s # rspfile: True 594s # /tmp/tmp8nv138d7/tmpvotusctj.h: 594s # typedef enum { 594s # /*< private >*/ 594s # ENUM_VALUE_PRIVATE = 5, 594s # /*< public >*/ 594s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 594s # } TestSymbolicEnum; 594s # 594s # /tmp/tmp8nv138d7/tmp7quhs_4l.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Response file contains: --template /tmp/tmp8nv138d7/tmp7quhs_4l.template /tmp/tmp8nv138d7/tmpvotusctj.h 594s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8nv138d7/tmpk9z8y7sj'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmp8nv138d7/tmpvotusctj.h 594s # basename: tmpvotusctj.h 594s # enumeration-production 594s # EnumName: TestSymbolicEnum 594s # enum_name: test_symbolic_enum 594s # ENUMNAME: TEST_SYMBOLIC_ENUM 594s # ENUMSHORT: SYMBOLIC_ENUM 594s # ENUMPREFIX: TEST 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-header 594s # EnumName: TestSymbolicEnum 594s # enum_name: test_symbolic_enum 594s # ENUMNAME: TEST_SYMBOLIC_ENUM 594s # ENUMSHORT: SYMBOLIC_ENUM 594s # ENUMPREFIX: TEST 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-production 594s # VALUENAME: ENUM_VALUE_PUBLIC 594s # valuenick: public 594s # valuenum: 7 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-tail 594s # EnumName: TestSymbolicEnum 594s # enum_name: test_symbolic_enum 594s # ENUMNAME: TEST_SYMBOLIC_ENUM 594s # ENUMSHORT: SYMBOLIC_ENUM 594s # ENUMPREFIX: TEST 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmp2m6hp56u 594s # rspfile: True 594s # /tmp/tmp2m6hp56u/tmpbp2y9_im.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-tail ***/ 594s # Response file contains: --template /tmp/tmp2m6hp56u/tmpbp2y9_im.template 594s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2m6hp56u/tmppjpuvjwz'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # filename: @filename@ 594s # basename: @basename@ 594s # file-tail 594s # filename: @filename@ 594s # basename: @basename@ 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s # WARNING: @filename@ used in file-header section. 594s # WARNING: @basename@ used in file-header section. 594s # WARNING: @filename@ used in file-tail section. 594s # WARNING: @basename@ used in file-tail section. 594s ok 29 __main__.TestRspMkenums.test_help 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpl3p32w1k 594s # rspfile: True 594s # Response file contains: --help 594s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpl3p32w1k/tmp01d6clsl'] 594s # Return code: 0 594s # Output: 594s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 594s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 594s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 594s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 594s # [--comments COMMENT_TMPL] [--template TEMPLATE] 594s # [--output OUTPUT] [--version] 594s # [args ...] 594s # 594s # positional arguments: 594s # args One or more input files, or a single argument 594s # @rspfile_path pointing to a file that contains the 594s # actual arguments 594s # 594s # options: 594s # -h, --help show this help message and exit 594s # --identifier-prefix IDPREFIX 594s # Identifier prefix 594s # --symbol-prefix SYMPREFIX 594s # Symbol prefix 594s # --fhead FHEAD Output file header 594s # --ftail FTAIL Output file footer 594s # --fprod FPROD Put out TEXT every time a new input file is being 594s # processed. 594s # --eprod EPROD Per enum text, produced prior to value iterations 594s # --vhead VHEAD Value header, produced before iterating over enum 594s # values 594s # --vprod VPROD Value text, produced for each enum value. 594s # --vtail VTAIL Value tail, produced after iterating over enum values 594s # --comments COMMENT_TMPL 594s # Comment structure 594s # --template TEMPLATE Template file 594s # --output OUTPUT 594s # --version, -v Print version information 594s # 594s # Production text substitutions: 594s # @EnumName@ PrefixTheXEnum 594s # @enum_name@ prefix_the_xenum 594s # @ENUMNAME@ PREFIX_THE_XENUM 594s # @ENUMSHORT@ THE_XENUM 594s # @ENUMPREFIX@ PREFIX 594s # @enumsince@ the user-provided since value given 594s # @VALUENAME@ PREFIX_THE_XVALUE 594s # @valuenick@ the-xvalue 594s # @valuenum@ the integer value (limited support, Since: 2.26) 594s # @type@ either enum or flags 594s # @Type@ either Enum or Flags 594s # @TYPE@ either ENUM or FLAGS 594s # @filename@ name of current input file 594s # @basename@ base name of the current input file (Since: 2.22) 594s # Error: 594s ok 30 __main__.TestRspMkenums.test_no_args 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpx_ln1i3k 594s # rspfile: True 594s # Response file contains: 594s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpx_ln1i3k/tmpequwgff1'] 594s # Return code: 0 594s # Output: 594s # /* 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. */ 594s # 594s # 594s # /* Generated data ends here */ 594s # Error: 594s ok 31 __main__.TestRspMkenums.test_no_headers 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmp5vbgi5mo 594s # rspfile: True 594s # /tmp/tmp5vbgi5mo/tmpaslui4md.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Response file contains: --template /tmp/tmp5vbgi5mo/tmpaslui4md.template 594s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5vbgi5mo/tmp53cshzok'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 32 __main__.TestRspMkenums.test_no_nick 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmpzs3jat24 594s # rspfile: True 594s # /tmp/tmpzs3jat24/tmpfjvx20dx.h: 594s # typedef enum { 594s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 594s # } GeglSamplerType; 594s # 594s # /tmp/tmpzs3jat24/tmpyd6vqlct.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Response file contains: --template /tmp/tmpzs3jat24/tmpyd6vqlct.template /tmp/tmpzs3jat24/tmpfjvx20dx.h 594s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzs3jat24/tmph68sdxsj'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmpzs3jat24/tmpfjvx20dx.h 594s # basename: tmpfjvx20dx.h 594s # enumeration-production 594s # EnumName: GeglSamplerType 594s # enum_name: gegl_sampler_type 594s # ENUMNAME: GEGL_SAMPLER_TYPE 594s # ENUMSHORT: SAMPLER_TYPE 594s # ENUMPREFIX: GEGL 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-header 594s # EnumName: GeglSamplerType 594s # enum_name: gegl_sampler_type 594s # ENUMNAME: GEGL_SAMPLER_TYPE 594s # ENUMSHORT: SAMPLER_TYPE 594s # ENUMPREFIX: GEGL 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-production 594s # VALUENAME: GEGL_SAMPLER_NEAREST 594s # valuenick: nearest 594s # valuenum: 0 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-tail 594s # EnumName: GeglSamplerType 594s # enum_name: gegl_sampler_type 594s # ENUMNAME: GEGL_SAMPLER_TYPE 594s # ENUMSHORT: SAMPLER_TYPE 594s # ENUMPREFIX: GEGL 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 594s # glib-mkenums: /usr/bin/glib-mkenums 594s # tmpdir: /tmp/tmppi7px7fw 594s # rspfile: True 594s # /tmp/tmppi7px7fw/tmpa3y9ut0c.h: 594s # /* Copyright © La Peña */ 594s # typedef enum { 594s # ENUM_VALUE 594s # } SomeEnumIdentifier; 594s # 594s # /tmp/tmppi7px7fw/tmpmnv98f25.template: 594s # /*** BEGIN file-header ***/ 594s # file-header 594s # /*** END file-header ***/ 594s # 594s # /*** BEGIN file-production ***/ 594s # file-production 594s # filename: @filename@ 594s # basename: @basename@ 594s # /*** END file-production ***/ 594s # 594s # /*** BEGIN enumeration-production ***/ 594s # enumeration-production 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END enumeration-production ***/ 594s # 594s # /*** BEGIN value-header ***/ 594s # value-header 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-header ***/ 594s # 594s # /*** BEGIN value-production ***/ 594s # value-production 594s # VALUENAME: @VALUENAME@ 594s # valuenick: @valuenick@ 594s # valuenum: @valuenum@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-production ***/ 594s # 594s # /*** BEGIN value-tail ***/ 594s # value-tail 594s # EnumName: @EnumName@ 594s # enum_name: @enum_name@ 594s # ENUMNAME: @ENUMNAME@ 594s # ENUMSHORT: @ENUMSHORT@ 594s # ENUMPREFIX: @ENUMPREFIX@ 594s # enumsince: @enumsince@ 594s # type: @type@ 594s # Type: @Type@ 594s # TYPE: @TYPE@ 594s # /*** END value-tail ***/ 594s # 594s # /*** BEGIN comment ***/ 594s # comment 594s # comment: @comment@ 594s # /*** END comment ***/ 594s # 594s # /*** BEGIN file-tail ***/ 594s # file-tail 594s # /*** END file-tail ***/ 594s # 594s # Response file contains: --template /tmp/tmppi7px7fw/tmpmnv98f25.template /tmp/tmppi7px7fw/tmpa3y9ut0c.h 594s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppi7px7fw/tmp_ozi548f'] 594s # Return code: 0 594s # Output: 594s # comment 594s # 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. 594s # 594s # 594s # file-header 594s # file-production 594s # filename: /tmp/tmppi7px7fw/tmpa3y9ut0c.h 594s # basename: tmpa3y9ut0c.h 594s # enumeration-production 594s # EnumName: SomeEnumIdentifier 594s # enum_name: some_enum_identifier 594s # ENUMNAME: SOME_ENUM_IDENTIFIER 594s # ENUMSHORT: ENUM_IDENTIFIER 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-header 594s # EnumName: SomeEnumIdentifier 594s # enum_name: some_enum_identifier 594s # ENUMNAME: SOME_ENUM_IDENTIFIER 594s # ENUMSHORT: ENUM_IDENTIFIER 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-production 594s # VALUENAME: ENUM_VALUE 594s # valuenick: value 594s # valuenum: 0 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # value-tail 594s # EnumName: SomeEnumIdentifier 594s # enum_name: some_enum_identifier 594s # ENUMNAME: SOME_ENUM_IDENTIFIER 594s # ENUMSHORT: ENUM_IDENTIFIER 594s # ENUMPREFIX: SOME 594s # enumsince: 594s # type: enum 594s # Type: Enum 594s # TYPE: ENUM 594s # file-tail 594s # 594s # comment 594s # comment: Generated data ends here 594s # Error: 594s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 594s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 595s ok 34 __main__.TestRspMkenums.test_reproducible 595s # glib-mkenums: /usr/bin/glib-mkenums 595s # tmpdir: /tmp/tmpx51hsire 595s # rspfile: True 595s # /tmp/tmpx51hsire/tmpgbewje5d.template: template 595s # Response file contains: --template /tmp/tmpx51hsire/tmpgbewje5d.template /tmp/tmpx51hsire/tmpdzxd0ei41.h /tmp/tmpx51hsire/tmpb0sjdord2.h 595s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpx51hsire/tmpov109067'] 595s # Return code: 0 595s # Output: 595s # /* 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. */ 595s # 595s # 595s # /* Generated data ends here */ 595s # Error: 595s # 595s # /tmp/tmpx51hsire/tmpebj07_xo.template: template 595s # Response file contains: --template /tmp/tmpx51hsire/tmpebj07_xo.template /tmp/tmpx51hsire/tmpb0sjdord2.h /tmp/tmpx51hsire/tmpdzxd0ei41.h 595s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpx51hsire/tmpmvmoiazx'] 595s # Return code: 0 595s # Output: 595s # /* 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. */ 595s # 595s # 595s # /* Generated data ends here */ 595s # Error: 595s ok 35 __main__.TestRspMkenums.test_since 595s # glib-mkenums: /usr/bin/glib-mkenums 595s # tmpdir: /tmp/tmppp7vty3d 595s # rspfile: True 595s # /tmp/tmppp7vty3d/tmp1qr6l1m8.h: 595s # typedef enum { /*< since=1.0 >*/ 595s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 595s # } QmiWmsMessageProtocol; 595s # 595s # /tmp/tmppp7vty3d/tmps2feds70.template: 595s # /*** BEGIN file-header ***/ 595s # file-header 595s # /*** END file-header ***/ 595s # 595s # /*** BEGIN file-production ***/ 595s # file-production 595s # filename: @filename@ 595s # basename: @basename@ 595s # /*** END file-production ***/ 595s # 595s # /*** BEGIN enumeration-production ***/ 595s # enumeration-production 595s # EnumName: @EnumName@ 595s # enum_name: @enum_name@ 595s # ENUMNAME: @ENUMNAME@ 595s # ENUMSHORT: @ENUMSHORT@ 595s # ENUMPREFIX: @ENUMPREFIX@ 595s # enumsince: @enumsince@ 595s # type: @type@ 595s # Type: @Type@ 595s # TYPE: @TYPE@ 595s # /*** END enumeration-production ***/ 595s # 595s # /*** BEGIN value-header ***/ 595s # value-header 595s # EnumName: @EnumName@ 595s # enum_name: @enum_name@ 595s # ENUMNAME: @ENUMNAME@ 595s # ENUMSHORT: @ENUMSHORT@ 595s # ENUMPREFIX: @ENUMPREFIX@ 595s # enumsince: @enumsince@ 595s # type: @type@ 595s # Type: @Type@ 595s # TYPE: @TYPE@ 595s # /*** END value-header ***/ 595s # 595s # /*** BEGIN value-production ***/ 595s # value-production 595s # VALUENAME: @VALUENAME@ 595s # valuenick: @valuenick@ 595s # valuenum: @valuenum@ 595s # type: @type@ 595s # Type: @Type@ 595s # TYPE: @TYPE@ 595s # /*** END value-production ***/ 595s # 595s # /*** BEGIN value-tail ***/ 595s # value-tail 595s # EnumName: @EnumName@ 595s # enum_name: @enum_name@ 595s # ENUMNAME: @ENUMNAME@ 595s # ENUMSHORT: @ENUMSHORT@ 595s # ENUMPREFIX: @ENUMPREFIX@ 595s # enumsince: @enumsince@ 595s # type: @type@ 595s # Type: @Type@ 595s # TYPE: @TYPE@ 595s # /*** END value-tail ***/ 595s # 595s # /*** BEGIN comment ***/ 595s # comment 595s # comment: @comment@ 595s # /*** END comment ***/ 595s # 595s # /*** BEGIN file-tail ***/ 595s # file-tail 595s # /*** END file-tail ***/ 595s # 595s # Response file contains: --template /tmp/tmppp7vty3d/tmps2feds70.template /tmp/tmppp7vty3d/tmp1qr6l1m8.h 595s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppp7vty3d/tmp_ee_2lvl'] 595s # Return code: 0 595s # Output: 595s # comment 595s # 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. 595s # 595s # 595s # file-header 595s # file-production 595s # filename: /tmp/tmppp7vty3d/tmp1qr6l1m8.h 595s # basename: tmp1qr6l1m8.h 595s # enumeration-production 595s # EnumName: QmiWmsMessageProtocol 595s # enum_name: qmi_wms_message_protocol 595s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 595s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 595s # ENUMPREFIX: QMI 595s # enumsince: 1.0 595s # type: enum 595s # Type: Enum 595s # TYPE: ENUM 595s # value-header 595s # EnumName: QmiWmsMessageProtocol 595s # enum_name: qmi_wms_message_protocol 595s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 595s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 595s # ENUMPREFIX: QMI 595s # enumsince: 1.0 595s # type: enum 595s # Type: Enum 595s # TYPE: ENUM 595s # value-production 595s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 595s # valuenick: cdma 595s # valuenum: 0 595s # type: enum 595s # Type: Enum 595s # TYPE: ENUM 595s # value-tail 595s # EnumName: QmiWmsMessageProtocol 595s # enum_name: qmi_wms_message_protocol 595s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 595s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 595s # ENUMPREFIX: QMI 595s # enumsince: 1.0 595s # type: enum 595s # Type: Enum 595s # TYPE: ENUM 595s # file-tail 595s # 595s # comment 595s # comment: Generated data ends here 595s # Error: 595s ok 36 __main__.TestRspMkenums.test_with_double_quotes 595s # glib-mkenums: /usr/bin/glib-mkenums 595s # tmpdir: /tmp/tmpsvseojau 595s # rspfile: True 595s # /tmp/tmpsvseojau/tmp1cm36u44.h: 595s # typedef enum { 595s # FOO_VALUE /*< nick="eek, a comma" >*/ 595s # } Foo; 595s # 595s # /tmp/tmpsvseojau/tmpztdfm6li.template: 595s # /*** BEGIN file-header ***/ 595s # file-header 595s # /*** END file-header ***/ 595s # 595s # /*** BEGIN file-production ***/ 595s # file-production 595s # filename: @filename@ 595s # basename: @basename@ 595s # /*** END file-production ***/ 595s # 595s # /*** BEGIN enumeration-production ***/ 595s # enumeration-production 595s # EnumName: @EnumName@ 595s # enum_name: @enum_name@ 595s # ENUMNAME: @ENUMNAME@ 595s # ENUMSHORT: @ENUMSHORT@ 595s # ENUMPREFIX: @ENUMPREFIX@ 595s # enumsince: @enumsince@ 595s # type: @type@ 595s # Type: @Type@ 595s # TYPE: @TYPE@ 595s # /*** END enumeration-production ***/ 595s # 595s # /*** BEGIN value-header ***/ 595s # value-header 595s # EnumName: @EnumName@ 595s # enum_name: @enum_name@ 595s # ENUMNAME: @ENUMNAME@ 595s # ENUMSHORT: @ENUMSHORT@ 595s # ENUMPREFIX: @ENUMPREFIX@ 595s # enumsince: @enumsince@ 595s # type: @type@ 595s # Type: @Type@ 595s # TYPE: @TYPE@ 595s # /*** END value-header ***/ 595s # 595s # /*** BEGIN value-production ***/ 595s # value-production 595s # VALUENAME: @VALUENAME@ 595s # valuenick: @valuenick@ 595s # valuenum: @valuenum@ 595s # type: @type@ 595s # Type: @Type@ 595s # TYPE: @TYPE@ 595s # /*** END value-production ***/ 595s # 595s # /*** BEGIN value-tail ***/ 595s # value-tail 595s # EnumName: @EnumName@ 595s # enum_name: @enum_name@ 595s # ENUMNAME: @ENUMNAME@ 595s # ENUMSHORT: @ENUMSHORT@ 595s # ENUMPREFIX: @ENUMPREFIX@ 595s # enumsince: @enumsince@ 595s # type: @type@ 595s # Type: @Type@ 595s # TYPE: @TYPE@ 595s # /*** END value-tail ***/ 595s # 595s # /*** BEGIN comment ***/ 595s # comment 595s # comment: @comment@ 595s # /*** END comment ***/ 595s # 595s # /*** BEGIN file-tail ***/ 595s # file-tail 595s # /*** END file-tail ***/ 595s # 595s # Response file contains: --template /tmp/tmpsvseojau/tmpztdfm6li.template /tmp/tmpsvseojau/tmp1cm36u44.h 595s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsvseojau/tmpyp1w6915'] 595s # Return code: 0 595s # Output: 595s # comment 595s # 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. 595s # 595s # 595s # file-header 595s # file-production 595s # filename: /tmp/tmpsvseojau/tmp1cm36u44.h 595s # basename: tmp1cm36u44.h 595s # enumeration-production 595s # EnumName: Foo 595s # enum_name: foo_ 595s # ENUMNAME: FOO_ 595s # ENUMSHORT: 595s # ENUMPREFIX: FOO 595s # enumsince: 595s # type: enum 595s # Type: Enum 595s # TYPE: ENUM 595s # value-header 595s # EnumName: Foo 595s # enum_name: foo_ 595s # ENUMNAME: FOO_ 595s # ENUMSHORT: 595s # ENUMPREFIX: FOO 595s # enumsince: 595s # type: enum 595s # Type: Enum 595s # TYPE: ENUM 595s # value-production 595s # VALUENAME: FOO_VALUE 595s # valuenick: eek, a comma 595s # valuenum: 0 595s # type: enum 595s # Type: Enum 595s # TYPE: ENUM 595s # value-tail 595s # EnumName: Foo 595s # enum_name: foo_ 595s # ENUMNAME: FOO_ 595s # ENUMSHORT: 595s # ENUMPREFIX: FOO 595s # enumsince: 595s # type: enum 595s # Type: Enum 595s # TYPE: ENUM 595s # file-tail 595s # 595s # comment 595s # comment: Generated data ends here 595s # Error: 595s 1..36 595s ok - glib/mkenums.py.test 595s # Running test: glib/callable-info.test 595s TAP version 14 595s # random seed: R02S00c284f36fe14987cbc1900b355ffe1e 595s 1..6 595s # Start of callable-info tests 595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_45DVJ3/callable-info/sync-function/.dirs/home 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_45DVJ3/callable-info/sync-function/.dirs/cache 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_45DVJ3/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_45DVJ3/callable-info/sync-function/.dirs/system-config2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_45DVJ3/callable-info/sync-function/.dirs/config 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_45DVJ3/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_45DVJ3/callable-info/sync-function/.dirs/system-data2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_45DVJ3/callable-info/sync-function/.dirs/data 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_45DVJ3/callable-info/sync-function/.dirs/state 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_45DVJ3/callable-info/sync-function/.dirs/runtime 595s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 595s ok 1 /callable-info/sync-function 595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_45DVJ3/callable-info/async-function/.dirs/home 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_45DVJ3/callable-info/async-function/.dirs/cache 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_45DVJ3/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_45DVJ3/callable-info/async-function/.dirs/system-config2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_45DVJ3/callable-info/async-function/.dirs/config 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_45DVJ3/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_45DVJ3/callable-info/async-function/.dirs/system-data2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_45DVJ3/callable-info/async-function/.dirs/data 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_45DVJ3/callable-info/async-function/.dirs/state 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_45DVJ3/callable-info/async-function/.dirs/runtime 595s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 595s ok 2 /callable-info/async-function 595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_45DVJ3/callable-info/is-method/.dirs/home 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_45DVJ3/callable-info/is-method/.dirs/cache 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_45DVJ3/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_45DVJ3/callable-info/is-method/.dirs/system-config2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_45DVJ3/callable-info/is-method/.dirs/config 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_45DVJ3/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_45DVJ3/callable-info/is-method/.dirs/system-data2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_45DVJ3/callable-info/is-method/.dirs/data 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_45DVJ3/callable-info/is-method/.dirs/state 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_45DVJ3/callable-info/is-method/.dirs/runtime 595s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 595s ok 3 /callable-info/is-method 595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_45DVJ3/callable-info/static-method/.dirs/home 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_45DVJ3/callable-info/static-method/.dirs/cache 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_45DVJ3/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_45DVJ3/callable-info/static-method/.dirs/system-config2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_45DVJ3/callable-info/static-method/.dirs/config 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_45DVJ3/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_45DVJ3/callable-info/static-method/.dirs/system-data2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_45DVJ3/callable-info/static-method/.dirs/data 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_45DVJ3/callable-info/static-method/.dirs/state 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_45DVJ3/callable-info/static-method/.dirs/runtime 595s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 595s ok 4 /callable-info/static-method 595s ok - glib/callable-info.test 595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_45DVJ3/callable-info/static-vfunc/.dirs/home 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_45DVJ3/callable-info/static-vfunc/.dirs/cache 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_45DVJ3/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_45DVJ3/callable-info/static-vfunc/.dirs/system-config2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_45DVJ3/callable-info/static-vfunc/.dirs/config 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_45DVJ3/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_45DVJ3/callable-info/static-vfunc/.dirs/system-data2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_45DVJ3/callable-info/static-vfunc/.dirs/data 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_45DVJ3/callable-info/static-vfunc/.dirs/state 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_45DVJ3/callable-info/static-vfunc/.dirs/runtime 595s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 595s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 595s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 595s # Start of platform tests 595s # Start of unix tests 595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_45DVJ3/callable-info/platform/unix/is-method/.dirs/home 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_45DVJ3/callable-info/platform/unix/is-method/.dirs/cache 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_45DVJ3/callable-info/platform/unix/is-method/.dirs/system-config1:/tmp/test_callable-info_45DVJ3/callable-info/platform/unix/is-method/.dirs/system-config2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_45DVJ3/callable-info/platform/unix/is-method/.dirs/config 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_45DVJ3/callable-info/platform/unix/is-method/.dirs/system-data1:/tmp/test_callable-info_45DVJ3/callable-info/platform/unix/is-method/.dirs/system-data2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_45DVJ3/callable-info/platform/unix/is-method/.dirs/data 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_45DVJ3/callable-info/platform/unix/is-method/.dirs/state 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_45DVJ3/callable-info/platform/unix/is-method/.dirs/runtime 595s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 595s # Checking DesktopAppInfo in Gio 595s # Checking DesktopAppInfo in GioUnix 595s ok 6 /callable-info/platform/unix/is-method 595s # End of unix tests 595s # End of platform tests 595s # End of callable-info tests 595s # Running test: glib/cxx-2b.test 595s ok - glib/cxx-2b.test 595s # Running test: glib/performance.test 595s TAP version 14 595s # random seed: R02S6a8e212e727c91bf40e900575c905cbe 595s 1..2 595s # Start of gtask tests 595s # 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. 595s ok 1 /gtask/name 595s # Start of name tests 595s # 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. 595s ok 2 /gtask/name/macro-wrapper 595s # End of name tests 595s # End of gtask tests 595s # Executing: glib/performance.test 600s # Executing: glib/performance.test 601s simple-construction: Millions of constructed objects per second: 42.980 603s simple-construction1: Millions of constructed objects per second: 178.822 605s # Executing: glib/performance.test 606s complex-construction: Millions of constructed objects per second: 13.301 610s # Executing: glib/performance.test 610s complex-construction1: Millions of constructed objects per second: 24.709 615s complex-construction2: Millions of constructed objects per second: 29.146 615s # Executing: glib/performance.test 616s finalization: Millions of finalized objects per second: 9.545 617s type-check: Million type checks per second: 201.95 618s emit-unhandled: Emissions per second: 9734873 620s emit-unhandled-empty: Emissions per second: 77521312 620s # Executing: glib/performance.test 621s emit-unhandled-generic: Emissions per second: 13234083 622s emit-unhandled-generic-empty: Emissions per second: 77527823 623s emit-unhandled-args: Emissions per second: 8091102 624s emit-handled: Emissions per second: 5957247 625s # Executing: glib/performance.test 625s emit-handled-empty: Emissions per second: 6182718 626s emit-handled-generic: Emissions per second: 6080145 628s emit-handled-generic-empty: Emissions per second: 11537283 629s emit-handled-args: Emissions per second: 5386229 630s # Executing: glib/performance.test 630s notify-unhandled: Notify (unhandled) per second: 54159540 631s notify-by-pspec-unhandled: Notify (unhandled) per second: 145797670 632s notify-handled: Notify per second: 3988670 633s notify-by-pspec-handled: Notify per second: 4191822 635s property-set: Property set per second: 31332454 635s # Executing: glib/performance.test 636s property-set-signaled: Property set per second: 8629836 637s property-get: Property get per second: 27841008 638s refcount: Million refs+unref per second: 71.57 639s refcount-1: Million refs+unref per second: 230.60 640s # Executing: glib/performance.test 640s ok - glib/performance.test 640s # Running test: glib/rcbox.test 640s refcount-toggle: Million refs+unref per second: 141.17 640s TAP version 14 640s # random seed: R02Sa8e5514269a2281c1861cafba69b4401 640s 1..8 640s # Start of rcbox tests 640s ok 1 /rcbox/new 640s # global_point = 0x5b7c3278a720 640s ok 2 /rcbox/release-full 640s # global_point_a = 0x5b7c3278a720 640s # global_point_b = 0x5b7c3278a7f0 640s ok 3 /rcbox/dup 640s ok 4 /rcbox/alignment 640s # End of rcbox tests 640s ok - glib/rcbox.test 640s # Running test: glib/testing-nonfatal.test 640s ok - glib/testing-nonfatal.test 640s # Running test: glib/gmenumodel.test 640s # Start of atomic-rcbox tests 640s ok 5 /atomic-rcbox/new 640s # global_point = 0x5b7c3278a7f0 640s ok 6 /atomic-rcbox/release-full 640s # global_point_a = 0x5b7c3278a7f0 640s # global_point_b = 0x5b7c3278a720 640s ok 7 /atomic-rcbox/dup 640s ok 8 /atomic-rcbox/alignment 640s # End of atomic-rcbox tests 640s TAP version 14 640s # random seed: R02Sdb698e8a916d2ce26d01e534511057e2 640s ** 640s 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?") 640s # 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?") 640s TAP version 14 640s # random seed: R02S5c30f57d08bda4f8f7c7bd0738b78a5e 640s 1..15 640s # Start of gmenu tests 640s ok 1 /gmenu/equality 641s ok 2 /gmenu/random 641s ok 3 /gmenu/attributes 641s ok 4 /gmenu/links 641s ok 5 /gmenu/mutable 641s ok 6 /gmenu/convenience 641s ok 7 /gmenu/menuitem 641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 641s ok 8 /gmenu/input-validation 641s # Start of dbus tests 642s ok 9 /gmenu/dbus/roundtrip 642s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 642s ok 10 /gmenu/dbus/subscriptions 643s ok 11 /gmenu/dbus/threaded 643s # Start of peer tests 644s ok 12 /gmenu/dbus/peer/roundtrip 644s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 644s ok 13 /gmenu/dbus/peer/subscriptions 644s # End of peer tests 644s # Start of export tests 644s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 644s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 644s ok 14 /gmenu/dbus/export/error-handling 644s # End of export tests 644s # End of dbus tests 644s # Start of attributes tests 644s ok 15 /gmenu/attributes/iterate 644s # End of attributes tests 644s # End of gmenu tests 644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 644s ok - glib/gmenumodel.test 644s # Running test: glib/cmph-bdz.test 644s ok - glib/cmph-bdz.test 644s TAP version 14 644s # random seed: R02S7ee72b9be069b35169ca61e5a463b28a 644s 1..2 644s # Start of cmph-bdz tests 644s ok 1 /cmph-bdz/search 644s ok 2 /cmph-bdz/search-packed 644s # End of cmph-bdz tests 644s # Running test: glib/simple-async-result.test 644s TAP version 14 644s # random seed: R02S3edc22475ac94f9e533baf72e995b820 644s 1..2 644s # Start of gio tests 644s # Start of simple-async-result tests 644s ok 1 /gio/simple-async-result/test 644s # GLib-GIO-DEBUG: GTask 0x62f1142d3b10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 644s ok 2 /gio/simple-async-result/valid 644s # End of simple-async-result tests 644s ok - glib/simple-async-result.test 644s # Running test: glib/memory-monitor.test 644s ok - glib/memory-monitor.test 644s # Running test: glib/markup-parse.test 644s # End of gio tests 644s TAP version 14 644s # random seed: R02S4949fa8c41dd8dd9ec238baac4bcd8fa 644s 1..1 644s # Start of memory-monitor tests 644s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 644s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ‘gio-memory-monitor’ 644s ok 1 /memory-monitor/default 644s # End of memory-monitor tests 644s TAP version 14 644s # random seed: R02S7a9351f726c7640108f1311bfa9e5400 644s 1..71 644s # Start of markup tests 644s # Start of parse tests 644s ok 1 /markup/parse/valid-7.gmarkup 644s ok 2 /markup/parse/fail-49.gmarkup 644s ok 3 /markup/parse/valid-4.gmarkup 644s ok 4 /markup/parse/fail-30.gmarkup 644s ok 5 /markup/parse/fail-46.gmarkup 644s ok 6 /markup/parse/fail-20.gmarkup 644s ok 7 /markup/parse/valid-10.gmarkup 644s ok 8 /markup/parse/fail-5.gmarkup 644s ok 9 /markup/parse/fail-17.gmarkup 644s ok 10 /markup/parse/valid-16.gmarkup 644s ok 11 /markup/parse/fail-34.gmarkup 644s ok 12 /markup/parse/fail-7.gmarkup 644s ok 13 /markup/parse/valid-12.gmarkup 644s ok 14 /markup/parse/valid-8.gmarkup 644s ok 15 /markup/parse/fail-36.gmarkup 644s ok 16 /markup/parse/fail-50.gmarkup 644s ok 17 /markup/parse/fail-13.gmarkup 644s ok 18 /markup/parse/fail-54.gmarkup 644s ok 19 /markup/parse/valid-13.gmarkup 644s ok 20 /markup/parse/fail-6.gmarkup 644s ok 21 /markup/parse/fail-19.gmarkup 644s ok 22 /markup/parse/fail-1.gmarkup 644s ok 23 /markup/parse/valid-15.gmarkup 644s ok 24 /markup/parse/fail-12.gmarkup 644s ok 25 /markup/parse/valid-9.gmarkup 644s ok 26 /markup/parse/fail-41.gmarkup 644s ok 27 /markup/parse/fail-10.gmarkup 644s ok 28 /markup/parse/fail-9.gmarkup 644s ok 29 /markup/parse/fail-4.gmarkup 644s ok 30 /markup/parse/fail-43.gmarkup 644s ok 31 /markup/parse/valid-1.gmarkup 644s ok 32 /markup/parse/valid-2.gmarkup 644s ok 33 /markup/parse/fail-32.gmarkup 644s ok 34 /markup/parse/fail-16.gmarkup 644s ok 35 /markup/parse/fail-25.gmarkup 644s ok 36 /markup/parse/fail-31.gmarkup 644s ok 37 /markup/parse/fail-39.gmarkup 644s ok 38 /markup/parse/valid-5.gmarkup 644s ok 39 /markup/parse/fail-11.gmarkup 644s ok 40 /markup/parse/valid-6.gmarkup 644s ok 41 /markup/parse/fail-38.gmarkup 644s ok 42 /markup/parse/fail-23.gmarkup 644s ok 43 /markup/parse/fail-47.gmarkup 644s ok 44 /markup/parse/valid-3.gmarkup 644s ok 45 /markup/parse/fail-3.gmarkup 644s ok 46 /markup/parse/fail-2.gmarkup 644s ok 47 /markup/parse/fail-35.gmarkup 644s ok 48 /markup/parse/fail-45.gmarkup 644s ok 49 /markup/parse/fail-18.gmarkup 644s ok 50 /markup/parse/fail-42.gmarkup 644s ok 51 /markup/parse/fail-37.gmarkup 644s ok 52 /markup/parse/fail-8.gmarkup 644s ok 53 /markup/parse/fail-29.gmarkup 644s ok 54 /markup/parse/fail-33.gmarkup 644s ok 55 /markup/parse/fail-24.gmarkup 644s ok 56 /markup/parse/fail-27.gmarkup 644s ok 57 /markup/parse/valid-14.gmarkup 644s ok 58 /markup/parse/fail-40.gmarkup 644s ok 59 /markup/parse/fail-52.gmarkup 644s ok 60 /markup/parse/valid-17.gmarkup 644s ok 61 /markup/parse/fail-14.gmarkup 644s ok 62 /markup/parse/fail-48.gmarkup 644s ok 63 /markup/parse/fail-21.gmarkup 644s ok 64 /markup/parse/fail-44.gmarkup 644s ok 65 /markup/parse/fail-26.gmarkup 644s ok 66 /markup/parse/fail-22.gmarkup 644s ok 67 /markup/parse/fail-28.gmarkup 644s ok 68 /markup/parse/valid-11.gmarkup 644s ok 69 /markup/parse/fail-53.gmarkup 644s ok 70 /markup/parse/fail-51.gmarkup 644s ok 71 /markup/parse/fail-15.gmarkup 644s # End of parse tests 644s # End of markup tests 644s ok - glib/markup-parse.test 644s TAP version 14 644s # random seed: R02Saec2fca6e2c5f7985bb4524d8efa638e 644s 1..6 644s # Start of pollable tests 644s ok 1 /pollable/converter 644s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 644s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5fbbbd250890 and GSocketClientAsyncConnectData 0x5fbbbd252710 644s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 644s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 644s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5fbbbd25e220 for GSocketClientAsyncConnectData 0x5fbbbd252710 644s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 644s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 644s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 644s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 644s ok 2 /pollable/socket 644s # Start of unix tests 644s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 644s ok 3 /pollable/unix/pipe 644s # /pollable/unix/pty summary: Test that PTYs are considered pollable 644s ok 4 /pollable/unix/pty 644s # /pollable/unix/file summary: Test that regular files are not considered pollable 644s ok 5 /pollable/unix/file 644s # /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 644s ok 6 /pollable/unix/nulldev 644s # End of unix tests 644s # End of pollable tests 644s # Running test: glib/pollable.test 644s ok - glib/pollable.test 644s # Running test: glib/properties-refcount4.test 644s TAP version 14 644s # random seed: R02S31183d7099ae50640bcb1274154e32dc 644s 1..1 644s # Start of gobject tests 644s # Start of refcount tests 644s ok 1 /gobject/refcount/properties-4 644s # End of refcount tests 644s # End of gobject tests 644s TAP version 14 644s # random seed: R02S802dcd01df315155e5378dc8db667a2a 644s 1..4 644s # Start of gdbus tests 644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-parser/.dirs/home 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-parser/.dirs/cache 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-parser/.dirs/system-config2 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-parser/.dirs/config 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-parser/.dirs/system-data2 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-parser/.dirs/data 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-parser/.dirs/state 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-parser/.dirs/runtime 644s ok 1 /gdbus/introspection-parser 644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-generate/.dirs/home 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-generate/.dirs/cache 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-generate/.dirs/system-config2 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-generate/.dirs/config 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-generate/.dirs/system-data2 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-generate/.dirs/data 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-generate/.dirs/state 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-generate/.dirs/runtime 644s ok 2 /gdbus/introspection-generate 644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-default-direction/.dirs/home 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-default-direction/.dirs/cache 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-default-direction/.dirs/system-config2 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-default-direction/.dirs/config 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-default-direction/.dirs/system-data2 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-default-direction/.dirs/data 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-default-direction/.dirs/state 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-default-direction/.dirs/runtime 644s ok 3 /gdbus/introspection-default-direction 644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-extra-data/.dirs/home 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-extra-data/.dirs/cache 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-extra-data/.dirs/system-config2 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-extra-data/.dirs/config 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-extra-data/.dirs/system-data2 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-extra-data/.dirs/data 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-extra-data/.dirs/state 644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_UKWLJ3/gdbus/introspection-extra-data/.dirs/runtime 644s ok 4 /gdbus/introspection-extra-data 644s # End of gdbus tests 644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 644s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 644s TAP version 14 644s # random seed: R02Sb4f512c494ac0e8905d0b74359a1d647 644s 1..3 644s # Start of utf8 tests 644s ok - glib/properties-refcount4.test 644s # Running test: glib/gdbus-introspection.test 644s ok - glib/gdbus-introspection.test 644s # Running test: glib/utf8-pointer.test 645s # Executing: glib/utf8-pointer.test 645s ok - glib/utf8-pointer.test 645s ok 1 /utf8/offsets 645s # slow test /utf8/offsets executed in 0.80 secs 645s ok 2 /utf8/lengths 645s ok 3 /utf8/find 645s # End of utf8 tests 645s # Running test: glib/properties-refcount2.test 645s TAP version 14 645s # random seed: R02S58190a61b61ac788182e18f066338eee 645s 1..1 645s # Start of gobject tests 645s # Start of refcount tests 645s # init 0x5d83f5670eb0 645s # 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # . 645s # dispose 0x5d83f5670eb0! 645s # 645s ok 1 /gobject/refcount/properties-2 645s # End of refcount tests 645s # End of gobject tests 645s ok - glib/properties-refcount2.test 645s # Running test: glib/slist.test 645s TAP version 14 645s # random seed: R02S5bd33daa57bf0ee5fd6a1c21b58feb2a 645s 1..14 645s # Start of slist tests 645s ok 1 /slist/sort 645s ok 2 /slist/sort-with-data 645s ok 3 /slist/insert-sorted 645s ok 4 /slist/insert-sorted-with-data 645s ok 5 /slist/reverse 645s ok 6 /slist/nth 645s ok 7 /slist/remove 645s ok 8 /slist/remove-all 645s ok 9 /slist/insert 645s ok 10 /slist/position 645s ok 11 /slist/concat 645s ok 12 /slist/copy 645s # Start of sort tests 645s ok 13 /slist/sort/stable 645s # End of sort tests 645s # Start of copy tests 645s ok 14 /slist/copy/deep 645s # End of copy tests 645s # End of slist tests 645s ok - glib/slist.test 645s # Running test: glib/references.test 645s TAP version 14 645s # random seed: R02S687f6bee76f8250dfffa64df2488001f 645s 1..4 645s # Start of gobject tests 645s ok 1 /gobject/references 645s ok 2 /gobject/references-many 645s ok 3 /gobject/references_two 645s ok - glib/references.test 645s ok 4 /gobject/references_run_dispose 645s # End of gobject tests 645s # Running test: glib/gdbus-serialization.test 645s TAP version 14 645s # random seed: R02Sffef2413c54bf5e01d604e2412533934 645s 1..18 645s # Start of gdbus tests 645s # Start of message-serialize tests 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/basic/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/basic/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/basic/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/basic/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/basic/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/basic/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/basic/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/basic/.dirs/runtime 645s ok 1 /gdbus/message-serialize/basic 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/complex/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/complex/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/complex/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/complex/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/complex/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/complex/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/complex/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/complex/.dirs/runtime 645s ok 2 /gdbus/message-serialize/complex 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/invalid/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/invalid/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/invalid/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/invalid/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/invalid/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/invalid/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/invalid/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/invalid/.dirs/runtime 645s ok 3 /gdbus/message-serialize/invalid 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/.dirs/runtime 645s ok 4 /gdbus/message-serialize/header-checks 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/double-array/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/double-array/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/double-array/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/double-array/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/double-array/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/double-array/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/double-array/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/double-array/.dirs/runtime 645s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 645s ok 5 /gdbus/message-serialize/double-array 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/empty-structure/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/empty-structure/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/empty-structure/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/empty-structure/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/empty-structure/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/empty-structure/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/empty-structure/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/empty-structure/.dirs/runtime 645s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 645s ok 6 /gdbus/message-serialize/empty-structure 645s # Start of header-checks tests 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/valid/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/valid/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/valid/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/valid/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/valid/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-serialize/header-checks/valid/.dirs/runtime 645s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 645s ok 7 /gdbus/message-serialize/header-checks/valid 645s # End of header-checks tests 645s # End of message-serialize tests 645s # Start of message-parse tests 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 645s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 645s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/non-signature-header/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/non-signature-header/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/non-signature-header/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/non-signature-header/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/non-signature-header/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/non-signature-header/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/non-signature-header/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/non-signature-header/.dirs/runtime 645s ok 9 /gdbus/message-parse/non-signature-header 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-signature-header/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-signature-header/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-signature-header/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-signature-header/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-signature-header/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-signature-header/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-signature-header/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-signature-header/.dirs/runtime 645s ok 10 /gdbus/message-parse/empty-signature-header 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/multiple-signature-header/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/multiple-signature-header/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/multiple-signature-header/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/multiple-signature-header/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/multiple-signature-header/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/multiple-signature-header/.dirs/runtime 645s ok 11 /gdbus/message-parse/multiple-signature-header 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/over-long-signature-header/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/over-long-signature-header/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/over-long-signature-header/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/over-long-signature-header/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/over-long-signature-header/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/over-long-signature-header/.dirs/runtime 645s ok 12 /gdbus/message-parse/over-long-signature-header 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-header-nesting/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-header-nesting/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-header-nesting/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-header-nesting/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-header-nesting/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-header-nesting/.dirs/runtime 645s ok 13 /gdbus/message-parse/deep-header-nesting 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-body-nesting/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-body-nesting/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-body-nesting/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-body-nesting/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-body-nesting/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/deep-body-nesting/.dirs/runtime 645s ok 14 /gdbus/message-parse/deep-body-nesting 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/truncated/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/truncated/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/truncated/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/truncated/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/truncated/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/truncated/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/truncated/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/truncated/.dirs/runtime 645s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 645s ok 15 /gdbus/message-parse/truncated 645s ok - glib/gdbus-serialization.test 645s # Running test: glib/sort.test 645s ok - glib/sort.test 645s # Running test: glib/sandbox.test 645s ok - glib/sandbox.test 645s # Running test: glib/deprecated-properties.test 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-structure/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-structure/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-structure/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-structure/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-structure/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-structure/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-structure/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/empty-structure/.dirs/runtime 645s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 645s ok 16 /gdbus/message-parse/empty-structure 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/missing-header/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/missing-header/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/missing-header/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/missing-header/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/missing-header/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/missing-header/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/missing-header/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/missing-header/.dirs/runtime 645s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 645s ok 17 /gdbus/message-parse/missing-header 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/invalid-header-type/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/invalid-header-type/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/invalid-header-type/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/invalid-header-type/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/invalid-header-type/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/invalid-header-type/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/invalid-header-type/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_O2WRJ3/gdbus/message-parse/invalid-header-type/.dirs/runtime 645s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 645s ok 18 /gdbus/message-parse/invalid-header-type 645s # End of message-parse tests 645s # End of gdbus tests 645s TAP version 14 645s # random seed: R02Sf2c88d715c349bdd082ea2512815421b 645s 1..5 645s # Start of sort tests 645s ok 1 /sort/basic 645s ok 2 /sort/zero-elements 645s ok 3 /sort/stable 645s ok 4 /sort/big 645s ok 5 /sort/deprecated 645s # End of sort tests 645s TAP version 14 645s # random seed: R02Sf00b03b3c8e493defcf77e187e879c16 645s 1..4 645s # Start of sandbox tests 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_YHNRJ3/sandbox/none/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_YHNRJ3/sandbox/none/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_YHNRJ3/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_YHNRJ3/sandbox/none/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_YHNRJ3/sandbox/none/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_YHNRJ3/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_YHNRJ3/sandbox/none/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_YHNRJ3/sandbox/none/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_YHNRJ3/sandbox/none/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_YHNRJ3/sandbox/none/.dirs/runtime 645s ok 1 /sandbox/none 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_YHNRJ3/sandbox/snap/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_YHNRJ3/sandbox/snap/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_YHNRJ3/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_YHNRJ3/sandbox/snap/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_YHNRJ3/sandbox/snap/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_YHNRJ3/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_YHNRJ3/sandbox/snap/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_YHNRJ3/sandbox/snap/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_YHNRJ3/sandbox/snap/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_YHNRJ3/sandbox/snap/.dirs/runtime 645s # Created snap.yaml in /tmp/test_sandbox_YHNRJ3/snap/current/meta/snap.yaml 645s ok 2 /sandbox/snap 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_YHNRJ3/sandbox/classic-snap/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_YHNRJ3/sandbox/classic-snap/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_YHNRJ3/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_YHNRJ3/sandbox/classic-snap/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_YHNRJ3/sandbox/classic-snap/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_YHNRJ3/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_YHNRJ3/sandbox/classic-snap/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_YHNRJ3/sandbox/classic-snap/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_YHNRJ3/sandbox/classic-snap/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_YHNRJ3/sandbox/classic-snap/.dirs/runtime 645s # Created snap.yaml in /tmp/test_sandbox_YHNRJ3/snap/current/meta/snap.yaml 645s ok 3 /sandbox/classic-snap 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_YHNRJ3/sandbox/flatpak/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_YHNRJ3/sandbox/flatpak/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_YHNRJ3/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_YHNRJ3/sandbox/flatpak/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_YHNRJ3/sandbox/flatpak/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_YHNRJ3/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_YHNRJ3/sandbox/flatpak/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_YHNRJ3/sandbox/flatpak/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_YHNRJ3/sandbox/flatpak/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_YHNRJ3/sandbox/flatpak/.dirs/runtime 645s # Creating .flatpak-info in /tmp/test_sandbox_YHNRJ3/sandbox/flatpak/.dirs/runtime/.flatpak-info 645s ok 4 /sandbox/flatpak 645s # End of sandbox tests 645s TAP version 14 645s # random seed: R02Sb2b271ddc5215f6494d78dd4fdd3441a 645s 1..3 645s # Start of deprecated-properties tests 645s ok 1 /deprecated-properties/construct 645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 645s ok 2 /deprecated-properties/default-construct 645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 645s ok 3 /deprecated-properties/set 645s # End of deprecated-properties tests 645s ok - glib/deprecated-properties.test 645s # Running test: glib/struct-info.test 645s TAP version 14 645s # random seed: R02Sb9068f8c4efba40a0d4c4c2473aecc88 645s 1..4 645s # Start of struct-info tests 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_3SRRJ3/struct-info/field-iterators/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_3SRRJ3/struct-info/field-iterators/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_3SRRJ3/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_3SRRJ3/struct-info/field-iterators/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_3SRRJ3/struct-info/field-iterators/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_3SRRJ3/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_3SRRJ3/struct-info/field-iterators/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_3SRRJ3/struct-info/field-iterators/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_3SRRJ3/struct-info/field-iterators/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_3SRRJ3/struct-info/field-iterators/.dirs/runtime 645s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 645s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 645s ok 1 /struct-info/field-iterators 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_3SRRJ3/struct-info/sizeof-gvalue/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_3SRRJ3/struct-info/sizeof-gvalue/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_3SRRJ3/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_3SRRJ3/struct-info/sizeof-gvalue/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_3SRRJ3/struct-info/sizeof-gvalue/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_3SRRJ3/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_3SRRJ3/struct-info/sizeof-gvalue/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_3SRRJ3/struct-info/sizeof-gvalue/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_3SRRJ3/struct-info/sizeof-gvalue/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_3SRRJ3/struct-info/sizeof-gvalue/.dirs/runtime 645s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 645s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 645s ok 2 /struct-info/sizeof-gvalue 645s ok - glib/struct-info.test 645s # Running test: glib/sequence.test 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_3SRRJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_3SRRJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_3SRRJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_3SRRJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_3SRRJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_3SRRJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_3SRRJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_3SRRJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_3SRRJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_3SRRJ3/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 645s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 645s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 645s ok 3 /struct-info/is-pointer-for-struct-method-arg 645s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_3SRRJ3/struct-info/boxed/.dirs/home 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_3SRRJ3/struct-info/boxed/.dirs/cache 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_3SRRJ3/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_3SRRJ3/struct-info/boxed/.dirs/system-config2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_3SRRJ3/struct-info/boxed/.dirs/config 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_3SRRJ3/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_3SRRJ3/struct-info/boxed/.dirs/system-data2 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_3SRRJ3/struct-info/boxed/.dirs/data 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_3SRRJ3/struct-info/boxed/.dirs/state 645s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_3SRRJ3/struct-info/boxed/.dirs/runtime 645s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 645s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 645s ok 4 /struct-info/boxed 645s # End of struct-info tests 645s TAP version 14 645s # random seed: R02Sd331e3923540103a47b9eaf46da1b087 645s 1..16 645s # Start of sequence tests 645s ok 1 /sequence/out-of-range-jump 645s ok 2 /sequence/iter-move 645s ok 3 /sequence/insert-sorted-non-pointer 645s ok 4 /sequence/stable-sort 645s ok 5 /sequence/is_empty 645s # Start of random tests 646s ok 6 /sequence/random/seed:825541564 646s ok 7 /sequence/random/seed:801678400 647s ok 8 /sequence/random/seed:1477639090 647s ok 9 /sequence/random/seed:3369132895 647s ok 10 /sequence/random/seed:1192944867 648s ok 11 /sequence/random/seed:770458294 648s ok 12 /sequence/random/seed:1099575817 649s ok 13 /sequence/random/seed:590523467 649s ok 14 /sequence/random/seed:3583571454 649s ok 15 /sequence/random/seed:579241222 650s ok 16 /sequence/random/seed:501701364 650s # End of random tests 650s # End of sequence tests 650s ok - glib/sequence.test 650s # Running test: glib/debugcontroller.test 650s TAP version 14 650s # random seed: R02Sdd8ebc3b29dd77148bf51c5bd4f21466 650s 1..3 650s # Start of debug-controller tests 650s # Start of dbus tests 650s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 650s # GLib-GIO-DEBUG: Debug output enabled 650s # GLib-GIO-DEBUG: Debug output disabled 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s ok - glib/debugcontroller.test 650s # Running test: glib/gdbus-connection.test 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s ok 1 /debug-controller/dbus/basic 650s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s ok 2 /debug-controller/dbus/duplicate 650s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 650s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 650s # End of dbus tests 650s # End of debug-controller tests 650s TAP version 14 650s # random seed: R02Sf14b86956b48422ca21da189f69bce15 650s 1..9 650s # Start of gdbus tests 650s # Start of connection tests 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/bus-failure/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/bus-failure/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/bus-failure/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/bus-failure/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/bus-failure/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/bus-failure/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/bus-failure/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/bus-failure/.dirs/runtime 650s ok 1 /gdbus/connection/bus-failure 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/basic/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/basic/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/basic/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/basic/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/basic/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/basic/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/basic/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/basic/.dirs/runtime 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s ok 2 /gdbus/connection/basic 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/life-cycle/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/life-cycle/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/life-cycle/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/life-cycle/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/life-cycle/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/life-cycle/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/life-cycle/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/life-cycle/.dirs/runtime 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s ok 3 /gdbus/connection/life-cycle 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/send/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/send/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/send/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/send/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/send/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/send/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/send/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/send/.dirs/runtime 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s ok 4 /gdbus/connection/send 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signals/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signals/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signals/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signals/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signals/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signals/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signals/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signals/.dirs/runtime 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s ok 5 /gdbus/connection/signals 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signal-match-rules/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signal-match-rules/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signal-match-rules/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signal-match-rules/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signal-match-rules/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signal-match-rules/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signal-match-rules/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/signal-match-rules/.dirs/runtime 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s ok 6 /gdbus/connection/signal-match-rules 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/filter/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/filter/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/filter/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/filter/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/filter/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/filter/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/filter/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/filter/.dirs/runtime 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s ok 7 /gdbus/connection/filter 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/serials/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/serials/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/serials/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/serials/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/serials/.dirs/system-data2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/serials/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/serials/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/serials/.dirs/runtime 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s ok 8 /gdbus/connection/serials 650s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/cancel/.dirs/home 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/cancel/.dirs/cache 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/cancel/.dirs/system-config2 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/cancel/.dirs/config 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/cancel/.dirs/system-data2 650s ok - glib/gdbus-connection.test 650s # Running test: glib/codegen.py.test 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/cancel/.dirs/data 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/cancel/.dirs/state 650s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YS9RJ3/gdbus/connection/cancel/.dirs/runtime 650s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 650s ok 9 /gdbus/connection/cancel 650s # End of connection tests 650s # End of gdbus tests 650s # Executing: glib/codegen.py.test 650s TAP version 13 650s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 650s # gdbus-codegen: /usr/bin/gdbus-codegen 650s # tmpdir: /tmp/tmpnz90j692 650s # /tmp/tmpnz90j692/tmpsrmx3uc7.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnz90j692/tmpsrmx3uc7.xml', '--output', '-', '--header'] 650s # Return code: 0 650s # Output: 650s # /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifndef __STDOUT__ 650s # #define __STDOUT__ 650s # 650s # #include 650s # 650s # G_BEGIN_DECLS 650s # 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # /* Declarations for org.project.UsefulInterface */ 650s # 650s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 650s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 650s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 650s # 650s # struct _OrgProjectUsefulInterface; 650s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 650s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 650s # 650s # struct _OrgProjectUsefulInterfaceIface 650s # { 650s # GTypeInterface parent_iface; 650s # 650s # gboolean (*handle_useful_method) ( 650s # OrgProjectUsefulInterface *object, 650s # GDBusMethodInvocation *invocation); 650s # 650s # }; 650s # 650s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 650s # 650s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 650s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 650s # 650s # 650s # /* D-Bus method call completion functions: */ 650s # void org_project_useful_interface_complete_useful_method ( 650s # OrgProjectUsefulInterface *object, 650s # GDBusMethodInvocation *invocation); 650s # 650s # 650s # 650s # /* D-Bus method calls: */ 650s # void org_project_useful_interface_call_useful_method ( 650s # OrgProjectUsefulInterface *proxy, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data); 650s # 650s # gboolean org_project_useful_interface_call_useful_method_finish ( 650s # OrgProjectUsefulInterface *proxy, 650s # GAsyncResult *res, 650s # GError **error); 650s # 650s # gboolean org_project_useful_interface_call_useful_method_sync ( 650s # OrgProjectUsefulInterface *proxy, 650s # GCancellable *cancellable, 650s # GError **error); 650s # 650s # 650s # 650s # /* ---- */ 650s # 650s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 650s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 650s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 650s # 650s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 650s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 650s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 650s # 650s # struct _OrgProjectUsefulInterfaceProxy 650s # { 650s # /*< private >*/ 650s # GDBusProxy parent_instance; 650s # OrgProjectUsefulInterfaceProxyPrivate *priv; 650s # }; 650s # 650s # struct _OrgProjectUsefulInterfaceProxyClass 650s # { 650s # GDBusProxyClass parent_class; 650s # }; 650s # 650s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 650s # 650s # #if GLIB_CHECK_VERSION(2, 44, 0) 650s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 650s # #endif 650s # 650s # void org_project_useful_interface_proxy_new ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data); 650s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 650s # GAsyncResult *res, 650s # GError **error); 650s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error); 650s # 650s # void org_project_useful_interface_proxy_new_for_bus ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data); 650s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 650s # GAsyncResult *res, 650s # GError **error); 650s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error); 650s # 650s # 650s # /* ---- */ 650s # 650s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 650s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 650s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 650s # 650s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 650s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 650s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 650s # 650s # struct _OrgProjectUsefulInterfaceSkeleton 650s # { 650s # /*< private >*/ 650s # GDBusInterfaceSkeleton parent_instance; 650s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 650s # }; 650s # 650s # struct _OrgProjectUsefulInterfaceSkeletonClass 650s # { 650s # GDBusInterfaceSkeletonClass parent_class; 650s # }; 650s # 650s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 650s # 650s # #if GLIB_CHECK_VERSION(2, 44, 0) 650s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 650s # #endif 650s # 650s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 650s # 650s # 650s # G_END_DECLS 650s # 650s # #endif /* __STDOUT__ */ 650s # Error: 650s # 650s # /tmp/tmpnz90j692/tmpohvij5qi.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnz90j692/tmpohvij5qi.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 650s # Return code: 0 650s # Output: 650s # /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifndef __STDOUT__ 650s # #define __STDOUT__ 650s # 650s # #include 650s # 650s # G_BEGIN_DECLS 650s # 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # /* Declarations for org.project.UsefulInterface */ 650s # 650s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 650s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 650s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 650s # 650s # struct _OrgProjectUsefulInterface; 650s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 650s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 650s # 650s # struct _OrgProjectUsefulInterfaceIface 650s # { 650s # GTypeInterface parent_iface; 650s # 650s # gboolean (*handle_useful_method) ( 650s # OrgProjectUsefulInterface *object, 650s # GDBusMethodInvocation *invocation); 650s # 650s # }; 650s # 650s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 650s # 650s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 650s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 650s # 650s # 650s # /* D-Bus method call completion functions: */ 650s # void org_project_useful_interface_complete_useful_method ( 650s # OrgProjectUsefulInterface *object, 650s # GDBusMethodInvocation *invocation); 650s # 650s # 650s # 650s # /* D-Bus method calls: */ 650s # void org_project_useful_interface_call_useful_method ( 650s # OrgProjectUsefulInterface *proxy, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data); 650s # 650s # gboolean org_project_useful_interface_call_useful_method_finish ( 650s # OrgProjectUsefulInterface *proxy, 650s # GAsyncResult *res, 650s # GError **error); 650s # 650s # gboolean org_project_useful_interface_call_useful_method_sync ( 650s # OrgProjectUsefulInterface *proxy, 650s # GCancellable *cancellable, 650s # GError **error); 650s # 650s # 650s # 650s # /* ---- */ 650s # 650s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 650s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 650s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 650s # 650s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 650s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 650s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 650s # 650s # struct _OrgProjectUsefulInterfaceProxy 650s # { 650s # /*< private >*/ 650s # GDBusProxy parent_instance; 650s # OrgProjectUsefulInterfaceProxyPrivate *priv; 650s # }; 650s # 650s # struct _OrgProjectUsefulInterfaceProxyClass 650s # { 650s # GDBusProxyClass parent_class; 650s # }; 650s # 650s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 650s # 650s # #if GLIB_CHECK_VERSION(2, 44, 0) 650s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 650s # #endif 650s # 650s # void org_project_useful_interface_proxy_new ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data); 650s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 650s # GAsyncResult *res, 650s # GError **error); 650s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error); 650s # 650s # void org_project_useful_interface_proxy_new_for_bus ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data); 650s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 650s # GAsyncResult *res, 650s # GError **error); 650s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error); 650s # 650s # 650s # /* ---- */ 650s # 650s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 650s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 650s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 650s # 650s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 650s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 650s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 650s # 650s # struct _OrgProjectUsefulInterfaceSkeleton 650s # { 650s # /*< private >*/ 650s # GDBusInterfaceSkeleton parent_instance; 650s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 650s # }; 650s # 650s # struct _OrgProjectUsefulInterfaceSkeletonClass 650s # { 650s # GDBusInterfaceSkeletonClass parent_class; 650s # }; 650s # 650s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 650s # 650s # #if GLIB_CHECK_VERSION(2, 44, 0) 650s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 650s # #endif 650s # 650s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 650s # 650s # 650s # G_END_DECLS 650s # 650s # #endif /* __STDOUT__ */ 650s # Error: 650s # 650s # /tmp/tmpnz90j692/tmp120j4lmr.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnz90j692/tmp120j4lmr.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 650s # Return code: 0 650s # Output: 650s # /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifndef __STDOUT__ 650s # #define __STDOUT__ 650s # 650s # #include 650s # 650s # G_BEGIN_DECLS 650s # 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # /* Declarations for org.project.UsefulInterface */ 650s # 650s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 650s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 650s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 650s # 650s # struct _OrgProjectUsefulInterface; 650s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 650s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 650s # 650s # struct _OrgProjectUsefulInterfaceIface 650s # { 650s # GTypeInterface parent_iface; 650s # 650s # gboolean (*handle_useful_method) ( 650s # OrgProjectUsefulInterface *object, 650s # GDBusMethodInvocation *invocation); 650s # 650s # }; 650s # 650s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 650s # 650s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 650s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 650s # 650s # 650s # /* D-Bus method call completion functions: */ 650s # void org_project_useful_interface_complete_useful_method ( 650s # OrgProjectUsefulInterface *object, 650s # GDBusMethodInvocation *invocation); 650s # 650s # 650s # 650s # /* D-Bus method calls: */ 650s # void org_project_useful_interface_call_useful_method ( 650s # OrgProjectUsefulInterface *proxy, 650s # GDBusCallFlags call_flags, 650s # gint timeout_msec, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data); 650s # 650s # gboolean org_project_useful_interface_call_useful_method_finish ( 650s # OrgProjectUsefulInterface *proxy, 650s # GAsyncResult *res, 650s # GError **error); 650s # 650s # gboolean org_project_useful_interface_call_useful_method_sync ( 650s # OrgProjectUsefulInterface *proxy, 650s # GDBusCallFlags call_flags, 650s # gint timeout_msec, 650s # GCancellable *cancellable, 650s # GError **error); 650s # 650s # 650s # 650s # /* ---- */ 650s # 650s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 650s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 650s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 650s # 650s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 650s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 650s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 650s # 650s # struct _OrgProjectUsefulInterfaceProxy 650s # { 650s # /*< private >*/ 650s # GDBusProxy parent_instance; 650s # OrgProjectUsefulInterfaceProxyPrivate *priv; 650s # }; 650s # 650s # struct _OrgProjectUsefulInterfaceProxyClass 650s # { 650s # GDBusProxyClass parent_class; 650s # }; 650s # 650s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 650s # 650s # #if GLIB_CHECK_VERSION(2, 44, 0) 650s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 650s # #endif 650s # 650s # void org_project_useful_interface_proxy_new ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data); 650s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 650s # GAsyncResult *res, 650s # GError **error); 650s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error); 650s # 650s # void org_project_useful_interface_proxy_new_for_bus ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data); 650s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 650s # GAsyncResult *res, 650s # GError **error); 650s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error); 650s # 650s # 650s # /* ---- */ 650s # 650s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 650s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 650s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 650s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 650s # 650s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 650s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 650s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 650s # 650s # struct _OrgProjectUsefulInterfaceSkeleton 650s # { 650s # /*< private >*/ 650s # GDBusInterfaceSkeleton parent_instance; 650s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 650s # }; 650s # 650s # struct _OrgProjectUsefulInterfaceSkeletonClass 650s # { 650s # GDBusInterfaceSkeletonClass parent_class; 650s # }; 650s # 650s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 650s # 650s # #if GLIB_CHECK_VERSION(2, 44, 0) 650s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 650s # #endif 650s # 650s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 650s # 650s # 650s # G_END_DECLS 650s # 650s # #endif /* __STDOUT__ */ 650s # Error: 650s ok 2 __main__.TestCodegen.test_dbus_types 650s # gdbus-codegen: /usr/bin/gdbus-codegen 650s # tmpdir: /tmp/tmpqjlashu8 650s # /tmp/tmpqjlashu8/tmpfmg7mu6j.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqjlashu8/tmpfmg7mu6j.xml', '--output', '-', '--body'] 650s # Return code: 1 650s # Output: 650s # 650s # Error: 650s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 650s # /tmp/tmpqjlashu8/tmp73h8u8gx.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqjlashu8/tmp73h8u8gx.xml', '--output', '-', '--body'] 650s # Return code: 1 650s # Output: 650s # 650s # Error: 650s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 650s # /tmp/tmpqjlashu8/tmpb3baub8x.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqjlashu8/tmpb3baub8x.xml', '--output', '-', '--body'] 650s # Return code: 1 650s # Output: 650s # 650s # Error: 650s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 650s # /tmp/tmpqjlashu8/tmpz9aijmwt.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqjlashu8/tmpz9aijmwt.xml', '--output', '-', '--body'] 650s # Return code: 1 650s # Output: 650s # 650s # Error: 650s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 650s # /tmp/tmpqjlashu8/tmpd87908tu.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqjlashu8/tmpd87908tu.xml', '--output', '-', '--body'] 650s # Return code: 1 650s # Output: 650s # 650s # Error: 650s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 650s # /tmp/tmpqjlashu8/tmp1y3hn_bm.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqjlashu8/tmp1y3hn_bm.xml', '--output', '-', '--body'] 650s # Return code: 1 650s # Output: 650s # 650s # Error: 650s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 650s # /tmp/tmpqjlashu8/tmpcqxvp55y.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqjlashu8/tmpcqxvp55y.xml', '--output', '-', '--body'] 650s # Return code: 1 650s # Output: 650s # 650s # Error: 650s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 650s # /tmp/tmpqjlashu8/tmpnfjcmhsf.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqjlashu8/tmpnfjcmhsf.xml', '--output', '-', '--body'] 650s # Return code: 1 650s # Output: 650s # 650s # Error: 650s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 650s # /tmp/tmpqjlashu8/tmpzs8r0ips.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqjlashu8/tmpzs8r0ips.xml', '--output', '-', '--body'] 650s # Return code: 1 650s # Output: 650s # 650s # Error: 650s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 650s # /tmp/tmpqjlashu8/tmpk6yabobv.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqjlashu8/tmpk6yabobv.xml', '--output', '-', '--body'] 650s # Return code: 1 650s # Output: 650s # 650s # Error: 650s # ERROR: D-Bus maximum signature length of 255 exceeded. 650s # /tmp/tmpqjlashu8/tmpedz5mm_9.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqjlashu8/tmpedz5mm_9.xml', '--output', '-', '--body'] 650s # Return code: 1 650s # Output: 650s # 650s # Error: 650s # ERROR: D-Bus maximum signature length of 255 exceeded. 650s # /tmp/tmpqjlashu8/tmplufpenao.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqjlashu8/tmplufpenao.xml', '--output', '-', '--body'] 650s # Return code: 1 650s # Output: 650s # 650s # Error: 650s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 650s # /tmp/tmpqjlashu8/tmpdx5ceuoh.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqjlashu8/tmpdx5ceuoh.xml', '--output', '-', '--body'] 650s # Return code: 1 650s # Output: 650s # 650s # Error: 650s # ERROR: D-Bus maximum signature length of 255 exceeded. 650s # /tmp/tmpqjlashu8/tmpecg1agrp.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqjlashu8/tmpecg1agrp.xml', '--output', '-', '--body'] 650s # Return code: 0 650s # Output: 650s # /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifdef HAVE_CONFIG_H 650s # # include "config.h" 650s # #endif 650s # 650s # #include 650s # #ifdef G_OS_UNIX 650s # # include 650s # #endif 650s # 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # 650s # typedef struct 650s # { 650s # GDBusArgInfo parent_struct; 650s # gboolean use_gvariant; 650s # } _ExtendedGDBusArgInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusMethodInfo parent_struct; 650s # const gchar *signal_name; 650s # gboolean pass_fdlist; 650s # } _ExtendedGDBusMethodInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusSignalInfo parent_struct; 650s # const gchar *signal_name; 650s # } _ExtendedGDBusSignalInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusPropertyInfo parent_struct; 650s # const gchar *hyphen_name; 650s # guint use_gvariant : 1; 650s # guint emits_changed_signal : 1; 650s # } _ExtendedGDBusPropertyInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusInterfaceInfo parent_struct; 650s # const gchar *hyphen_name; 650s # } _ExtendedGDBusInterfaceInfo; 650s # 650s # typedef struct 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # guint prop_id; 650s # GValue orig_value; /* the value before the change */ 650s # } ChangedProperty; 650s # 650s # static void 650s # _changed_property_free (ChangedProperty *data) 650s # { 650s # g_value_unset (&data->orig_value); 650s # g_free (data); 650s # } 650s # 650s # static gboolean 650s # _g_strv_equal0 (gchar **a, gchar **b) 650s # { 650s # gboolean ret = FALSE; 650s # guint n; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # if (g_strv_length (a) != g_strv_length (b)) 650s # goto out; 650s # for (n = 0; a[n] != NULL; n++) 650s # if (g_strcmp0 (a[n], b[n]) != 0) 650s # goto out; 650s # ret = TRUE; 650s # out: 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _g_variant_equal0 (GVariant *a, GVariant *b) 650s # { 650s # gboolean ret = FALSE; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # ret = g_variant_equal (a, b); 650s # out: 650s # return ret; 650s # } 650s # 650s # G_GNUC_UNUSED static gboolean 650s # _g_value_equal (const GValue *a, const GValue *b) 650s # { 650s # gboolean ret = FALSE; 650s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 650s # switch (G_VALUE_TYPE (a)) 650s # { 650s # case G_TYPE_BOOLEAN: 650s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 650s # break; 650s # case G_TYPE_UCHAR: 650s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 650s # break; 650s # case G_TYPE_INT: 650s # ret = (g_value_get_int (a) == g_value_get_int (b)); 650s # break; 650s # case G_TYPE_UINT: 650s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 650s # break; 650s # case G_TYPE_INT64: 650s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 650s # break; 650s # case G_TYPE_UINT64: 650s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 650s # break; 650s # case G_TYPE_DOUBLE: 650s # { 650s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 650s # gdouble da = g_value_get_double (a); 650s # gdouble db = g_value_get_double (b); 650s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 650s # } 650s # break; 650s # case G_TYPE_STRING: 650s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 650s # break; 650s # case G_TYPE_VARIANT: 650s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 650s # break; 650s # default: 650s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 650s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 650s # else 650s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 650s # break; 650s # } 650s # return ret; 650s # } 650s # 650s # /* ------------------------------------------------------------------------ 650s # * Code for interface GoodTypes 650s # * ------------------------------------------------------------------------ 650s # */ 650s # 650s # /** 650s # * SECTION:GoodTypes 650s # * @title: GoodTypes 650s # * @short_description: Generated C code for the GoodTypes D-Bus interface 650s # * 650s # * This section contains code for working with the GoodTypes D-Bus interface in C. 650s # */ 650s # 650s # /* ---- Introspection data for GoodTypes ---- */ 650s # 650s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 650s # { 650s # { 650s # -1, 650s # (gchar *) "GoodPropertyType", 650s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 650s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 650s # NULL 650s # }, 650s # "good-property-type", 650s # FALSE, 650s # TRUE 650s # }; 650s # 650s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 650s # { 650s # &_good_types_property_info_good_property_type.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 650s # { 650s # { 650s # -1, 650s # (gchar *) "GoodTypes", 650s # NULL, 650s # NULL, 650s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 650s # NULL 650s # }, 650s # "good-types", 650s # }; 650s # 650s # 650s # /** 650s # * good_types_interface_info: 650s # * 650s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 650s # * 650s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 650s # */ 650s # GDBusInterfaceInfo * 650s # good_types_interface_info (void) 650s # { 650s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 650s # } 650s # 650s # /** 650s # * good_types_override_properties: 650s # * @klass: The class structure for a #GObject derived class. 650s # * @property_id_begin: The property id to assign to the first overridden property. 650s # * 650s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 650s # * The properties are overridden in the order they are defined. 650s # * 650s # * Returns: The last property id. 650s # */ 650s # guint 650s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 650s # { 650s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 650s # return property_id_begin - 1; 650s # } 650s # 650s # 650s # 650s # /** 650s # * GoodTypes: 650s # * 650s # * Abstract interface type for the D-Bus interface GoodTypes. 650s # */ 650s # 650s # /** 650s # * GoodTypesIface: 650s # * @parent_iface: The parent interface. 650s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 650s # * 650s # * Virtual table for the D-Bus interface GoodTypes. 650s # */ 650s # 650s # typedef GoodTypesIface GoodTypesInterface; 650s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 650s # 650s # static void 650s # good_types_default_init (GoodTypesIface *iface) 650s # { 650s # /* GObject properties for D-Bus properties: */ 650s # /** 650s # * GoodTypes:good-property-type: 650s # * 650s # * Represents the D-Bus property "GoodPropertyType". 650s # * 650s # * 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. 650s # */ 650s # g_object_interface_install_property (iface, 650s # 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)); 650s # } 650s # 650s # /** 650s # * good_types_get_good_property_type: (skip) 650s # * @object: A GoodTypes. 650s # * 650s # * Gets the value of the "GoodPropertyType" D-Bus property. 650s # * 650s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 650s # * 650s # * 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. 650s # * 650s # * 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. 650s # */ 650s # GVariant * 650s # good_types_get_good_property_type (GoodTypes *object) 650s # { 650s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 650s # 650s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 650s # } 650s # 650s # /** 650s # * good_types_dup_good_property_type: (skip) 650s # * @object: A GoodTypes. 650s # * 650s # * Gets a copy of the "GoodPropertyType" D-Bus property. 650s # * 650s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 650s # * 650s # * 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(). 650s # */ 650s # GVariant * 650s # good_types_dup_good_property_type (GoodTypes *object) 650s # { 650s # GVariant *value; 650s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 650s # return value; 650s # } 650s # 650s # /** 650s # * good_types_set_good_property_type: (skip) 650s # * @object: A GoodTypes. 650s # * @value: The value to set. 650s # * 650s # * Sets the "GoodPropertyType" D-Bus property to @value. 650s # * 650s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 650s # */ 650s # void 650s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 650s # { 650s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * GoodTypesProxy: 650s # * 650s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * GoodTypesProxyClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for GoodTypesProxy. 650s # */ 650s # 650s # struct _GoodTypesProxyPrivate 650s # { 650s # GData *qdata; 650s # }; 650s # 650s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 650s # G_ADD_PRIVATE (GoodTypesProxy) 650s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 650s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 650s # 650s # #endif 650s # static void 650s # good_types_proxy_finalize (GObject *object) 650s # { 650s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 650s # g_datalist_clear (&proxy->priv->qdata); 650s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # good_types_proxy_get_property (GObject *object, 650s # guint prop_id, 650s # GValue *value, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # GVariant *variant; 650s # g_assert (prop_id != 0 && prop_id - 1 < 1); 650s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 650s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 650s # if (info->use_gvariant) 650s # { 650s # g_value_set_variant (value, variant); 650s # } 650s # else 650s # { 650s # if (variant != NULL) 650s # g_dbus_gvariant_to_gvalue (variant, value); 650s # } 650s # if (variant != NULL) 650s # g_variant_unref (variant); 650s # } 650s # 650s # static void 650s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 650s # GAsyncResult *res, 650s # gpointer user_data) 650s # { 650s # const _ExtendedGDBusPropertyInfo *info = user_data; 650s # GError *error; 650s # GVariant *_ret; 650s # error = NULL; 650s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 650s # if (!_ret) 650s # { 650s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 650s # info->parent_struct.name, 650s # error->message, g_quark_to_string (error->domain), error->code); 650s # g_error_free (error); 650s # } 650s # else 650s # { 650s # g_variant_unref (_ret); 650s # } 650s # } 650s # 650s # static void 650s # good_types_proxy_set_property (GObject *object, 650s # guint prop_id, 650s # const GValue *value, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # GVariant *variant; 650s # g_assert (prop_id != 0 && prop_id - 1 < 1); 650s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 650s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 650s # g_dbus_proxy_call (G_DBUS_PROXY (object), 650s # "org.freedesktop.DBus.Properties.Set", 650s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 650s # G_DBUS_CALL_FLAGS_NONE, 650s # -1, 650s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 650s # g_variant_unref (variant); 650s # } 650s # 650s # static void 650s # good_types_proxy_g_signal (GDBusProxy *proxy, 650s # const gchar *sender_name G_GNUC_UNUSED, 650s # const gchar *signal_name, 650s # GVariant *parameters) 650s # { 650s # _ExtendedGDBusSignalInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # gsize n; 650s # guint signal_id; 650s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 650s # if (info == NULL) 650s # return; 650s # num_params = g_variant_n_children (parameters); 650s # paramv = g_new0 (GValue, num_params + 1); 650s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 650s # g_value_set_object (¶mv[0], proxy); 650s # g_variant_iter_init (&iter, parameters); 650s # n = 1; 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 650s # g_signal_emitv (paramv, signal_id, 0, NULL); 650s # for (n = 0; n < num_params + 1; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static void 650s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 650s # GVariant *changed_properties, 650s # const gchar *const *invalidated_properties) 650s # { 650s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 650s # guint n; 650s # const gchar *key; 650s # GVariantIter *iter; 650s # _ExtendedGDBusPropertyInfo *info; 650s # g_variant_get (changed_properties, "a{sv}", &iter); 650s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 650s # g_datalist_remove_data (&proxy->priv->qdata, key); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # g_variant_iter_free (iter); 650s # for (n = 0; invalidated_properties[n] != NULL; n++) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 650s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # } 650s # 650s # static GVariant * 650s # good_types_proxy_get_good_property_type (GoodTypes *object) 650s # { 650s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 650s # GVariant *variant; 650s # GVariant *value = NULL; 650s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 650s # value = variant; 650s # if (variant != NULL) 650s # g_variant_unref (variant); 650s # return value; 650s # } 650s # 650s # static void 650s # good_types_proxy_init (GoodTypesProxy *proxy) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # proxy->priv = good_types_proxy_get_instance_private (proxy); 650s # #else 650s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 650s # #endif 650s # 650s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 650s # } 650s # 650s # static void 650s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusProxyClass *proxy_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = good_types_proxy_finalize; 650s # gobject_class->get_property = good_types_proxy_get_property; 650s # gobject_class->set_property = good_types_proxy_set_property; 650s # 650s # proxy_class = G_DBUS_PROXY_CLASS (klass); 650s # proxy_class->g_signal = good_types_proxy_g_signal; 650s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 650s # 650s # good_types_override_properties (gobject_class, 1); 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # good_types_proxy_iface_init (GoodTypesIface *iface) 650s # { 650s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 650s # } 650s # 650s # /** 650s # * good_types_proxy_new: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 650s # * 650s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # good_types_proxy_new ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * good_types_proxy_new_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with good_types_proxy_new(). 650s # * 650s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # GoodTypes * 650s # good_types_proxy_new_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return GOOD_TYPES (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * good_types_proxy_new_sync: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See good_types_proxy_new() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # GoodTypes * 650s # good_types_proxy_new_sync ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return GOOD_TYPES (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /** 650s # * good_types_proxy_new_for_bus: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 650s # * 650s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # good_types_proxy_new_for_bus ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * good_types_proxy_new_for_bus_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with good_types_proxy_new_for_bus(). 650s # * 650s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # GoodTypes * 650s # good_types_proxy_new_for_bus_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return GOOD_TYPES (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * good_types_proxy_new_for_bus_sync: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # GoodTypes * 650s # good_types_proxy_new_for_bus_sync ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return GOOD_TYPES (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * GoodTypesSkeleton: 650s # * 650s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * GoodTypesSkeletonClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for GoodTypesSkeleton. 650s # */ 650s # 650s # struct _GoodTypesSkeletonPrivate 650s # { 650s # GValue *properties; 650s # GList *changed_properties; 650s # GSource *changed_properties_idle_source; 650s # GMainContext *context; 650s # GMutex lock; 650s # }; 650s # 650s # static void 650s # _good_types_skeleton_handle_method_call ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name, 650s # const gchar *method_name, 650s # GVariant *parameters, 650s # GDBusMethodInvocation *invocation, 650s # gpointer user_data) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 650s # _ExtendedGDBusMethodInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # guint num_extra; 650s # gsize n; 650s # guint signal_id; 650s # GValue return_value = G_VALUE_INIT; 650s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 650s # g_assert (info != NULL); 650s # num_params = g_variant_n_children (parameters); 650s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 650s # n = 0; 650s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 650s # g_value_set_object (¶mv[n++], skeleton); 650s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 650s # g_value_set_object (¶mv[n++], invocation); 650s # if (info->pass_fdlist) 650s # { 650s # #ifdef G_OS_UNIX 650s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 650s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 650s # #else 650s # g_assert_not_reached (); 650s # #endif 650s # } 650s # g_variant_iter_init (&iter, parameters); 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 650s # g_value_init (&return_value, G_TYPE_BOOLEAN); 650s # g_signal_emitv (paramv, signal_id, 0, &return_value); 650s # if (!g_value_get_boolean (&return_value)) 650s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 650s # g_value_unset (&return_value); 650s # for (n = 0; n < num_params + num_extra; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static GVariant * 650s # _good_types_skeleton_handle_get_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # GVariant *ret; 650s # ret = NULL; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # g_value_init (&value, pspec->value_type); 650s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 650s # g_value_unset (&value); 650s # } 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _good_types_skeleton_handle_set_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GVariant *variant, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # gboolean ret; 650s # ret = FALSE; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # if (info->use_gvariant) 650s # g_value_set_variant (&value, variant); 650s # else 650s # g_dbus_gvariant_to_gvalue (variant, &value); 650s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # g_value_unset (&value); 650s # ret = TRUE; 650s # } 650s # return ret; 650s # } 650s # 650s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 650s # { 650s # _good_types_skeleton_handle_method_call, 650s # _good_types_skeleton_handle_get_property, 650s # _good_types_skeleton_handle_set_property, 650s # {NULL} 650s # }; 650s # 650s # static GDBusInterfaceInfo * 650s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return good_types_interface_info (); 650s # } 650s # 650s # static GDBusInterfaceVTable * 650s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 650s # } 650s # 650s # static GVariant * 650s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 650s # 650s # GVariantBuilder builder; 650s # guint n; 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 650s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # #else 650s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 650s # #endif 650s # if (_good_types_interface_info.parent_struct.properties == NULL) 650s # goto out; 650s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 650s # { 650s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 650s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 650s # { 650s # GVariant *value; 650s # 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); 650s # if (value != NULL) 650s # { 650s # g_variant_take_ref (value); 650s # g_variant_builder_add (&builder, "{sv}", info->name, value); 650s # g_variant_unref (value); 650s # } 650s # } 650s # } 650s # out: 650s # return g_variant_builder_end (&builder); 650s # } 650s # 650s # static gboolean _good_types_emit_changed (gpointer user_data); 650s # 650s # static void 650s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 650s # gboolean emit_changed = FALSE; 650s # 650s # g_mutex_lock (&skeleton->priv->lock); 650s # if (skeleton->priv->changed_properties_idle_source != NULL) 650s # { 650s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 650s # skeleton->priv->changed_properties_idle_source = NULL; 650s # emit_changed = TRUE; 650s # } 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # 650s # if (emit_changed) 650s # _good_types_emit_changed (skeleton); 650s # } 650s # 650s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_ADD_PRIVATE (GoodTypesSkeleton) 650s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 650s # 650s # #endif 650s # static void 650s # good_types_skeleton_finalize (GObject *object) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 650s # guint n; 650s # for (n = 0; n < 1; n++) 650s # g_value_unset (&skeleton->priv->properties[n]); 650s # g_free (skeleton->priv->properties); 650s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 650s # if (skeleton->priv->changed_properties_idle_source != NULL) 650s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 650s # g_main_context_unref (skeleton->priv->context); 650s # g_mutex_clear (&skeleton->priv->lock); 650s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # good_types_skeleton_get_property (GObject *object, 650s # guint prop_id, 650s # GValue *value, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 650s # g_assert (prop_id != 0 && prop_id - 1 < 1); 650s # g_mutex_lock (&skeleton->priv->lock); 650s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # } 650s # 650s # static gboolean 650s # _good_types_emit_changed (gpointer user_data) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 650s # GList *l; 650s # GVariantBuilder builder; 650s # GVariantBuilder invalidated_builder; 650s # guint num_changes; 650s # 650s # g_mutex_lock (&skeleton->priv->lock); 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 650s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 650s # #else 650s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 650s # #endif 650s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 650s # { 650s # ChangedProperty *cp = l->data; 650s # GVariant *variant; 650s # const GValue *cur_value; 650s # 650s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 650s # if (!_g_value_equal (cur_value, &cp->orig_value)) 650s # { 650s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 650s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 650s # g_variant_unref (variant); 650s # num_changes++; 650s # } 650s # } 650s # if (num_changes > 0) 650s # { 650s # GList *connections, *ll; 650s # GVariant *signal_variant; 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 650s # &builder, &invalidated_builder)); 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # for (ll = connections; ll != NULL; ll = ll->next) 650s # { 650s # GDBusConnection *connection = ll->data; 650s # 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 650s # "org.freedesktop.DBus.Properties", 650s # "PropertiesChanged", 650s # signal_variant, 650s # NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # else 650s # { 650s # g_variant_builder_clear (&builder); 650s # g_variant_builder_clear (&invalidated_builder); 650s # } 650s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 650s # skeleton->priv->changed_properties = NULL; 650s # skeleton->priv->changed_properties_idle_source = NULL; 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # return FALSE; 650s # } 650s # 650s # static void 650s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 650s # { 650s # ChangedProperty *cp; 650s # GList *l; 650s # cp = NULL; 650s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 650s # { 650s # ChangedProperty *i_cp = l->data; 650s # if (i_cp->info == info) 650s # { 650s # cp = i_cp; 650s # break; 650s # } 650s # } 650s # if (cp == NULL) 650s # { 650s # cp = g_new0 (ChangedProperty, 1); 650s # cp->prop_id = prop_id; 650s # cp->info = info; 650s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 650s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 650s # g_value_copy (orig_value, &cp->orig_value); 650s # } 650s # } 650s # 650s # static void 650s # good_types_skeleton_notify (GObject *object, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 650s # g_mutex_lock (&skeleton->priv->lock); 650s # if (skeleton->priv->changed_properties != NULL && 650s # skeleton->priv->changed_properties_idle_source == NULL) 650s # { 650s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 650s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 650s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 650s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 650s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 650s # g_source_unref (skeleton->priv->changed_properties_idle_source); 650s # } 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # } 650s # 650s # static void 650s # good_types_skeleton_set_property (GObject *object, 650s # guint prop_id, 650s # const GValue *value, 650s # GParamSpec *pspec) 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 650s # g_assert (prop_id != 0 && prop_id - 1 < 1); 650s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 650s # g_mutex_lock (&skeleton->priv->lock); 650s # g_object_freeze_notify (object); 650s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 650s # { 650s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 650s # info->emits_changed_signal) 650s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 650s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 650s # g_object_notify_by_pspec (object, pspec); 650s # } 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # g_object_thaw_notify (object); 650s # } 650s # 650s # static void 650s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 650s # #else 650s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 650s # #endif 650s # 650s # g_mutex_init (&skeleton->priv->lock); 650s # skeleton->priv->context = g_main_context_ref_thread_default (); 650s # skeleton->priv->properties = g_new0 (GValue, 1); 650s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 650s # } 650s # 650s # static GVariant * 650s # good_types_skeleton_get_good_property_type (GoodTypes *object) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 650s # GVariant *value; 650s # g_mutex_lock (&skeleton->priv->lock); 650s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # return value; 650s # } 650s # 650s # static void 650s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusInterfaceSkeletonClass *skeleton_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = good_types_skeleton_finalize; 650s # gobject_class->get_property = good_types_skeleton_get_property; 650s # gobject_class->set_property = good_types_skeleton_set_property; 650s # gobject_class->notify = good_types_skeleton_notify; 650s # 650s # 650s # good_types_override_properties (gobject_class, 1); 650s # 650s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 650s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 650s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 650s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 650s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # good_types_skeleton_iface_init (GoodTypesIface *iface) 650s # { 650s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 650s # } 650s # 650s # /** 650s # * good_types_skeleton_new: 650s # * 650s # * Creates a skeleton object for the D-Bus interface GoodTypes. 650s # * 650s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 650s # */ 650s # GoodTypes * 650s # good_types_skeleton_new (void) 650s # { 650s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 650s # } 650s # Error: 650s # 650s # /tmp/tmpqjlashu8/tmpv2hgtq95.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqjlashu8/tmpv2hgtq95.xml', '--output', '-', '--body'] 650s # Return code: 0 650s # Output: 650s # /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifdef HAVE_CONFIG_H 650s # # include "config.h" 650s # #endif 650s # 650s # #include 650s # #ifdef G_OS_UNIX 650s # # include 650s # #endif 650s # 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # 650s # typedef struct 650s # { 650s # GDBusArgInfo parent_struct; 650s # gboolean use_gvariant; 650s # } _ExtendedGDBusArgInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusMethodInfo parent_struct; 650s # const gchar *signal_name; 650s # gboolean pass_fdlist; 650s # } _ExtendedGDBusMethodInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusSignalInfo parent_struct; 650s # const gchar *signal_name; 650s # } _ExtendedGDBusSignalInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusPropertyInfo parent_struct; 650s # const gchar *hyphen_name; 650s # guint use_gvariant : 1; 650s # guint emits_changed_signal : 1; 650s # } _ExtendedGDBusPropertyInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusInterfaceInfo parent_struct; 650s # const gchar *hyphen_name; 650s # } _ExtendedGDBusInterfaceInfo; 650s # 650s # typedef struct 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # guint prop_id; 650s # GValue orig_value; /* the value before the change */ 650s # } ChangedProperty; 650s # 650s # static void 650s # _changed_property_free (ChangedProperty *data) 650s # { 650s # g_value_unset (&data->orig_value); 650s # g_free (data); 650s # } 650s # 650s # static gboolean 650s # _g_strv_equal0 (gchar **a, gchar **b) 650s # { 650s # gboolean ret = FALSE; 650s # guint n; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # if (g_strv_length (a) != g_strv_length (b)) 650s # goto out; 650s # for (n = 0; a[n] != NULL; n++) 650s # if (g_strcmp0 (a[n], b[n]) != 0) 650s # goto out; 650s # ret = TRUE; 650s # out: 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _g_variant_equal0 (GVariant *a, GVariant *b) 650s # { 650s # gboolean ret = FALSE; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # ret = g_variant_equal (a, b); 650s # out: 650s # return ret; 650s # } 650s # 650s # G_GNUC_UNUSED static gboolean 650s # _g_value_equal (const GValue *a, const GValue *b) 650s # { 650s # gboolean ret = FALSE; 650s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 650s # switch (G_VALUE_TYPE (a)) 650s # { 650s # case G_TYPE_BOOLEAN: 650s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 650s # break; 650s # case G_TYPE_UCHAR: 650s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 650s # break; 650s # case G_TYPE_INT: 650s # ret = (g_value_get_int (a) == g_value_get_int (b)); 650s # break; 650s # case G_TYPE_UINT: 650s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 650s # break; 650s # case G_TYPE_INT64: 650s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 650s # break; 650s # case G_TYPE_UINT64: 650s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 650s # break; 650s # case G_TYPE_DOUBLE: 650s # { 650s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 650s # gdouble da = g_value_get_double (a); 650s # gdouble db = g_value_get_double (b); 650s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 650s # } 650s # break; 650s # case G_TYPE_STRING: 650s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 650s # break; 650s # case G_TYPE_VARIANT: 650s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 650s # break; 650s # default: 650s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 650s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 650s # else 650s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 650s # break; 650s # } 650s # return ret; 650s # } 650s # 650s # /* ------------------------------------------------------------------------ 650s # * Code for interface GoodTypes 650s # * ------------------------------------------------------------------------ 650s # */ 650s # 650s # /** 650s # * SECTION:GoodTypes 650s # * @title: GoodTypes 650s # * @short_description: Generated C code for the GoodTypes D-Bus interface 650s # * 650s # * This section contains code for working with the GoodTypes D-Bus interface in C. 650s # */ 650s # 650s # /* ---- Introspection data for GoodTypes ---- */ 650s # 650s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 650s # { 650s # { 650s # -1, 650s # (gchar *) "GoodPropertyType", 650s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 650s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 650s # NULL 650s # }, 650s # "good-property-type", 650s # FALSE, 650s # TRUE 650s # }; 650s # 650s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 650s # { 650s # &_good_types_property_info_good_property_type.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 650s # { 650s # { 650s # -1, 650s # (gchar *) "GoodTypes", 650s # NULL, 650s # NULL, 650s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 650s # NULL 650s # }, 650s # "good-types", 650s # }; 650s # 650s # 650s # /** 650s # * good_types_interface_info: 650s # * 650s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 650s # * 650s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 650s # */ 650s # GDBusInterfaceInfo * 650s # good_types_interface_info (void) 650s # { 650s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 650s # } 650s # 650s # /** 650s # * good_types_override_properties: 650s # * @klass: The class structure for a #GObject derived class. 650s # * @property_id_begin: The property id to assign to the first overridden property. 650s # * 650s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 650s # * The properties are overridden in the order they are defined. 650s # * 650s # * Returns: The last property id. 650s # */ 650s # guint 650s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 650s # { 650s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 650s # return property_id_begin - 1; 650s # } 650s # 650s # 650s # 650s # /** 650s # * GoodTypes: 650s # * 650s # * Abstract interface type for the D-Bus interface GoodTypes. 650s # */ 650s # 650s # /** 650s # * GoodTypesIface: 650s # * @parent_iface: The parent interface. 650s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 650s # * 650s # * Virtual table for the D-Bus interface GoodTypes. 650s # */ 650s # 650s # typedef GoodTypesIface GoodTypesInterface; 650s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 650s # 650s # static void 650s # good_types_default_init (GoodTypesIface *iface) 650s # { 650s # /* GObject properties for D-Bus properties: */ 650s # /** 650s # * GoodTypes:good-property-type: 650s # * 650s # * Represents the D-Bus property "GoodPropertyType". 650s # * 650s # * 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. 650s # */ 650s # g_object_interface_install_property (iface, 650s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 650s # } 650s # 650s # /** 650s # * good_types_get_good_property_type: (skip) 650s # * @object: A GoodTypes. 650s # * 650s # * Gets the value of the "GoodPropertyType" D-Bus property. 650s # * 650s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 650s # * 650s # * 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. 650s # * 650s # * 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. 650s # */ 650s # GVariant * 650s # good_types_get_good_property_type (GoodTypes *object) 650s # { 650s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 650s # 650s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 650s # } 650s # 650s # /** 650s # * good_types_dup_good_property_type: (skip) 650s # * @object: A GoodTypes. 650s # * 650s # * Gets a copy of the "GoodPropertyType" D-Bus property. 650s # * 650s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 650s # * 650s # * 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(). 650s # */ 650s # GVariant * 650s # good_types_dup_good_property_type (GoodTypes *object) 650s # { 650s # GVariant *value; 650s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 650s # return value; 650s # } 650s # 650s # /** 650s # * good_types_set_good_property_type: (skip) 650s # * @object: A GoodTypes. 650s # * @value: The value to set. 650s # * 650s # * Sets the "GoodPropertyType" D-Bus property to @value. 650s # * 650s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 650s # */ 650s # void 650s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 650s # { 650s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * GoodTypesProxy: 650s # * 650s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * GoodTypesProxyClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for GoodTypesProxy. 650s # */ 650s # 650s # struct _GoodTypesProxyPrivate 650s # { 650s # GData *qdata; 650s # }; 650s # 650s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 650s # G_ADD_PRIVATE (GoodTypesProxy) 650s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 650s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 650s # 650s # #endif 650s # static void 650s # good_types_proxy_finalize (GObject *object) 650s # { 650s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 650s # g_datalist_clear (&proxy->priv->qdata); 650s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # good_types_proxy_get_property (GObject *object, 650s # guint prop_id, 650s # GValue *value, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # GVariant *variant; 650s # g_assert (prop_id != 0 && prop_id - 1 < 1); 650s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 650s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 650s # if (info->use_gvariant) 650s # { 650s # g_value_set_variant (value, variant); 650s # } 650s # else 650s # { 650s # if (variant != NULL) 650s # g_dbus_gvariant_to_gvalue (variant, value); 650s # } 650s # if (variant != NULL) 650s # g_variant_unref (variant); 650s # } 650s # 650s # static void 650s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 650s # GAsyncResult *res, 650s # gpointer user_data) 650s # { 650s # const _ExtendedGDBusPropertyInfo *info = user_data; 650s # GError *error; 650s # GVariant *_ret; 650s # error = NULL; 650s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 650s # if (!_ret) 650s # { 650s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 650s # info->parent_struct.name, 650s # error->message, g_quark_to_string (error->domain), error->code); 650s # g_error_free (error); 650s # } 650s # else 650s # { 650s # g_variant_unref (_ret); 650s # } 650s # } 650s # 650s # static void 650s # good_types_proxy_set_property (GObject *object, 650s # guint prop_id, 650s # const GValue *value, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # GVariant *variant; 650s # g_assert (prop_id != 0 && prop_id - 1 < 1); 650s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 650s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 650s # g_dbus_proxy_call (G_DBUS_PROXY (object), 650s # "org.freedesktop.DBus.Properties.Set", 650s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 650s # G_DBUS_CALL_FLAGS_NONE, 650s # -1, 650s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 650s # g_variant_unref (variant); 650s # } 650s # 650s # static void 650s # good_types_proxy_g_signal (GDBusProxy *proxy, 650s # const gchar *sender_name G_GNUC_UNUSED, 650s # const gchar *signal_name, 650s # GVariant *parameters) 650s # { 650s # _ExtendedGDBusSignalInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # gsize n; 650s # guint signal_id; 650s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 650s # if (info == NULL) 650s # return; 650s # num_params = g_variant_n_children (parameters); 650s # paramv = g_new0 (GValue, num_params + 1); 650s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 650s # g_value_set_object (¶mv[0], proxy); 650s # g_variant_iter_init (&iter, parameters); 650s # n = 1; 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 650s # g_signal_emitv (paramv, signal_id, 0, NULL); 650s # for (n = 0; n < num_params + 1; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static void 650s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 650s # GVariant *changed_properties, 650s # const gchar *const *invalidated_properties) 650s # { 650s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 650s # guint n; 650s # const gchar *key; 650s # GVariantIter *iter; 650s # _ExtendedGDBusPropertyInfo *info; 650s # g_variant_get (changed_properties, "a{sv}", &iter); 650s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 650s # g_datalist_remove_data (&proxy->priv->qdata, key); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # g_variant_iter_free (iter); 650s # for (n = 0; invalidated_properties[n] != NULL; n++) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 650s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # } 650s # 650s # static GVariant * 650s # good_types_proxy_get_good_property_type (GoodTypes *object) 650s # { 650s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 650s # GVariant *variant; 650s # GVariant *value = NULL; 650s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 650s # value = variant; 650s # if (variant != NULL) 650s # g_variant_unref (variant); 650s # return value; 650s # } 650s # 650s # static void 650s # good_types_proxy_init (GoodTypesProxy *proxy) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # proxy->priv = good_types_proxy_get_instance_private (proxy); 650s # #else 650s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 650s # #endif 650s # 650s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 650s # } 650s # 650s # static void 650s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusProxyClass *proxy_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = good_types_proxy_finalize; 650s # gobject_class->get_property = good_types_proxy_get_property; 650s # gobject_class->set_property = good_types_proxy_set_property; 650s # 650s # proxy_class = G_DBUS_PROXY_CLASS (klass); 650s # proxy_class->g_signal = good_types_proxy_g_signal; 650s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 650s # 650s # good_types_override_properties (gobject_class, 1); 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # good_types_proxy_iface_init (GoodTypesIface *iface) 650s # { 650s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 650s # } 650s # 650s # /** 650s # * good_types_proxy_new: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 650s # * 650s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # good_types_proxy_new ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * good_types_proxy_new_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with good_types_proxy_new(). 650s # * 650s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # GoodTypes * 650s # good_types_proxy_new_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return GOOD_TYPES (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * good_types_proxy_new_sync: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See good_types_proxy_new() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # GoodTypes * 650s # good_types_proxy_new_sync ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return GOOD_TYPES (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /** 650s # * good_types_proxy_new_for_bus: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 650s # * 650s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # good_types_proxy_new_for_bus ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * good_types_proxy_new_for_bus_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with good_types_proxy_new_for_bus(). 650s # * 650s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # GoodTypes * 650s # good_types_proxy_new_for_bus_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return GOOD_TYPES (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * good_types_proxy_new_for_bus_sync: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # GoodTypes * 650s # good_types_proxy_new_for_bus_sync ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return GOOD_TYPES (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * GoodTypesSkeleton: 650s # * 650s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * GoodTypesSkeletonClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for GoodTypesSkeleton. 650s # */ 650s # 650s # struct _GoodTypesSkeletonPrivate 650s # { 650s # GValue *properties; 650s # GList *changed_properties; 650s # GSource *changed_properties_idle_source; 650s # GMainContext *context; 650s # GMutex lock; 650s # }; 650s # 650s # static void 650s # _good_types_skeleton_handle_method_call ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name, 650s # const gchar *method_name, 650s # GVariant *parameters, 650s # GDBusMethodInvocation *invocation, 650s # gpointer user_data) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 650s # _ExtendedGDBusMethodInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # guint num_extra; 650s # gsize n; 650s # guint signal_id; 650s # GValue return_value = G_VALUE_INIT; 650s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 650s # g_assert (info != NULL); 650s # num_params = g_variant_n_children (parameters); 650s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 650s # n = 0; 650s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 650s # g_value_set_object (¶mv[n++], skeleton); 650s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 650s # g_value_set_object (¶mv[n++], invocation); 650s # if (info->pass_fdlist) 650s # { 650s # #ifdef G_OS_UNIX 650s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 650s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 650s # #else 650s # g_assert_not_reached (); 650s # #endif 650s # } 650s # g_variant_iter_init (&iter, parameters); 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 650s # g_value_init (&return_value, G_TYPE_BOOLEAN); 650s # g_signal_emitv (paramv, signal_id, 0, &return_value); 650s # if (!g_value_get_boolean (&return_value)) 650s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 650s # g_value_unset (&return_value); 650s # for (n = 0; n < num_params + num_extra; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static GVariant * 650s # _good_types_skeleton_handle_get_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # GVariant *ret; 650s # ret = NULL; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # g_value_init (&value, pspec->value_type); 650s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 650s # g_value_unset (&value); 650s # } 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _good_types_skeleton_handle_set_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GVariant *variant, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # gboolean ret; 650s # ret = FALSE; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # if (info->use_gvariant) 650s # g_value_set_variant (&value, variant); 650s # else 650s # g_dbus_gvariant_to_gvalue (variant, &value); 650s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # g_value_unset (&value); 650s # ret = TRUE; 650s # } 650s # return ret; 650s # } 650s # 650s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 650s # { 650s # _good_types_skeleton_handle_method_call, 650s # _good_types_skeleton_handle_get_property, 650s # _good_types_skeleton_handle_set_property, 650s # {NULL} 650s # }; 650s # 650s # static GDBusInterfaceInfo * 650s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return good_types_interface_info (); 650s # } 650s # 650s # static GDBusInterfaceVTable * 650s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 650s # } 650s # 650s # static GVariant * 650s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 650s # 650s # GVariantBuilder builder; 650s # guint n; 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 650s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # #else 650s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 650s # #endif 650s # if (_good_types_interface_info.parent_struct.properties == NULL) 650s # goto out; 650s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 650s # { 650s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 650s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 650s # { 650s # GVariant *value; 650s # 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); 650s # if (value != NULL) 650s # { 650s # g_variant_take_ref (value); 650s # g_variant_builder_add (&builder, "{sv}", info->name, value); 650s # g_variant_unref (value); 650s # } 650s # } 650s # } 650s # out: 650s # return g_variant_builder_end (&builder); 650s # } 650s # 650s # static gboolean _good_types_emit_changed (gpointer user_data); 650s # 650s # static void 650s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 650s # gboolean emit_changed = FALSE; 650s # 650s # g_mutex_lock (&skeleton->priv->lock); 650s # if (skeleton->priv->changed_properties_idle_source != NULL) 650s # { 650s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 650s # skeleton->priv->changed_properties_idle_source = NULL; 650s # emit_changed = TRUE; 650s # } 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # 650s # if (emit_changed) 650s # _good_types_emit_changed (skeleton); 650s # } 650s # 650s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_ADD_PRIVATE (GoodTypesSkeleton) 650s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 650s # 650s # #endif 650s # static void 650s # good_types_skeleton_finalize (GObject *object) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 650s # guint n; 650s # for (n = 0; n < 1; n++) 650s # g_value_unset (&skeleton->priv->properties[n]); 650s # g_free (skeleton->priv->properties); 650s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 650s # if (skeleton->priv->changed_properties_idle_source != NULL) 650s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 650s # g_main_context_unref (skeleton->priv->context); 650s # g_mutex_clear (&skeleton->priv->lock); 650s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # good_types_skeleton_get_property (GObject *object, 650s # guint prop_id, 650s # GValue *value, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 650s # g_assert (prop_id != 0 && prop_id - 1 < 1); 650s # g_mutex_lock (&skeleton->priv->lock); 650s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # } 650s # 650s # static gboolean 650s # _good_types_emit_changed (gpointer user_data) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 650s # GList *l; 650s # GVariantBuilder builder; 650s # GVariantBuilder invalidated_builder; 650s # guint num_changes; 650s # 650s # g_mutex_lock (&skeleton->priv->lock); 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 650s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 650s # #else 650s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 650s # #endif 650s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 650s # { 650s # ChangedProperty *cp = l->data; 650s # GVariant *variant; 650s # const GValue *cur_value; 650s # 650s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 650s # if (!_g_value_equal (cur_value, &cp->orig_value)) 650s # { 650s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 650s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 650s # g_variant_unref (variant); 650s # num_changes++; 650s # } 650s # } 650s # if (num_changes > 0) 650s # { 650s # GList *connections, *ll; 650s # GVariant *signal_variant; 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 650s # &builder, &invalidated_builder)); 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # for (ll = connections; ll != NULL; ll = ll->next) 650s # { 650s # GDBusConnection *connection = ll->data; 650s # 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 650s # "org.freedesktop.DBus.Properties", 650s # "PropertiesChanged", 650s # signal_variant, 650s # NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # else 650s # { 650s # g_variant_builder_clear (&builder); 650s # g_variant_builder_clear (&invalidated_builder); 650s # } 650s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 650s # skeleton->priv->changed_properties = NULL; 650s # skeleton->priv->changed_properties_idle_source = NULL; 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # return FALSE; 650s # } 650s # 650s # static void 650s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 650s # { 650s # ChangedProperty *cp; 650s # GList *l; 650s # cp = NULL; 650s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 650s # { 650s # ChangedProperty *i_cp = l->data; 650s # if (i_cp->info == info) 650s # { 650s # cp = i_cp; 650s # break; 650s # } 650s # } 650s # if (cp == NULL) 650s # { 650s # cp = g_new0 (ChangedProperty, 1); 650s # cp->prop_id = prop_id; 650s # cp->info = info; 650s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 650s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 650s # g_value_copy (orig_value, &cp->orig_value); 650s # } 650s # } 650s # 650s # static void 650s # good_types_skeleton_notify (GObject *object, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 650s # g_mutex_lock (&skeleton->priv->lock); 650s # if (skeleton->priv->changed_properties != NULL && 650s # skeleton->priv->changed_properties_idle_source == NULL) 650s # { 650s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 650s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 650s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 650s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 650s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 650s # g_source_unref (skeleton->priv->changed_properties_idle_source); 650s # } 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # } 650s # 650s # static void 650s # good_types_skeleton_set_property (GObject *object, 650s # guint prop_id, 650s # const GValue *value, 650s # GParamSpec *pspec) 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 650s # g_assert (prop_id != 0 && prop_id - 1 < 1); 650s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 650s # g_mutex_lock (&skeleton->priv->lock); 650s # g_object_freeze_notify (object); 650s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 650s # { 650s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 650s # info->emits_changed_signal) 650s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 650s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 650s # g_object_notify_by_pspec (object, pspec); 650s # } 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # g_object_thaw_notify (object); 650s # } 650s # 650s # static void 650s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 650s # #else 650s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 650s # #endif 650s # 650s # g_mutex_init (&skeleton->priv->lock); 650s # skeleton->priv->context = g_main_context_ref_thread_default (); 650s # skeleton->priv->properties = g_new0 (GValue, 1); 650s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 650s # } 650s # 650s # static GVariant * 650s # good_types_skeleton_get_good_property_type (GoodTypes *object) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 650s # GVariant *value; 650s # g_mutex_lock (&skeleton->priv->lock); 650s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # return value; 650s # } 650s # 650s # static void 650s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusInterfaceSkeletonClass *skeleton_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = good_types_skeleton_finalize; 650s # gobject_class->get_property = good_types_skeleton_get_property; 650s # gobject_class->set_property = good_types_skeleton_set_property; 650s # gobject_class->notify = good_types_skeleton_notify; 650s # 650s # 650s # good_types_override_properties (gobject_class, 1); 650s # 650s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 650s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 650s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 650s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 650s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # good_types_skeleton_iface_init (GoodTypesIface *iface) 650s # { 650s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 650s # } 650s # 650s # /** 650s # * good_types_skeleton_new: 650s # * 650s # * Creates a skeleton object for the D-Bus interface GoodTypes. 650s # * 650s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 650s # */ 650s # GoodTypes * 650s # good_types_skeleton_new (void) 650s # { 650s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 650s # } 650s # Error: 650s # 650s # /tmp/tmpqjlashu8/tmpeyssej2k.xml: 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqjlashu8/tmpeyssej2k.xml', '--output', '-', '--body'] 650s # Return code: 0 650s # Output: 650s # /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifdef HAVE_CONFIG_H 650s # # include "config.h" 650s # #endif 650s # 650s # #include 650s # #ifdef G_OS_UNIX 650s # # include 650s # #endif 650s # 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # 650s # typedef struct 650s # { 650s # GDBusArgInfo parent_struct; 650s # gboolean use_gvariant; 650s # } _ExtendedGDBusArgInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusMethodInfo parent_struct; 650s # const gchar *signal_name; 650s # gboolean pass_fdlist; 650s # } _ExtendedGDBusMethodInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusSignalInfo parent_struct; 650s # const gchar *signal_name; 650s # } _ExtendedGDBusSignalInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusPropertyInfo parent_struct; 650s # const gchar *hyphen_name; 650s # guint use_gvariant : 1; 650s # guint emits_changed_signal : 1; 650s # } _ExtendedGDBusPropertyInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusInterfaceInfo parent_struct; 650s # const gchar *hyphen_name; 650s # } _ExtendedGDBusInterfaceInfo; 650s # 650s # typedef struct 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # guint prop_id; 650s # GValue orig_value; /* the value before the change */ 650s # } ChangedProperty; 650s # 650s # static void 650s # _changed_property_free (ChangedProperty *data) 650s # { 650s # g_value_unset (&data->orig_value); 650s # g_free (data); 650s # } 650s # 650s # static gboolean 650s # _g_strv_equal0 (gchar **a, gchar **b) 650s # { 650s # gboolean ret = FALSE; 650s # guint n; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # if (g_strv_length (a) != g_strv_length (b)) 650s # goto out; 650s # for (n = 0; a[n] != NULL; n++) 650s # if (g_strcmp0 (a[n], b[n]) != 0) 650s # goto out; 650s # ret = TRUE; 650s # out: 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _g_variant_equal0 (GVariant *a, GVariant *b) 650s # { 650s # gboolean ret = FALSE; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # ret = g_variant_equal (a, b); 650s # out: 650s # return ret; 650s # } 650s # 650s # G_GNUC_UNUSED static gboolean 650s # _g_value_equal (const GValue *a, const GValue *b) 650s # { 650s # gboolean ret = FALSE; 650s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 650s # switch (G_VALUE_TYPE (a)) 650s # { 650s # case G_TYPE_BOOLEAN: 650s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 650s # break; 650s # case G_TYPE_UCHAR: 650s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 650s # break; 650s # case G_TYPE_INT: 650s # ret = (g_value_get_int (a) == g_value_get_int (b)); 650s # break; 650s # case G_TYPE_UINT: 650s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 650s # break; 650s # case G_TYPE_INT64: 650s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 650s # break; 650s # case G_TYPE_UINT64: 650s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 650s # break; 650s # case G_TYPE_DOUBLE: 650s # { 650s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 650s # gdouble da = g_value_get_double (a); 650s # gdouble db = g_value_get_double (b); 650s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 650s # } 650s # break; 650s # case G_TYPE_STRING: 650s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 650s # break; 650s # case G_TYPE_VARIANT: 650s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 650s # break; 650s # default: 650s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 650s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 650s # else 650s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 650s # break; 650s # } 650s # return ret; 650s # } 650s # 650s # /* ------------------------------------------------------------------------ 650s # * Code for interface GoodTypes 650s # * ------------------------------------------------------------------------ 650s # */ 650s # 650s # /** 650s # * SECTION:GoodTypes 650s # * @title: GoodTypes 650s # * @short_description: Generated C code for the GoodTypes D-Bus interface 650s # * 650s # * This section contains code for working with the GoodTypes D-Bus interface in C. 650s # */ 650s # 650s # /* ---- Introspection data for GoodTypes ---- */ 650s # 650s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 650s # { 650s # { 650s # -1, 650s # (gchar *) "GoodPropertyType", 650s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 650s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 650s # NULL 650s # }, 650s # "good-property-type", 650s # FALSE, 650s # TRUE 650s # }; 650s # 650s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 650s # { 650s # &_good_types_property_info_good_property_type.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 650s # { 650s # { 650s # -1, 650s # (gchar *) "GoodTypes", 650s # NULL, 650s # NULL, 650s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 650s # NULL 650s # }, 650s # "good-types", 650s # }; 650s # 650s # 650s # /** 650s # * good_types_interface_info: 650s # * 650s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 650s # * 650s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 650s # */ 650s # GDBusInterfaceInfo * 650s # good_types_interface_info (void) 650s # { 650s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 650s # } 650s # 650s # /** 650s # * good_types_override_properties: 650s # * @klass: The class structure for a #GObject derived class. 650s # * @property_id_begin: The property id to assign to the first overridden property. 650s # * 650s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 650s # * The properties are overridden in the order they are defined. 650s # * 650s # * Returns: The last property id. 650s # */ 650s # guint 650s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 650s # { 650s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 650s # return property_id_begin - 1; 650s # } 650s # 650s # 650s # 650s # /** 650s # * GoodTypes: 650s # * 650s # * Abstract interface type for the D-Bus interface GoodTypes. 650s # */ 650s # 650s # /** 650s # * GoodTypesIface: 650s # * @parent_iface: The parent interface. 650s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 650s # * 650s # * Virtual table for the D-Bus interface GoodTypes. 650s # */ 650s # 650s # typedef GoodTypesIface GoodTypesInterface; 650s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 650s # 650s # static void 650s # good_types_default_init (GoodTypesIface *iface) 650s # { 650s # /* GObject properties for D-Bus properties: */ 650s # /** 650s # * GoodTypes:good-property-type: 650s # * 650s # * Represents the D-Bus property "GoodPropertyType". 650s # * 650s # * 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. 650s # */ 650s # g_object_interface_install_property (iface, 650s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 650s # } 650s # 650s # /** 650s # * good_types_get_good_property_type: (skip) 650s # * @object: A GoodTypes. 650s # * 650s # * Gets the value of the "GoodPropertyType" D-Bus property. 650s # * 650s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 650s # * 650s # * 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. 650s # * 650s # * 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. 650s # */ 650s # GVariant * 650s # good_types_get_good_property_type (GoodTypes *object) 650s # { 650s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 650s # 650s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 650s # } 650s # 650s # /** 650s # * good_types_dup_good_property_type: (skip) 650s # * @object: A GoodTypes. 650s # * 650s # * Gets a copy of the "GoodPropertyType" D-Bus property. 650s # * 650s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 650s # * 650s # * 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(). 650s # */ 650s # GVariant * 650s # good_types_dup_good_property_type (GoodTypes *object) 650s # { 650s # GVariant *value; 650s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 650s # return value; 650s # } 650s # 650s # /** 650s # * good_types_set_good_property_type: (skip) 650s # * @object: A GoodTypes. 650s # * @value: The value to set. 650s # * 650s # * Sets the "GoodPropertyType" D-Bus property to @value. 650s # * 650s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 650s # */ 650s # void 650s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 650s # { 650s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * GoodTypesProxy: 650s # * 650s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * GoodTypesProxyClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for GoodTypesProxy. 650s # */ 650s # 650s # struct _GoodTypesProxyPrivate 650s # { 650s # GData *qdata; 650s # }; 650s # 650s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 650s # G_ADD_PRIVATE (GoodTypesProxy) 650s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 650s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 650s # 650s # #endif 650s # static void 650s # good_types_proxy_finalize (GObject *object) 650s # { 650s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 650s # g_datalist_clear (&proxy->priv->qdata); 650s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # good_types_proxy_get_property (GObject *object, 650s # guint prop_id, 650s # GValue *value, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # GVariant *variant; 650s # g_assert (prop_id != 0 && prop_id - 1 < 1); 650s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 650s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 650s # if (info->use_gvariant) 650s # { 650s # g_value_set_variant (value, variant); 650s # } 650s # else 650s # { 650s # if (variant != NULL) 650s # g_dbus_gvariant_to_gvalue (variant, value); 650s # } 650s # if (variant != NULL) 650s # g_variant_unref (variant); 650s # } 650s # 650s # static void 650s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 650s # GAsyncResult *res, 650s # gpointer user_data) 650s # { 650s # const _ExtendedGDBusPropertyInfo *info = user_data; 650s # GError *error; 650s # GVariant *_ret; 650s # error = NULL; 650s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 650s # if (!_ret) 650s # { 650s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 650s # info->parent_struct.name, 650s # error->message, g_quark_to_string (error->domain), error->code); 650s # g_error_free (error); 650s # } 650s # else 650s # { 650s # g_variant_unref (_ret); 650s # } 650s # } 650s # 650s # static void 650s # good_types_proxy_set_property (GObject *object, 650s # guint prop_id, 650s # const GValue *value, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # GVariant *variant; 650s # g_assert (prop_id != 0 && prop_id - 1 < 1); 650s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 650s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 650s # g_dbus_proxy_call (G_DBUS_PROXY (object), 650s # "org.freedesktop.DBus.Properties.Set", 650s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 650s # G_DBUS_CALL_FLAGS_NONE, 650s # -1, 650s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 650s # g_variant_unref (variant); 650s # } 650s # 650s # static void 650s # good_types_proxy_g_signal (GDBusProxy *proxy, 650s # const gchar *sender_name G_GNUC_UNUSED, 650s # const gchar *signal_name, 650s # GVariant *parameters) 650s # { 650s # _ExtendedGDBusSignalInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # gsize n; 650s # guint signal_id; 650s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 650s # if (info == NULL) 650s # return; 650s # num_params = g_variant_n_children (parameters); 650s # paramv = g_new0 (GValue, num_params + 1); 650s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 650s # g_value_set_object (¶mv[0], proxy); 650s # g_variant_iter_init (&iter, parameters); 650s # n = 1; 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 650s # g_signal_emitv (paramv, signal_id, 0, NULL); 650s # for (n = 0; n < num_params + 1; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static void 650s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 650s # GVariant *changed_properties, 650s # const gchar *const *invalidated_properties) 650s # { 650s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 650s # guint n; 650s # const gchar *key; 650s # GVariantIter *iter; 650s # _ExtendedGDBusPropertyInfo *info; 650s # g_variant_get (changed_properties, "a{sv}", &iter); 650s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 650s # g_datalist_remove_data (&proxy->priv->qdata, key); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # g_variant_iter_free (iter); 650s # for (n = 0; invalidated_properties[n] != NULL; n++) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 650s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # } 650s # 650s # static GVariant * 650s # good_types_proxy_get_good_property_type (GoodTypes *object) 650s # { 650s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 650s # GVariant *variant; 650s # GVariant *value = NULL; 650s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 650s # value = variant; 650s # if (variant != NULL) 650s # g_variant_unref (variant); 650s # return value; 650s # } 650s # 650s # static void 650s # good_types_proxy_init (GoodTypesProxy *proxy) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # proxy->priv = good_types_proxy_get_instance_private (proxy); 650s # #else 650s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 650s # #endif 650s # 650s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 650s # } 650s # 650s # static void 650s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusProxyClass *proxy_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = good_types_proxy_finalize; 650s # gobject_class->get_property = good_types_proxy_get_property; 650s # gobject_class->set_property = good_types_proxy_set_property; 650s # 650s # proxy_class = G_DBUS_PROXY_CLASS (klass); 650s # proxy_class->g_signal = good_types_proxy_g_signal; 650s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 650s # 650s # good_types_override_properties (gobject_class, 1); 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # good_types_proxy_iface_init (GoodTypesIface *iface) 650s # { 650s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 650s # } 650s # 650s # /** 650s # * good_types_proxy_new: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 650s # * 650s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # good_types_proxy_new ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * good_types_proxy_new_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with good_types_proxy_new(). 650s # * 650s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # GoodTypes * 650s # good_types_proxy_new_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return GOOD_TYPES (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * good_types_proxy_new_sync: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See good_types_proxy_new() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # GoodTypes * 650s # good_types_proxy_new_sync ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return GOOD_TYPES (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /** 650s # * good_types_proxy_new_for_bus: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 650s # * 650s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # good_types_proxy_new_for_bus ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * good_types_proxy_new_for_bus_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with good_types_proxy_new_for_bus(). 650s # * 650s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # GoodTypes * 650s # good_types_proxy_new_for_bus_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return GOOD_TYPES (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * good_types_proxy_new_for_bus_sync: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # GoodTypes * 650s # good_types_proxy_new_for_bus_sync ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return GOOD_TYPES (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * GoodTypesSkeleton: 650s # * 650s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * GoodTypesSkeletonClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for GoodTypesSkeleton. 650s # */ 650s # 650s # struct _GoodTypesSkeletonPrivate 650s # { 650s # GValue *properties; 650s # GList *changed_properties; 650s # GSource *changed_properties_idle_source; 650s # GMainContext *context; 650s # GMutex lock; 650s # }; 650s # 650s # static void 650s # _good_types_skeleton_handle_method_call ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name, 650s # const gchar *method_name, 650s # GVariant *parameters, 650s # GDBusMethodInvocation *invocation, 650s # gpointer user_data) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 650s # _ExtendedGDBusMethodInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # guint num_extra; 650s # gsize n; 650s # guint signal_id; 650s # GValue return_value = G_VALUE_INIT; 650s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 650s # g_assert (info != NULL); 650s # num_params = g_variant_n_children (parameters); 650s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 650s # n = 0; 650s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 650s # g_value_set_object (¶mv[n++], skeleton); 650s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 650s # g_value_set_object (¶mv[n++], invocation); 650s # if (info->pass_fdlist) 650s # { 650s # #ifdef G_OS_UNIX 650s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 650s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 650s # #else 650s # g_assert_not_reached (); 650s # #endif 650s # } 650s # g_variant_iter_init (&iter, parameters); 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 650s # g_value_init (&return_value, G_TYPE_BOOLEAN); 650s # g_signal_emitv (paramv, signal_id, 0, &return_value); 650s # if (!g_value_get_boolean (&return_value)) 650s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 650s # g_value_unset (&return_value); 650s # for (n = 0; n < num_params + num_extra; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static GVariant * 650s # _good_types_skeleton_handle_get_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # GVariant *ret; 650s # ret = NULL; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # g_value_init (&value, pspec->value_type); 650s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 650s # g_value_unset (&value); 650s # } 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _good_types_skeleton_handle_set_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GVariant *variant, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # gboolean ret; 650s # ret = FALSE; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # if (info->use_gvariant) 650s # g_value_set_variant (&value, variant); 650s # else 650s # g_dbus_gvariant_to_gvalue (variant, &value); 650s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # g_value_unset (&value); 650s # ret = TRUE; 650s # } 650s # return ret; 650s # } 650s # 650s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 650s # { 650s # _good_types_skeleton_handle_method_call, 650s # _good_types_skeleton_handle_get_property, 650s # _good_types_skeleton_handle_set_property, 650s # {NULL} 650s # }; 650s # 650s # static GDBusInterfaceInfo * 650s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return good_types_interface_info (); 650s # } 650s # 650s # static GDBusInterfaceVTable * 650s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 650s # } 650s # 650s # static GVariant * 650s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 650s # 650s # GVariantBuilder builder; 650s # guint n; 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 650s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # #else 650s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 650s # #endif 650s # if (_good_types_interface_info.parent_struct.properties == NULL) 650s # goto out; 650s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 650s # { 650s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 650s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 650s # { 650s # GVariant *value; 650s # 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); 650s # if (value != NULL) 650s # { 650s # g_variant_take_ref (value); 650s # g_variant_builder_add (&builder, "{sv}", info->name, value); 650s # g_variant_unref (value); 650s # } 650s # } 650s # } 650s # out: 650s # return g_variant_builder_end (&builder); 650s # } 650s # 650s # static gboolean _good_types_emit_changed (gpointer user_data); 650s # 650s # static void 650s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 650s # gboolean emit_changed = FALSE; 650s # 650s # g_mutex_lock (&skeleton->priv->lock); 650s # if (skeleton->priv->changed_properties_idle_source != NULL) 650s # { 650s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 650s # skeleton->priv->changed_properties_idle_source = NULL; 650s # emit_changed = TRUE; 650s # } 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # 650s # if (emit_changed) 650s # _good_types_emit_changed (skeleton); 650s # } 650s # 650s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_ADD_PRIVATE (GoodTypesSkeleton) 650s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 650s # 650s # #endif 650s # static void 650s # good_types_skeleton_finalize (GObject *object) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 650s # guint n; 650s # for (n = 0; n < 1; n++) 650s # g_value_unset (&skeleton->priv->properties[n]); 650s # g_free (skeleton->priv->properties); 650s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 650s # if (skeleton->priv->changed_properties_idle_source != NULL) 650s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 650s # g_main_context_unref (skeleton->priv->context); 650s # g_mutex_clear (&skeleton->priv->lock); 650s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # good_types_skeleton_get_property (GObject *object, 650s # guint prop_id, 650s # GValue *value, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 650s # g_assert (prop_id != 0 && prop_id - 1 < 1); 650s # g_mutex_lock (&skeleton->priv->lock); 650s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # } 650s # 650s # static gboolean 650s # _good_types_emit_changed (gpointer user_data) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 650s # GList *l; 650s # GVariantBuilder builder; 650s # GVariantBuilder invalidated_builder; 650s # guint num_changes; 650s # 650s # g_mutex_lock (&skeleton->priv->lock); 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 650s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 650s # #else 650s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 650s # #endif 650s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 650s # { 650s # ChangedProperty *cp = l->data; 650s # GVariant *variant; 650s # const GValue *cur_value; 650s # 650s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 650s # if (!_g_value_equal (cur_value, &cp->orig_value)) 650s # { 650s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 650s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 650s # g_variant_unref (variant); 650s # num_changes++; 650s # } 650s # } 650s # if (num_changes > 0) 650s # { 650s # GList *connections, *ll; 650s # GVariant *signal_variant; 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 650s # &builder, &invalidated_builder)); 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # for (ll = connections; ll != NULL; ll = ll->next) 650s # { 650s # GDBusConnection *connection = ll->data; 650s # 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 650s # "org.freedesktop.DBus.Properties", 650s # "PropertiesChanged", 650s # signal_variant, 650s # NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # else 650s # { 650s # g_variant_builder_clear (&builder); 650s # g_variant_builder_clear (&invalidated_builder); 650s # } 650s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 650s # skeleton->priv->changed_properties = NULL; 650s # skeleton->priv->changed_properties_idle_source = NULL; 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # return FALSE; 650s # } 650s # 650s # static void 650s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 650s # { 650s # ChangedProperty *cp; 650s # GList *l; 650s # cp = NULL; 650s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 650s # { 650s # ChangedProperty *i_cp = l->data; 650s # if (i_cp->info == info) 650s # { 650s # cp = i_cp; 650s # break; 650s # } 650s # } 650s # if (cp == NULL) 650s # { 650s # cp = g_new0 (ChangedProperty, 1); 650s # cp->prop_id = prop_id; 650s # cp->info = info; 650s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 650s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 650s # g_value_copy (orig_value, &cp->orig_value); 650s # } 650s # } 650s # 650s # static void 650s # good_types_skeleton_notify (GObject *object, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 650s # g_mutex_lock (&skeleton->priv->lock); 650s # if (skeleton->priv->changed_properties != NULL && 650s # skeleton->priv->changed_properties_idle_source == NULL) 650s # { 650s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 650s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 650s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 650s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 650s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 650s # g_source_unref (skeleton->priv->changed_properties_idle_source); 650s # } 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # } 650s # 650s # static void 650s # good_types_skeleton_set_property (GObject *object, 650s # guint prop_id, 650s # const GValue *value, 650s # GParamSpec *pspec) 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 650s # g_assert (prop_id != 0 && prop_id - 1 < 1); 650s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 650s # g_mutex_lock (&skeleton->priv->lock); 650s # g_object_freeze_notify (object); 650s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 650s # { 650s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 650s # info->emits_changed_signal) 650s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 650s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 650s # g_object_notify_by_pspec (object, pspec); 650s # } 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # g_object_thaw_notify (object); 650s # } 650s # 650s # static void 650s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 650s # #else 650s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 650s # #endif 650s # 650s # g_mutex_init (&skeleton->priv->lock); 650s # skeleton->priv->context = g_main_context_ref_thread_default (); 650s # skeleton->priv->properties = g_new0 (GValue, 1); 650s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 650s # } 650s # 650s # static GVariant * 650s # good_types_skeleton_get_good_property_type (GoodTypes *object) 650s # { 650s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 650s # GVariant *value; 650s # g_mutex_lock (&skeleton->priv->lock); 650s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 650s # g_mutex_unlock (&skeleton->priv->lock); 650s # return value; 650s # } 650s # 650s # static void 650s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusInterfaceSkeletonClass *skeleton_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = good_types_skeleton_finalize; 650s # gobject_class->get_property = good_types_skeleton_get_property; 650s # gobject_class->set_property = good_types_skeleton_set_property; 650s # gobject_class->notify = good_types_skeleton_notify; 650s # 650s # 650s # good_types_override_properties (gobject_class, 1); 650s # 650s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 650s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 650s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 650s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 650s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # good_types_skeleton_iface_init (GoodTypesIface *iface) 650s # { 650s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 650s # } 650s # 650s # /** 650s # * good_types_skeleton_new: 650s # * 650s # * Creates a skeleton object for the D-Bus interface GoodTypes. 650s # * 650s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 650s # */ 650s # GoodTypes * 650s # good_types_skeleton_new (void) 650s # { 650s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 650s # } 650s # Error: 650s ok 3 __main__.TestCodegen.test_empty_interface_body 650s # gdbus-codegen: /usr/bin/gdbus-codegen 650s # tmpdir: /tmp/tmp383djurb 650s # /tmp/tmp383djurb/tmp1ncgchfa.xml: 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp383djurb/tmp1ncgchfa.xml', '--output', '-', '--body'] 650s # Return code: 0 650s # Output: 650s # /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifdef HAVE_CONFIG_H 650s # # include "config.h" 650s # #endif 650s # 650s # #include 650s # #ifdef G_OS_UNIX 650s # # include 650s # #endif 650s # 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # 650s # typedef struct 650s # { 650s # GDBusArgInfo parent_struct; 650s # gboolean use_gvariant; 650s # } _ExtendedGDBusArgInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusMethodInfo parent_struct; 650s # const gchar *signal_name; 650s # gboolean pass_fdlist; 650s # } _ExtendedGDBusMethodInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusSignalInfo parent_struct; 650s # const gchar *signal_name; 650s # } _ExtendedGDBusSignalInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusPropertyInfo parent_struct; 650s # const gchar *hyphen_name; 650s # guint use_gvariant : 1; 650s # guint emits_changed_signal : 1; 650s # } _ExtendedGDBusPropertyInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusInterfaceInfo parent_struct; 650s # const gchar *hyphen_name; 650s # } _ExtendedGDBusInterfaceInfo; 650s # 650s # typedef struct 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # guint prop_id; 650s # GValue orig_value; /* the value before the change */ 650s # } ChangedProperty; 650s # 650s # static void 650s # _changed_property_free (ChangedProperty *data) 650s # { 650s # g_value_unset (&data->orig_value); 650s # g_free (data); 650s # } 650s # 650s # static gboolean 650s # _g_strv_equal0 (gchar **a, gchar **b) 650s # { 650s # gboolean ret = FALSE; 650s # guint n; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # if (g_strv_length (a) != g_strv_length (b)) 650s # goto out; 650s # for (n = 0; a[n] != NULL; n++) 650s # if (g_strcmp0 (a[n], b[n]) != 0) 650s # goto out; 650s # ret = TRUE; 650s # out: 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _g_variant_equal0 (GVariant *a, GVariant *b) 650s # { 650s # gboolean ret = FALSE; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # ret = g_variant_equal (a, b); 650s # out: 650s # return ret; 650s # } 650s # 650s # G_GNUC_UNUSED static gboolean 650s # _g_value_equal (const GValue *a, const GValue *b) 650s # { 650s # gboolean ret = FALSE; 650s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 650s # switch (G_VALUE_TYPE (a)) 650s # { 650s # case G_TYPE_BOOLEAN: 650s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 650s # break; 650s # case G_TYPE_UCHAR: 650s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 650s # break; 650s # case G_TYPE_INT: 650s # ret = (g_value_get_int (a) == g_value_get_int (b)); 650s # break; 650s # case G_TYPE_UINT: 650s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 650s # break; 650s # case G_TYPE_INT64: 650s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 650s # break; 650s # case G_TYPE_UINT64: 650s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 650s # break; 650s # case G_TYPE_DOUBLE: 650s # { 650s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 650s # gdouble da = g_value_get_double (a); 650s # gdouble db = g_value_get_double (b); 650s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 650s # } 650s # break; 650s # case G_TYPE_STRING: 650s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 650s # break; 650s # case G_TYPE_VARIANT: 650s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 650s # break; 650s # default: 650s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 650s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 650s # else 650s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 650s # break; 650s # } 650s # return ret; 650s # } 650s # Error: 650s ok 4 __main__.TestCodegen.test_empty_interface_header 650s # gdbus-codegen: /usr/bin/gdbus-codegen 650s # tmpdir: /tmp/tmpkrtkq473 650s # /tmp/tmpkrtkq473/tmpv4b8w834.xml: 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkrtkq473/tmpv4b8w834.xml', '--output', '-', '--header'] 650s # Return code: 0 650s # Output: 650s # /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifndef __STDOUT__ 650s # #define __STDOUT__ 650s # 650s # #include 650s # 650s # G_BEGIN_DECLS 650s # 650s # 650s # G_END_DECLS 650s # 650s # #endif /* __STDOUT__ */ 650s # Error: 650s ok 5 __main__.TestCodegen.test_empty_interface_info_body 650s # gdbus-codegen: /usr/bin/gdbus-codegen 650s # tmpdir: /tmp/tmpr0vbracs 650s # /tmp/tmpr0vbracs/tmpk4tqcnc2.xml: 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr0vbracs/tmpk4tqcnc2.xml', '--output', '-', '--interface-info-body'] 650s # Return code: 0 650s # Output: 650s # /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifdef HAVE_CONFIG_H 650s # # include "config.h" 650s # #endif 650s # 650s # #include 650s # Error: 650s ok 6 __main__.TestCodegen.test_empty_interface_info_header 650s # gdbus-codegen: /usr/bin/gdbus-codegen 650s # tmpdir: /tmp/tmpjw3alzd5 650s # /tmp/tmpjw3alzd5/tmpyamquu3f.xml: 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjw3alzd5/tmpyamquu3f.xml', '--output', '-', '--interface-info-header'] 650s # Return code: 0 650s # Output: 650s # /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifndef __STDOUT__ 650s # #define __STDOUT__ 650s # 650s # #include 650s # 650s # G_BEGIN_DECLS 650s # 650s # 650s # G_END_DECLS 650s # 650s # #endif /* __STDOUT__ */ 650s # Error: 650s ok 7 __main__.TestCodegen.test_generate_docbook 650s # gdbus-codegen: /usr/bin/gdbus-codegen 650s # tmpdir: /tmp/tmpa9cq0y3g 650s # /tmp/tmpa9cq0y3g/tmptv_jw4se.xml: 650s # 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa9cq0y3g/tmptv_jw4se.xml', '--generate-docbook', 'test'] 650s # Return code: 0 650s # Output: 650s # 650s # Error: 650s ok 8 __main__.TestCodegen.test_generate_md 650s # gdbus-codegen: /usr/bin/gdbus-codegen 650s # tmpdir: /tmp/tmpcigd9xs1 650s # /tmp/tmpcigd9xs1/tmpgkfl5hu3.xml: 650s # 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcigd9xs1/tmpgkfl5hu3.xml', '--generate-md', 'test'] 650s # Return code: 0 650s # Output: 650s # 650s # Error: 650s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 650s # gdbus-codegen: /usr/bin/gdbus-codegen 650s # tmpdir: /tmp/tmperiew6ue 650s # /tmp/tmperiew6ue/tmpw3np7dh5.xml: 650s # 650s # 650s # 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmperiew6ue/tmpw3np7dh5.xml', '--output', '-', '--body'] 650s # Return code: 0 650s # Output: 650s # /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifdef HAVE_CONFIG_H 650s # # include "config.h" 650s # #endif 650s # 650s # #include 650s # #ifdef G_OS_UNIX 650s # # include 650s # #endif 650s # 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # 650s # typedef struct 650s # { 650s # GDBusArgInfo parent_struct; 650s # gboolean use_gvariant; 650s # } _ExtendedGDBusArgInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusMethodInfo parent_struct; 650s # const gchar *signal_name; 650s # gboolean pass_fdlist; 650s # } _ExtendedGDBusMethodInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusSignalInfo parent_struct; 650s # const gchar *signal_name; 650s # } _ExtendedGDBusSignalInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusPropertyInfo parent_struct; 650s # const gchar *hyphen_name; 650s # guint use_gvariant : 1; 650s # guint emits_changed_signal : 1; 650s # } _ExtendedGDBusPropertyInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusInterfaceInfo parent_struct; 650s # const gchar *hyphen_name; 650s # } _ExtendedGDBusInterfaceInfo; 650s # 650s # typedef struct 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # guint prop_id; 650s # GValue orig_value; /* the value before the change */ 650s # } ChangedProperty; 650s # 650s # static void 650s # _changed_property_free (ChangedProperty *data) 650s # { 650s # g_value_unset (&data->orig_value); 650s # g_free (data); 650s # } 650s # 650s # static gboolean 650s # _g_strv_equal0 (gchar **a, gchar **b) 650s # { 650s # gboolean ret = FALSE; 650s # guint n; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # if (g_strv_length (a) != g_strv_length (b)) 650s # goto out; 650s # for (n = 0; a[n] != NULL; n++) 650s # if (g_strcmp0 (a[n], b[n]) != 0) 650s # goto out; 650s # ret = TRUE; 650s # out: 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _g_variant_equal0 (GVariant *a, GVariant *b) 650s # { 650s # gboolean ret = FALSE; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # ret = g_variant_equal (a, b); 650s # out: 650s # return ret; 650s # } 650s # 650s # G_GNUC_UNUSED static gboolean 650s # _g_value_equal (const GValue *a, const GValue *b) 650s # { 650s # gboolean ret = FALSE; 650s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 650s # switch (G_VALUE_TYPE (a)) 650s # { 650s # case G_TYPE_BOOLEAN: 650s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 650s # break; 650s # case G_TYPE_UCHAR: 650s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 650s # break; 650s # case G_TYPE_INT: 650s # ret = (g_value_get_int (a) == g_value_get_int (b)); 650s # break; 650s # case G_TYPE_UINT: 650s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 650s # break; 650s # case G_TYPE_INT64: 650s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 650s # break; 650s # case G_TYPE_UINT64: 650s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 650s # break; 650s # case G_TYPE_DOUBLE: 650s # { 650s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 650s # gdouble da = g_value_get_double (a); 650s # gdouble db = g_value_get_double (b); 650s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 650s # } 650s # break; 650s # case G_TYPE_STRING: 650s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 650s # break; 650s # case G_TYPE_VARIANT: 650s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 650s # break; 650s # default: 650s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 650s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 650s # else 650s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 650s # break; 650s # } 650s # return ret; 650s # } 650s # 650s # static void 650s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint G_GNUC_UNUSED, 650s # void *marshal_data) 650s # { 650s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 650s # (void *data1, 650s # GDBusMethodInvocation *arg_method_invocation, 650s # void *data2); 650s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 650s # GCClosure *cc = (GCClosure*) closure; 650s # void *data1, *data2; 650s # gboolean v_return; 650s # 650s # g_return_if_fail (return_value != NULL); 650s # g_return_if_fail (n_param_values == 2); 650s # 650s # if (G_CCLOSURE_SWAP_DATA (closure)) 650s # { 650s # data1 = closure->data; 650s # data2 = g_value_peek_pointer (param_values + 0); 650s # } 650s # else 650s # { 650s # data1 = g_value_peek_pointer (param_values + 0); 650s # data2 = closure->data; 650s # } 650s # 650s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 650s # (marshal_data ? marshal_data : cc->callback); 650s # 650s # v_return = 650s # callback (data1, 650s # g_marshal_value_peek_object (param_values + 1), 650s # data2); 650s # 650s # g_value_set_boolean (return_value, v_return); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ 650s # * Code for interface org.project.CallableIface 650s # * ------------------------------------------------------------------------ 650s # */ 650s # 650s # /** 650s # * SECTION:OrgProjectCallableIface 650s # * @title: OrgProjectCallableIface 650s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 650s # * 650s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 650s # */ 650s # 650s # /* ---- Introspection data for org.project.CallableIface ---- */ 650s # 650s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SimpleMethod", 650s # NULL, 650s # NULL, 650s # NULL 650s # }, 650s # "handle-simple-method", 650s # FALSE 650s # }; 650s # 650s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 650s # { 650s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 650s # { 650s # { 650s # -1, 650s # (gchar *) "org.project.CallableIface", 650s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 650s # NULL, 650s # NULL, 650s # NULL 650s # }, 650s # "org-project-callable-iface", 650s # }; 650s # 650s # 650s # /** 650s # * org_project_callable_iface_interface_info: 650s # * 650s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 650s # * 650s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 650s # */ 650s # GDBusInterfaceInfo * 650s # org_project_callable_iface_interface_info (void) 650s # { 650s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 650s # } 650s # 650s # /** 650s # * org_project_callable_iface_override_properties: 650s # * @klass: The class structure for a #GObject derived class. 650s # * @property_id_begin: The property id to assign to the first overridden property. 650s # * 650s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 650s # * The properties are overridden in the order they are defined. 650s # * 650s # * Returns: The last property id. 650s # */ 650s # guint 650s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 650s # { 650s # return property_id_begin - 1; 650s # } 650s # 650s # 650s # inline static void 650s # org_project_callable_iface_method_marshal_simple_method ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # 650s # /** 650s # * OrgProjectCallableIface: 650s # * 650s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 650s # */ 650s # 650s # /** 650s # * OrgProjectCallableIfaceIface: 650s # * @parent_iface: The parent interface. 650s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 650s # * 650s # * Virtual table for the D-Bus interface org.project.CallableIface. 650s # */ 650s # 650s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 650s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 650s # 650s # static void 650s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 650s # { 650s # /* GObject signals for incoming D-Bus method calls: */ 650s # /** 650s # * OrgProjectCallableIface::handle-simple-method: 650s # * @object: A #OrgProjectCallableIface. 650s # * @invocation: A #GDBusMethodInvocation. 650s # * 650s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 650s # * 650s # * 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. 650s # * 650s # * 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. 650s # */ 650s # g_signal_new ("handle-simple-method", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 650s # g_signal_accumulator_true_handled, 650s # NULL, 650s # org_project_callable_iface_method_marshal_simple_method, 650s # G_TYPE_BOOLEAN, 650s # 1, 650s # G_TYPE_DBUS_METHOD_INVOCATION); 650s # 650s # } 650s # 650s # /** 650s # * org_project_callable_iface_call_simple_method: 650s # * @proxy: A #OrgProjectCallableIfaceProxy. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 650s # * 650s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 650s # */ 650s # void 650s # org_project_callable_iface_call_simple_method ( 650s # OrgProjectCallableIface *proxy, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 650s # "SimpleMethod", 650s # g_variant_new ("()"), 650s # G_DBUS_CALL_FLAGS_NONE, 650s # -1, 650s # cancellable, 650s # callback, 650s # user_data); 650s # } 650s # 650s # /** 650s # * org_project_callable_iface_call_simple_method_finish: 650s # * @proxy: A #OrgProjectCallableIfaceProxy. 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 650s # * @error: Return location for error or %NULL. 650s # * 650s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 650s # * 650s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 650s # */ 650s # gboolean 650s # org_project_callable_iface_call_simple_method_finish ( 650s # OrgProjectCallableIface *proxy, 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GVariant *_ret; 650s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 650s # if (_ret == NULL) 650s # goto _out; 650s # g_variant_get (_ret, 650s # "()"); 650s # g_variant_unref (_ret); 650s # _out: 650s # return _ret != NULL; 650s # } 650s # 650s # /** 650s # * org_project_callable_iface_call_simple_method_sync: 650s # * @proxy: A #OrgProjectCallableIfaceProxy. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL. 650s # * 650s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 650s # * 650s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 650s # */ 650s # gboolean 650s # org_project_callable_iface_call_simple_method_sync ( 650s # OrgProjectCallableIface *proxy, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GVariant *_ret; 650s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 650s # "SimpleMethod", 650s # g_variant_new ("()"), 650s # G_DBUS_CALL_FLAGS_NONE, 650s # -1, 650s # cancellable, 650s # error); 650s # if (_ret == NULL) 650s # goto _out; 650s # g_variant_get (_ret, 650s # "()"); 650s # g_variant_unref (_ret); 650s # _out: 650s # return _ret != NULL; 650s # } 650s # 650s # /** 650s # * org_project_callable_iface_complete_simple_method: 650s # * @object: A #OrgProjectCallableIface. 650s # * @invocation: (transfer full): A #GDBusMethodInvocation. 650s # * 650s # * 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. 650s # * 650s # * This method will free @invocation, you cannot use it afterwards. 650s # */ 650s # void 650s # org_project_callable_iface_complete_simple_method ( 650s # OrgProjectCallableIface *object G_GNUC_UNUSED, 650s # GDBusMethodInvocation *invocation) 650s # { 650s # g_dbus_method_invocation_return_value (invocation, 650s # g_variant_new ("()")); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectCallableIfaceProxy: 650s # * 650s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectCallableIfaceProxyClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectCallableIfaceProxy. 650s # */ 650s # 650s # struct _OrgProjectCallableIfaceProxyPrivate 650s # { 650s # GData *qdata; 650s # }; 650s # 650s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_callable_iface_proxy_finalize (GObject *object) 650s # { 650s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 650s # g_datalist_clear (&proxy->priv->qdata); 650s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # const GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 650s # const gchar *sender_name G_GNUC_UNUSED, 650s # const gchar *signal_name, 650s # GVariant *parameters) 650s # { 650s # _ExtendedGDBusSignalInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # gsize n; 650s # guint signal_id; 650s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 650s # if (info == NULL) 650s # return; 650s # num_params = g_variant_n_children (parameters); 650s # paramv = g_new0 (GValue, num_params + 1); 650s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 650s # g_value_set_object (¶mv[0], proxy); 650s # g_variant_iter_init (&iter, parameters); 650s # n = 1; 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 650s # g_signal_emitv (paramv, signal_id, 0, NULL); 650s # for (n = 0; n < num_params + 1; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static void 650s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 650s # GVariant *changed_properties, 650s # const gchar *const *invalidated_properties) 650s # { 650s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 650s # guint n; 650s # const gchar *key; 650s # GVariantIter *iter; 650s # _ExtendedGDBusPropertyInfo *info; 650s # g_variant_get (changed_properties, "a{sv}", &iter); 650s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 650s # g_datalist_remove_data (&proxy->priv->qdata, key); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # g_variant_iter_free (iter); 650s # for (n = 0; invalidated_properties[n] != NULL; n++) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 650s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # } 650s # 650s # static void 650s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 650s # #else 650s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 650s # #endif 650s # 650s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 650s # } 650s # 650s # static void 650s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusProxyClass *proxy_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 650s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 650s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 650s # 650s # proxy_class = G_DBUS_PROXY_CLASS (klass); 650s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 650s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # /** 650s # * org_project_callable_iface_proxy_new: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 650s # * 650s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_callable_iface_proxy_new ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_callable_iface_proxy_new_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectCallableIface * 650s # org_project_callable_iface_proxy_new_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_CALLABLE_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_callable_iface_proxy_new_sync: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectCallableIface * 650s # org_project_callable_iface_proxy_new_sync ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_CALLABLE_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /** 650s # * org_project_callable_iface_proxy_new_for_bus: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 650s # * 650s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_callable_iface_proxy_new_for_bus ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_callable_iface_proxy_new_for_bus_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectCallableIface * 650s # org_project_callable_iface_proxy_new_for_bus_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_CALLABLE_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_callable_iface_proxy_new_for_bus_sync: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectCallableIface * 650s # org_project_callable_iface_proxy_new_for_bus_sync ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_CALLABLE_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectCallableIfaceSkeleton: 650s # * 650s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectCallableIfaceSkeletonClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectCallableIfaceSkeleton. 650s # */ 650s # 650s # struct _OrgProjectCallableIfaceSkeletonPrivate 650s # { 650s # GValue *properties; 650s # GList *changed_properties; 650s # GSource *changed_properties_idle_source; 650s # GMainContext *context; 650s # GMutex lock; 650s # }; 650s # 650s # static void 650s # _org_project_callable_iface_skeleton_handle_method_call ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name, 650s # const gchar *method_name, 650s # GVariant *parameters, 650s # GDBusMethodInvocation *invocation, 650s # gpointer user_data) 650s # { 650s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 650s # _ExtendedGDBusMethodInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # guint num_extra; 650s # gsize n; 650s # guint signal_id; 650s # GValue return_value = G_VALUE_INIT; 650s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 650s # g_assert (info != NULL); 650s # num_params = g_variant_n_children (parameters); 650s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 650s # n = 0; 650s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 650s # g_value_set_object (¶mv[n++], skeleton); 650s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 650s # g_value_set_object (¶mv[n++], invocation); 650s # if (info->pass_fdlist) 650s # { 650s # #ifdef G_OS_UNIX 650s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 650s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 650s # #else 650s # g_assert_not_reached (); 650s # #endif 650s # } 650s # g_variant_iter_init (&iter, parameters); 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 650s # g_value_init (&return_value, G_TYPE_BOOLEAN); 650s # g_signal_emitv (paramv, signal_id, 0, &return_value); 650s # if (!g_value_get_boolean (&return_value)) 650s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 650s # g_value_unset (&return_value); 650s # for (n = 0; n < num_params + num_extra; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static GVariant * 650s # _org_project_callable_iface_skeleton_handle_get_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # GVariant *ret; 650s # ret = NULL; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # g_value_init (&value, pspec->value_type); 650s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 650s # g_value_unset (&value); 650s # } 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _org_project_callable_iface_skeleton_handle_set_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GVariant *variant, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # gboolean ret; 650s # ret = FALSE; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # if (info->use_gvariant) 650s # g_value_set_variant (&value, variant); 650s # else 650s # g_dbus_gvariant_to_gvalue (variant, &value); 650s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # g_value_unset (&value); 650s # ret = TRUE; 650s # } 650s # return ret; 650s # } 650s # 650s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 650s # { 650s # _org_project_callable_iface_skeleton_handle_method_call, 650s # _org_project_callable_iface_skeleton_handle_get_property, 650s # _org_project_callable_iface_skeleton_handle_set_property, 650s # {NULL} 650s # }; 650s # 650s # static GDBusInterfaceInfo * 650s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return org_project_callable_iface_interface_info (); 650s # } 650s # 650s # static GDBusInterfaceVTable * 650s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 650s # } 650s # 650s # static GVariant * 650s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 650s # { 650s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 650s # 650s # GVariantBuilder builder; 650s # guint n; 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 650s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # #else 650s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 650s # #endif 650s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 650s # goto out; 650s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 650s # { 650s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 650s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 650s # { 650s # GVariant *value; 650s # 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); 650s # if (value != NULL) 650s # { 650s # g_variant_take_ref (value); 650s # g_variant_builder_add (&builder, "{sv}", info->name, value); 650s # g_variant_unref (value); 650s # } 650s # } 650s # } 650s # out: 650s # return g_variant_builder_end (&builder); 650s # } 650s # 650s # static void 650s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_callable_iface_skeleton_finalize (GObject *object) 650s # { 650s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 650s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 650s # if (skeleton->priv->changed_properties_idle_source != NULL) 650s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 650s # g_main_context_unref (skeleton->priv->context); 650s # g_mutex_clear (&skeleton->priv->lock); 650s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 650s # #else 650s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 650s # #endif 650s # 650s # g_mutex_init (&skeleton->priv->lock); 650s # skeleton->priv->context = g_main_context_ref_thread_default (); 650s # } 650s # 650s # static void 650s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusInterfaceSkeletonClass *skeleton_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 650s # 650s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 650s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 650s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 650s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 650s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # /** 650s # * org_project_callable_iface_skeleton_new: 650s # * 650s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 650s # * 650s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 650s # */ 650s # OrgProjectCallableIface * 650s # org_project_callable_iface_skeleton_new (void) 650s # { 650s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ 650s # * Code for interface org.project.OtherCallableIface 650s # * ------------------------------------------------------------------------ 650s # */ 650s # 650s # /** 650s # * SECTION:OrgProjectOtherCallableIface 650s # * @title: OrgProjectOtherCallableIface 650s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 650s # * 650s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 650s # */ 650s # 650s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 650s # 650s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SimpleMethod", 650s # NULL, 650s # NULL, 650s # NULL 650s # }, 650s # "handle-simple-method", 650s # FALSE 650s # }; 650s # 650s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 650s # { 650s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 650s # { 650s # { 650s # -1, 650s # (gchar *) "org.project.OtherCallableIface", 650s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 650s # NULL, 650s # NULL, 650s # NULL 650s # }, 650s # "org-project-other-callable-iface", 650s # }; 650s # 650s # 650s # /** 650s # * org_project_other_callable_iface_interface_info: 650s # * 650s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 650s # * 650s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 650s # */ 650s # GDBusInterfaceInfo * 650s # org_project_other_callable_iface_interface_info (void) 650s # { 650s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 650s # } 650s # 650s # /** 650s # * org_project_other_callable_iface_override_properties: 650s # * @klass: The class structure for a #GObject derived class. 650s # * @property_id_begin: The property id to assign to the first overridden property. 650s # * 650s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 650s # * The properties are overridden in the order they are defined. 650s # * 650s # * Returns: The last property id. 650s # */ 650s # guint 650s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 650s # { 650s # return property_id_begin - 1; 650s # } 650s # 650s # 650s # inline static void 650s # org_project_other_callable_iface_method_marshal_simple_method ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # 650s # /** 650s # * OrgProjectOtherCallableIface: 650s # * 650s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 650s # */ 650s # 650s # /** 650s # * OrgProjectOtherCallableIfaceIface: 650s # * @parent_iface: The parent interface. 650s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 650s # * 650s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 650s # */ 650s # 650s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 650s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 650s # 650s # static void 650s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 650s # { 650s # /* GObject signals for incoming D-Bus method calls: */ 650s # /** 650s # * OrgProjectOtherCallableIface::handle-simple-method: 650s # * @object: A #OrgProjectOtherCallableIface. 650s # * @invocation: A #GDBusMethodInvocation. 650s # * 650s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 650s # * 650s # * 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. 650s # * 650s # * 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. 650s # */ 650s # g_signal_new ("handle-simple-method", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 650s # g_signal_accumulator_true_handled, 650s # NULL, 650s # org_project_other_callable_iface_method_marshal_simple_method, 650s # G_TYPE_BOOLEAN, 650s # 1, 650s # G_TYPE_DBUS_METHOD_INVOCATION); 650s # 650s # } 650s # 650s # /** 650s # * org_project_other_callable_iface_call_simple_method: 650s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 650s # * 650s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 650s # */ 650s # void 650s # org_project_other_callable_iface_call_simple_method ( 650s # OrgProjectOtherCallableIface *proxy, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 650s # "SimpleMethod", 650s # g_variant_new ("()"), 650s # G_DBUS_CALL_FLAGS_NONE, 650s # -1, 650s # cancellable, 650s # callback, 650s # user_data); 650s # } 650s # 650s # /** 650s # * org_project_other_callable_iface_call_simple_method_finish: 650s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 650s # * @error: Return location for error or %NULL. 650s # * 650s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 650s # * 650s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 650s # */ 650s # gboolean 650s # org_project_other_callable_iface_call_simple_method_finish ( 650s # OrgProjectOtherCallableIface *proxy, 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GVariant *_ret; 650s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 650s # if (_ret == NULL) 650s # goto _out; 650s # g_variant_get (_ret, 650s # "()"); 650s # g_variant_unref (_ret); 650s # _out: 650s # return _ret != NULL; 650s # } 650s # 650s # /** 650s # * org_project_other_callable_iface_call_simple_method_sync: 650s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL. 650s # * 650s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 650s # * 650s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 650s # */ 650s # gboolean 650s # org_project_other_callable_iface_call_simple_method_sync ( 650s # OrgProjectOtherCallableIface *proxy, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GVariant *_ret; 650s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 650s # "SimpleMethod", 650s # g_variant_new ("()"), 650s # G_DBUS_CALL_FLAGS_NONE, 650s # -1, 650s # cancellable, 650s # error); 650s # if (_ret == NULL) 650s # goto _out; 650s # g_variant_get (_ret, 650s # "()"); 650s # g_variant_unref (_ret); 650s # _out: 650s # return _ret != NULL; 650s # } 650s # 650s # /** 650s # * org_project_other_callable_iface_complete_simple_method: 650s # * @object: A #OrgProjectOtherCallableIface. 650s # * @invocation: (transfer full): A #GDBusMethodInvocation. 650s # * 650s # * 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. 650s # * 650s # * This method will free @invocation, you cannot use it afterwards. 650s # */ 650s # void 650s # org_project_other_callable_iface_complete_simple_method ( 650s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 650s # GDBusMethodInvocation *invocation) 650s # { 650s # g_dbus_method_invocation_return_value (invocation, 650s # g_variant_new ("()")); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectOtherCallableIfaceProxy: 650s # * 650s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectOtherCallableIfaceProxyClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 650s # */ 650s # 650s # struct _OrgProjectOtherCallableIfaceProxyPrivate 650s # { 650s # GData *qdata; 650s # }; 650s # 650s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_other_callable_iface_proxy_finalize (GObject *object) 650s # { 650s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 650s # g_datalist_clear (&proxy->priv->qdata); 650s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # const GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 650s # const gchar *sender_name G_GNUC_UNUSED, 650s # const gchar *signal_name, 650s # GVariant *parameters) 650s # { 650s # _ExtendedGDBusSignalInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # gsize n; 650s # guint signal_id; 650s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 650s # if (info == NULL) 650s # return; 650s # num_params = g_variant_n_children (parameters); 650s # paramv = g_new0 (GValue, num_params + 1); 650s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 650s # g_value_set_object (¶mv[0], proxy); 650s # g_variant_iter_init (&iter, parameters); 650s # n = 1; 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 650s # g_signal_emitv (paramv, signal_id, 0, NULL); 650s # for (n = 0; n < num_params + 1; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static void 650s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 650s # GVariant *changed_properties, 650s # const gchar *const *invalidated_properties) 650s # { 650s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 650s # guint n; 650s # const gchar *key; 650s # GVariantIter *iter; 650s # _ExtendedGDBusPropertyInfo *info; 650s # g_variant_get (changed_properties, "a{sv}", &iter); 650s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 650s # g_datalist_remove_data (&proxy->priv->qdata, key); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # g_variant_iter_free (iter); 650s # for (n = 0; invalidated_properties[n] != NULL; n++) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 650s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # } 650s # 650s # static void 650s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 650s # #else 650s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 650s # #endif 650s # 650s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 650s # } 650s # 650s # static void 650s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusProxyClass *proxy_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 650s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 650s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 650s # 650s # proxy_class = G_DBUS_PROXY_CLASS (klass); 650s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 650s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # /** 650s # * org_project_other_callable_iface_proxy_new: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 650s # * 650s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_other_callable_iface_proxy_new ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_other_callable_iface_proxy_new_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectOtherCallableIface * 650s # org_project_other_callable_iface_proxy_new_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_other_callable_iface_proxy_new_sync: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectOtherCallableIface * 650s # org_project_other_callable_iface_proxy_new_sync ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /** 650s # * org_project_other_callable_iface_proxy_new_for_bus: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 650s # * 650s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_other_callable_iface_proxy_new_for_bus ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectOtherCallableIface * 650s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectOtherCallableIface * 650s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectOtherCallableIfaceSkeleton: 650s # * 650s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectOtherCallableIfaceSkeletonClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 650s # */ 650s # 650s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 650s # { 650s # GValue *properties; 650s # GList *changed_properties; 650s # GSource *changed_properties_idle_source; 650s # GMainContext *context; 650s # GMutex lock; 650s # }; 650s # 650s # static void 650s # _org_project_other_callable_iface_skeleton_handle_method_call ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name, 650s # const gchar *method_name, 650s # GVariant *parameters, 650s # GDBusMethodInvocation *invocation, 650s # gpointer user_data) 650s # { 650s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 650s # _ExtendedGDBusMethodInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # guint num_extra; 650s # gsize n; 650s # guint signal_id; 650s # GValue return_value = G_VALUE_INIT; 650s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 650s # g_assert (info != NULL); 650s # num_params = g_variant_n_children (parameters); 650s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 650s # n = 0; 650s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 650s # g_value_set_object (¶mv[n++], skeleton); 650s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 650s # g_value_set_object (¶mv[n++], invocation); 650s # if (info->pass_fdlist) 650s # { 650s # #ifdef G_OS_UNIX 650s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 650s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 650s # #else 650s # g_assert_not_reached (); 650s # #endif 650s # } 650s # g_variant_iter_init (&iter, parameters); 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 650s # g_value_init (&return_value, G_TYPE_BOOLEAN); 650s # g_signal_emitv (paramv, signal_id, 0, &return_value); 650s # if (!g_value_get_boolean (&return_value)) 650s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 650s # g_value_unset (&return_value); 650s # for (n = 0; n < num_params + num_extra; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static GVariant * 650s # _org_project_other_callable_iface_skeleton_handle_get_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # GVariant *ret; 650s # ret = NULL; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # g_value_init (&value, pspec->value_type); 650s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 650s # g_value_unset (&value); 650s # } 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _org_project_other_callable_iface_skeleton_handle_set_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GVariant *variant, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # gboolean ret; 650s # ret = FALSE; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # if (info->use_gvariant) 650s # g_value_set_variant (&value, variant); 650s # else 650s # g_dbus_gvariant_to_gvalue (variant, &value); 650s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # g_value_unset (&value); 650s # ret = TRUE; 650s # } 650s # return ret; 650s # } 650s # 650s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 650s # { 650s # _org_project_other_callable_iface_skeleton_handle_method_call, 650s # _org_project_other_callable_iface_skeleton_handle_get_property, 650s # _org_project_other_callable_iface_skeleton_handle_set_property, 650s # {NULL} 650s # }; 650s # 650s # static GDBusInterfaceInfo * 650s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return org_project_other_callable_iface_interface_info (); 650s # } 650s # 650s # static GDBusInterfaceVTable * 650s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 650s # } 650s # 650s # static GVariant * 650s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 650s # { 650s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 650s # 650s # GVariantBuilder builder; 650s # guint n; 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 650s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # #else 650s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 650s # #endif 650s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 650s # goto out; 650s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 650s # { 650s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 650s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 650s # { 650s # GVariant *value; 650s # 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); 650s # if (value != NULL) 650s # { 650s # g_variant_take_ref (value); 650s # g_variant_builder_add (&builder, "{sv}", info->name, value); 650s # g_variant_unref (value); 650s # } 650s # } 650s # } 650s # out: 650s # return g_variant_builder_end (&builder); 650s # } 650s # 650s # static void 650s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 650s # { 650s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 650s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 650s # if (skeleton->priv->changed_properties_idle_source != NULL) 650s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 650s # g_main_context_unref (skeleton->priv->context); 650s # g_mutex_clear (&skeleton->priv->lock); 650s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 650s # #else 650s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 650s # #endif 650s # 650s # g_mutex_init (&skeleton->priv->lock); 650s # skeleton->priv->context = g_main_context_ref_thread_default (); 650s # } 650s # 650s # static void 650s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusInterfaceSkeletonClass *skeleton_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 650s # 650s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 650s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 650s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 650s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 650s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # /** 650s # * org_project_other_callable_iface_skeleton_new: 650s # * 650s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 650s # * 650s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 650s # */ 650s # OrgProjectOtherCallableIface * 650s # org_project_other_callable_iface_skeleton_new (void) 650s # { 650s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 650s # } 650s # Error: 651s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 651s # gdbus-codegen: /usr/bin/gdbus-codegen 651s # tmpdir: /tmp/tmpimvj2wiv 651s # /tmp/tmpimvj2wiv/tmp20owe7mk.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmp20owe7mk.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # gboolean arg_arg_b, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_boolean (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_b", 651s # (gchar *) "b", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodB", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-b", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_b ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_b: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-b", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_b, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_b: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_b: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_b ( 651s # OrgProjectUsefulInterface *proxy, 651s # gboolean arg_arg_b, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodB", 651s # g_variant_new ("(b)", 651s # arg_arg_b), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_b_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_b_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_b_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_b: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_b_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # gboolean arg_arg_b, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodB", 651s # g_variant_new ("(b)", 651s # arg_arg_b), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_b: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_b ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpimvj2wiv/tmp9oso1kx0.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmp9oso1kx0.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # guchar arg_arg_y, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_uchar (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_y", 651s # (gchar *) "y", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodY", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-y", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_y ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_y: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-y", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_y, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_y: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_y: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_y ( 651s # OrgProjectUsefulInterface *proxy, 651s # guchar arg_arg_y, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodY", 651s # g_variant_new ("(y)", 651s # arg_arg_y), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_y_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_y_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_y_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_y: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_y_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # guchar arg_arg_y, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodY", 651s # g_variant_new ("(y)", 651s # arg_arg_y), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_y: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_y ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpimvj2wiv/tmpkm_5vaal.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmpkm_5vaal.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # gint16 arg_arg_n, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_int (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_n", 651s # (gchar *) "n", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodN", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-n", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_n ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_n: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-n", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_n, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_n: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_n: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_n ( 651s # OrgProjectUsefulInterface *proxy, 651s # gint16 arg_arg_n, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodN", 651s # g_variant_new ("(n)", 651s # arg_arg_n), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_n_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_n_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_n_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_n: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_n_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # gint16 arg_arg_n, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodN", 651s # g_variant_new ("(n)", 651s # arg_arg_n), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_n: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_n ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpimvj2wiv/tmpjdhn6d_x.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmpjdhn6d_x.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # guint16 arg_arg_q, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_uint (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_q", 651s # (gchar *) "q", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodQ", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-q", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_q ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_q: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-q", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_q, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_q: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_q: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_q ( 651s # OrgProjectUsefulInterface *proxy, 651s # guint16 arg_arg_q, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodQ", 651s # g_variant_new ("(q)", 651s # arg_arg_q), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_q_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_q_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_q_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_q: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_q_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # guint16 arg_arg_q, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodQ", 651s # g_variant_new ("(q)", 651s # arg_arg_q), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_q: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_q ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpimvj2wiv/tmpfi2ipvn1.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmpfi2ipvn1.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # gint arg_arg_i, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_int (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_i", 651s # (gchar *) "i", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodI", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-i", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_i ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_i: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-i", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_i, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_i: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_i: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_i ( 651s # OrgProjectUsefulInterface *proxy, 651s # gint arg_arg_i, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodI", 651s # g_variant_new ("(i)", 651s # arg_arg_i), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_i_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_i_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_i_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_i: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_i_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # gint arg_arg_i, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodI", 651s # g_variant_new ("(i)", 651s # arg_arg_i), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_i: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_i ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpimvj2wiv/tmp6ld1l47k.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmp6ld1l47k.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # guint arg_arg_u, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_uint (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_u", 651s # (gchar *) "u", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodU", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-u", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_u ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_u: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-u", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_u, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_u: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_u: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_u ( 651s # OrgProjectUsefulInterface *proxy, 651s # guint arg_arg_u, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodU", 651s # g_variant_new ("(u)", 651s # arg_arg_u), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_u_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_u_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_u_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_u: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_u_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # guint arg_arg_u, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodU", 651s # g_variant_new ("(u)", 651s # arg_arg_u), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_u: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_u ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpimvj2wiv/tmpw10mjuqx.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmpw10mjuqx.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # gint64 arg_arg_x, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_int64 (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_x", 651s # (gchar *) "x", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodX", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-x", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_x ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_x: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-x", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_x, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_x: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_x: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_x ( 651s # OrgProjectUsefulInterface *proxy, 651s # gint64 arg_arg_x, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodX", 651s # g_variant_new ("(x)", 651s # arg_arg_x), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_x_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_x_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_x_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_x: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_x_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # gint64 arg_arg_x, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodX", 651s # g_variant_new ("(x)", 651s # arg_arg_x), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_x: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_x ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpimvj2wiv/tmpiwsb2nt3.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmpiwsb2nt3.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # guint64 arg_arg_t, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_uint64 (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_t", 651s # (gchar *) "t", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodT", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-t", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_t ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_t: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-t", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_t, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_t: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_t: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_t ( 651s # OrgProjectUsefulInterface *proxy, 651s # guint64 arg_arg_t, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodT", 651s # g_variant_new ("(t)", 651s # arg_arg_t), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_t_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_t_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_t_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_t: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_t_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # guint64 arg_arg_t, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodT", 651s # g_variant_new ("(t)", 651s # arg_arg_t), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_t: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_t ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpimvj2wiv/tmp4mh1_xl5.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmp4mh1_xl5.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # gdouble arg_arg_d, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_double (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_d", 651s # (gchar *) "d", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodD", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-d", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_d ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_d: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-d", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_d, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_d: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_d: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_d ( 651s # OrgProjectUsefulInterface *proxy, 651s # gdouble arg_arg_d, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodD", 651s # g_variant_new ("(d)", 651s # arg_arg_d), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_d_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_d_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_d_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_d: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_d_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # gdouble arg_arg_d, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodD", 651s # g_variant_new ("(d)", 651s # arg_arg_d), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_d: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_d ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpimvj2wiv/tmpr5q66zt6.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmpr5q66zt6.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # const gchar *arg_arg_s, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_string (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_s", 651s # (gchar *) "s", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodS", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-s", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_s ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_s: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-s", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_s, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_s: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_s: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_s ( 651s # OrgProjectUsefulInterface *proxy, 651s # const gchar *arg_arg_s, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodS", 651s # g_variant_new ("(s)", 651s # arg_arg_s), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_s_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_s_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_s_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_s: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_s_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # const gchar *arg_arg_s, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodS", 651s # g_variant_new ("(s)", 651s # arg_arg_s), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_s: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_s ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpimvj2wiv/tmpl8qfi3sv.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmpl8qfi3sv.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # const gchar *arg_arg_o, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_string (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_o", 651s # (gchar *) "o", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodO", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-o", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_o ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_o: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-o", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_o, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_o: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_o: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_o ( 651s # OrgProjectUsefulInterface *proxy, 651s # const gchar *arg_arg_o, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodO", 651s # g_variant_new ("(o)", 651s # arg_arg_o), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_o_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_o_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_o_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_o: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_o_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # const gchar *arg_arg_o, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodO", 651s # g_variant_new ("(o)", 651s # arg_arg_o), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_o: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_o ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpimvj2wiv/tmpyhu050g_.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmpyhu050g_.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # const gchar *arg_arg_g, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_string (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_g", 651s # (gchar *) "g", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodG", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-g", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_g ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_g: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-g", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_g, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_g: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_g: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_g ( 651s # OrgProjectUsefulInterface *proxy, 651s # const gchar *arg_arg_g, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodG", 651s # g_variant_new ("(g)", 651s # arg_arg_g), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_g_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_g_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_g_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_g: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_g_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # const gchar *arg_arg_g, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodG", 651s # g_variant_new ("(g)", 651s # arg_arg_g), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_g: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_g ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpimvj2wiv/tmpee5lj6xm.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmpee5lj6xm.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # GVariant *arg_arg_h, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_variant (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_h", 651s # (gchar *) "h", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodH", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-h", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_h ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_h: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-h", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_h, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_h: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_h: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_h ( 651s # OrgProjectUsefulInterface *proxy, 651s # GVariant *arg_arg_h, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodH", 651s # g_variant_new ("(@h)", 651s # arg_arg_h), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_h_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_h_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_h_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_h: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_h_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # GVariant *arg_arg_h, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodH", 651s # g_variant_new ("(@h)", 651s # arg_arg_h), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_h: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_h ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpimvj2wiv/tmp1snjaw6p.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmp1snjaw6p.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # const gchar *arg_arg_ay, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_string (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_ay", 651s # (gchar *) "ay", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodAy", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-ay", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_ay: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-ay", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_ay, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_ay: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_ay: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_ay ( 651s # OrgProjectUsefulInterface *proxy, 651s # const gchar *arg_arg_ay, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAy", 651s # g_variant_new ("(^ay)", 651s # arg_arg_ay), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_ay_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_ay_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_ay_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_ay: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_ay_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # const gchar *arg_arg_ay, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAy", 651s # g_variant_new ("(^ay)", 651s # arg_arg_ay), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_ay: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_ay ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpimvj2wiv/tmpdcm80r5o.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmpdcm80r5o.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # const gchar *const *arg_arg_as, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_boxed (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_as", 651s # (gchar *) "as", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodAs", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-as", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_as ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_as: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-as", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_as, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_as: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_as: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_as ( 651s # OrgProjectUsefulInterface *proxy, 651s # const gchar *const *arg_arg_as, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAs", 651s # g_variant_new ("(^as)", 651s # arg_arg_as), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_as_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_as_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_as_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_as: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_as_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # const gchar *const *arg_arg_as, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAs", 651s # g_variant_new ("(^as)", 651s # arg_arg_as), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_as: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_as ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpimvj2wiv/tmpzb10c9q7.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmpzb10c9q7.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # const gchar *const *arg_arg_ao, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_boxed (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_ao", 651s # (gchar *) "ao", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodAo", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-ao", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_ao: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-ao", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_ao, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_ao: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_ao: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_ao ( 651s # OrgProjectUsefulInterface *proxy, 651s # const gchar *const *arg_arg_ao, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAo", 651s # g_variant_new ("(^ao)", 651s # arg_arg_ao), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_ao_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_ao_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_ao_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_ao: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_ao_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # const gchar *const *arg_arg_ao, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAo", 651s # g_variant_new ("(^ao)", 651s # arg_arg_ao), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_ao: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_ao ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpimvj2wiv/tmpi_dtfa5p.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmpi_dtfa5p.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # const gchar *const *arg_arg_aay, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_boxed (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_aay", 651s # (gchar *) "aay", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodAay", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-aay", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_aay: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-aay", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_aay, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_aay: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_aay: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_aay ( 651s # OrgProjectUsefulInterface *proxy, 651s # const gchar *const *arg_arg_aay, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAay", 651s # g_variant_new ("(^aay)", 651s # arg_arg_aay), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_aay_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_aay_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_aay_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_aay: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_aay_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # const gchar *const *arg_arg_aay, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAay", 651s # g_variant_new ("(^aay)", 651s # arg_arg_aay), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_aay: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_aay ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpimvj2wiv/tmp_9pgo2yq.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimvj2wiv/tmp_9pgo2yq.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # GVariant *arg_arg_asv, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 3); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_variant (param_values + 2), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_asv", 651s # (gchar *) "a{sv}", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodAsv", 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-single-arg-method-asv", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_arg_asv: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-asv", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_asv, 651s # G_TYPE_BOOLEAN, 651s # 2, 651s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_asv: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_asv: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_asv ( 651s # OrgProjectUsefulInterface *proxy, 651s # GVariant *arg_arg_asv, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAsv", 651s # g_variant_new ("(@a{sv})", 651s # arg_arg_asv), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_asv_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_asv_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_asv_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @arg_arg_asv: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_asv_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # GVariant *arg_arg_asv, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAsv", 651s # g_variant_new ("(@a{sv})", 651s # arg_arg_asv), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_asv: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_asv ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 651s # gdbus-codegen: /usr/bin/gdbus-codegen 651s # tmpdir: /tmp/tmpkbhv4xm1 651s # /tmp/tmpkbhv4xm1/tmpvo3xjy6e.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmpvo3xjy6e.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_b", 651s # (gchar *) "b", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodB", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-b", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_b ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-b", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_b, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_b: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_b ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodB", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_b_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_b_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # gboolean *out_arg_b, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(b)", 651s # out_arg_b); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_b_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_b_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # gboolean *out_arg_b, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodB", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(b)", 651s # out_arg_b); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_b: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_b: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_b ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # gboolean arg_b) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(b)", 651s # arg_b)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpkbhv4xm1/tmp8lxvsrz7.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmp8lxvsrz7.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_y", 651s # (gchar *) "y", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodY", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-y", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_y ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-y", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_y, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_y: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_y ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodY", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_y_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_y_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # guchar *out_arg_y, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(y)", 651s # out_arg_y); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_y_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_y_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # guchar *out_arg_y, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodY", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(y)", 651s # out_arg_y); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_y: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_y: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_y ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # guchar arg_y) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(y)", 651s # arg_y)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpkbhv4xm1/tmp9emq2rce.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmp9emq2rce.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_n", 651s # (gchar *) "n", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodN", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-n", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_n ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-n", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_n, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_n: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_n ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodN", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_n_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_n_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # gint16 *out_arg_n, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(n)", 651s # out_arg_n); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_n_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_n_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # gint16 *out_arg_n, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodN", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(n)", 651s # out_arg_n); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_n: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_n: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_n ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # gint16 arg_n) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(n)", 651s # arg_n)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpkbhv4xm1/tmpogh4ev2k.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmpogh4ev2k.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_q", 651s # (gchar *) "q", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodQ", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-q", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_q ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-q", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_q, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_q: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_q ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodQ", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_q_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_q_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # guint16 *out_arg_q, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(q)", 651s # out_arg_q); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_q_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_q_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # guint16 *out_arg_q, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodQ", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(q)", 651s # out_arg_q); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_q: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_q: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_q ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # guint16 arg_q) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(q)", 651s # arg_q)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpkbhv4xm1/tmp4dh9f7hi.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmp4dh9f7hi.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_i", 651s # (gchar *) "i", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodI", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-i", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_i ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-i", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_i, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_i: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_i ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodI", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_i_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_i_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # gint *out_arg_i, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(i)", 651s # out_arg_i); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_i_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_i_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # gint *out_arg_i, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodI", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(i)", 651s # out_arg_i); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_i: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_i: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_i ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # gint arg_i) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(i)", 651s # arg_i)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpkbhv4xm1/tmpmi1r1ncm.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmpmi1r1ncm.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_u", 651s # (gchar *) "u", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodU", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-u", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_u ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-u", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_u, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_u: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_u ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodU", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_u_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_u_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # guint *out_arg_u, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(u)", 651s # out_arg_u); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_u_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_u_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # guint *out_arg_u, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodU", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(u)", 651s # out_arg_u); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_u: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_u: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_u ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # guint arg_u) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(u)", 651s # arg_u)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpkbhv4xm1/tmpdq3beayp.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmpdq3beayp.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_x", 651s # (gchar *) "x", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodX", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-x", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_x ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-x", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_x, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_x: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_x ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodX", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_x_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_x_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # gint64 *out_arg_x, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(x)", 651s # out_arg_x); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_x_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_x_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # gint64 *out_arg_x, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodX", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(x)", 651s # out_arg_x); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_x: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_x: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_x ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # gint64 arg_x) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(x)", 651s # arg_x)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpkbhv4xm1/tmp0frcy04l.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmp0frcy04l.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_t", 651s # (gchar *) "t", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodT", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-t", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_t ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-t", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_t, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_t: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_t ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodT", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_t_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_t_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # guint64 *out_arg_t, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(t)", 651s # out_arg_t); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_t_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_t_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # guint64 *out_arg_t, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodT", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(t)", 651s # out_arg_t); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_t: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_t: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_t ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # guint64 arg_t) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(t)", 651s # arg_t)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpkbhv4xm1/tmp5jhbzh7k.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmp5jhbzh7k.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_d", 651s # (gchar *) "d", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodD", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-d", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_d ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-d", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_d, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_d: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_d ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodD", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_d_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_d_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # gdouble *out_arg_d, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(d)", 651s # out_arg_d); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_d_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_d_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # gdouble *out_arg_d, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodD", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(d)", 651s # out_arg_d); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_d: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_d: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_d ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # gdouble arg_d) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(d)", 651s # arg_d)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpkbhv4xm1/tmpn96fdmpo.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmpn96fdmpo.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_s", 651s # (gchar *) "s", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodS", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-s", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_s ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-s", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_s, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_s: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_s ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodS", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_s_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_s_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # gchar **out_arg_s, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(s)", 651s # out_arg_s); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_s_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_s_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # gchar **out_arg_s, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodS", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(s)", 651s # out_arg_s); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_s: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_s: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_s ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # const gchar *arg_s) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(s)", 651s # arg_s)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpkbhv4xm1/tmpq7glejnm.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmpq7glejnm.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_o", 651s # (gchar *) "o", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodO", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-o", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_o ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-o", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_o, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_o: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_o ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodO", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_o_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_o_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # gchar **out_arg_o, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(o)", 651s # out_arg_o); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_o_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_o_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # gchar **out_arg_o, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodO", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(o)", 651s # out_arg_o); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_o: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_o: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_o ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # const gchar *arg_o) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(o)", 651s # arg_o)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpkbhv4xm1/tmpm1g_vm4x.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmpm1g_vm4x.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_g", 651s # (gchar *) "g", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodG", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-g", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_g ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-g", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_g, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_g: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_g ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodG", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_g_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_g_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # gchar **out_arg_g, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(g)", 651s # out_arg_g); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_g_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_g_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # gchar **out_arg_g, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodG", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(g)", 651s # out_arg_g); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_g: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_g: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_g ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # const gchar *arg_g) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(g)", 651s # arg_g)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpkbhv4xm1/tmppqfjgf87.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmppqfjgf87.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_h", 651s # (gchar *) "h", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodH", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-h", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_h ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-h", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_h, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_h: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_h ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodH", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_h_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_h_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GVariant **out_arg_h, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(@h)", 651s # out_arg_h); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_h_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_h_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # GVariant **out_arg_h, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodH", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(@h)", 651s # out_arg_h); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_h: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_h: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_h ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # GVariant *arg_h) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(@h)", 651s # arg_h)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpkbhv4xm1/tmpd7dfregi.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmpd7dfregi.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_ay", 651s # (gchar *) "ay", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodAy", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-ay", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-ay", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_ay, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_ay: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_ay ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAy", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_ay_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_ay_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # gchar **out_arg_ay, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(^ay)", 651s # out_arg_ay); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_ay_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_ay_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # gchar **out_arg_ay, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAy", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(^ay)", 651s # out_arg_ay); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_ay: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_ay: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_ay ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # const gchar *arg_ay) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(^ay)", 651s # arg_ay)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpkbhv4xm1/tmpkuzlx02t.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmpkuzlx02t.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_as", 651s # (gchar *) "as", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodAs", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-as", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_as ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-as", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_as, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_as: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_as ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAs", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_as_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_as_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # gchar ***out_arg_as, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(^as)", 651s # out_arg_as); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_as_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_as_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # gchar ***out_arg_as, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAs", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(^as)", 651s # out_arg_as); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_as: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_as: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_as ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # const gchar *const *arg_as) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(^as)", 651s # arg_as)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpkbhv4xm1/tmpjs3zga4u.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmpjs3zga4u.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_ao", 651s # (gchar *) "ao", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodAo", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-ao", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-ao", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_ao, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_ao: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_ao ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAo", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_ao_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_ao_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # gchar ***out_arg_ao, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(^ao)", 651s # out_arg_ao); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_ao_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_ao_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # gchar ***out_arg_ao, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAo", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(^ao)", 651s # out_arg_ao); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_ao: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_ao: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_ao ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # const gchar *const *arg_ao) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(^ao)", 651s # arg_ao)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpkbhv4xm1/tmpmyk0mfrd.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmpmyk0mfrd.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_aay", 651s # (gchar *) "aay", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodAay", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-aay", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-aay", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_aay, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_aay: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_aay ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAay", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_aay_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_aay_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # gchar ***out_arg_aay, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(^aay)", 651s # out_arg_aay); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_aay_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_aay_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # gchar ***out_arg_aay, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAay", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(^aay)", 651s # out_arg_aay); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_aay: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_aay: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_aay ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # const gchar *const *arg_aay) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(^aay)", 651s # arg_aay)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s # 651s # /tmp/tmpkbhv4xm1/tmpsyvmwvst.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbhv4xm1/tmpsyvmwvst.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.UsefulInterface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectUsefulInterface 651s # * @title: OrgProjectUsefulInterface 651s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_asv", 651s # (gchar *) "a{sv}", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgMethodAsv", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-single-arg-method-asv", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 651s # { 651s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.UsefulInterface", 651s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-useful-interface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_useful_interface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_useful_interface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectUsefulInterface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 651s # */ 651s # 651s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-single-arg-method-asv", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_useful_interface_method_marshal_single_arg_method_asv, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_asv: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_useful_interface_call_single_arg_method_asv ( 651s # OrgProjectUsefulInterface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAsv", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_asv_finish: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_asv_finish ( 651s # OrgProjectUsefulInterface *proxy, 651s # GVariant **out_arg_asv, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(@a{sv})", 651s # out_arg_asv); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_call_single_arg_method_asv_sync: 651s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 651s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_useful_interface_call_single_arg_method_asv_sync ( 651s # OrgProjectUsefulInterface *proxy, 651s # GVariant **out_arg_asv, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SingleArgMethodAsv", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(@a{sv})", 651s # out_arg_asv); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_complete_single_arg_method_asv: 651s # * @object: A #OrgProjectUsefulInterface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @arg_asv: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_useful_interface_complete_single_arg_method_asv ( 651s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # GVariant *arg_asv) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(@a{sv})", 651s # arg_asv)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxy: 651s # * 651s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 651s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 651s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_useful_interface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_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); 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeleton: 651s # * 651s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectUsefulInterfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_useful_interface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_useful_interface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_useful_interface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 651s # { 651s # _org_project_useful_interface_skeleton_handle_method_call, 651s # _org_project_useful_interface_skeleton_handle_get_property, 651s # _org_project_useful_interface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_useful_interface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_useful_interface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_useful_interface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectUsefulInterface * 651s # org_project_useful_interface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 651s # gdbus-codegen: /usr/bin/gdbus-codegen 651s # tmpdir: /tmp/tmpftht_nz4 651s # /tmp/tmpftht_nz4/tmpxxc2yld7.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpftht_nz4/tmpxxc2yld7.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # gboolean arg_an_b, 651s # guchar arg_an_y, 651s # gint16 arg_an_n, 651s # guint16 arg_an_q, 651s # gint arg_an_i, 651s # guint arg_an_u, 651s # gint64 arg_an_x, 651s # guint64 arg_an_t, 651s # gdouble arg_an_d, 651s # const gchar *arg_an_s, 651s # const gchar *arg_an_o, 651s # const gchar *arg_an_g, 651s # GVariant *arg_an_h, 651s # const gchar *arg_an_ay, 651s # const gchar *const *arg_an_as, 651s # const gchar *const *arg_an_ao, 651s # const gchar *const *arg_an_aay, 651s # GVariant *arg_an_asv, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 20); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # g_marshal_value_peek_boolean (param_values + 2), 651s # g_marshal_value_peek_uchar (param_values + 3), 651s # g_marshal_value_peek_int (param_values + 4), 651s # g_marshal_value_peek_uint (param_values + 5), 651s # g_marshal_value_peek_int (param_values + 6), 651s # g_marshal_value_peek_uint (param_values + 7), 651s # g_marshal_value_peek_int64 (param_values + 8), 651s # g_marshal_value_peek_uint64 (param_values + 9), 651s # g_marshal_value_peek_double (param_values + 10), 651s # g_marshal_value_peek_string (param_values + 11), 651s # g_marshal_value_peek_string (param_values + 12), 651s # g_marshal_value_peek_string (param_values + 13), 651s # g_marshal_value_peek_variant (param_values + 14), 651s # g_marshal_value_peek_string (param_values + 15), 651s # g_marshal_value_peek_boxed (param_values + 16), 651s # g_marshal_value_peek_boxed (param_values + 17), 651s # g_marshal_value_peek_boxed (param_values + 18), 651s # g_marshal_value_peek_variant (param_values + 19), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.CallableIface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectCallableIface 651s # * @title: OrgProjectCallableIface 651s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.CallableIface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_b", 651s # (gchar *) "b", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_y", 651s # (gchar *) "y", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_n", 651s # (gchar *) "n", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_q", 651s # (gchar *) "q", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_i", 651s # (gchar *) "i", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_u", 651s # (gchar *) "u", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_x", 651s # (gchar *) "x", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_t", 651s # (gchar *) "t", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_d", 651s # (gchar *) "d", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_s", 651s # (gchar *) "s", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_o", 651s # (gchar *) "o", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_g", 651s # (gchar *) "g", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_h", 651s # (gchar *) "h", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_ay", 651s # (gchar *) "ay", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_as", 651s # (gchar *) "as", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_ao", 651s # (gchar *) "ao", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_aay", 651s # (gchar *) "aay", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_asv", 651s # (gchar *) "a{sv}", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 651s # { 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 651s # { 651s # { 651s # -1, 651s # (gchar *) "MethodWithManyArgs", 651s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-method-with-many-args", 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_b", 651s # (gchar *) "b", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_y", 651s # (gchar *) "y", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_n", 651s # (gchar *) "n", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_q", 651s # (gchar *) "q", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_i", 651s # (gchar *) "i", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_u", 651s # (gchar *) "u", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_x", 651s # (gchar *) "x", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_t", 651s # (gchar *) "t", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_d", 651s # (gchar *) "d", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_s", 651s # (gchar *) "s", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_o", 651s # (gchar *) "o", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_g", 651s # (gchar *) "g", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_h", 651s # (gchar *) "h", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_ay", 651s # (gchar *) "ay", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_as", 651s # (gchar *) "as", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_ao", 651s # (gchar *) "ao", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_aay", 651s # (gchar *) "aay", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_asv", 651s # (gchar *) "a{sv}", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 651s # { 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SameMethodWithManyArgs", 651s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-same-method-with-many-args", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 651s # { 651s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 651s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.CallableIface", 651s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-callable-iface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_callable_iface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_callable_iface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_callable_iface_method_marshal_method_with_many_args ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _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, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # inline static void 651s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _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, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectCallableIface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 651s # */ 651s # 651s # /** 651s # * OrgProjectCallableIfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 651s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.CallableIface. 651s # */ 651s # 651s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectCallableIface::handle-method-with-many-args: 651s # * @object: A #OrgProjectCallableIface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_an_b: Argument passed by remote caller. 651s # * @arg_an_y: Argument passed by remote caller. 651s # * @arg_an_n: Argument passed by remote caller. 651s # * @arg_an_q: Argument passed by remote caller. 651s # * @arg_an_i: Argument passed by remote caller. 651s # * @arg_an_u: Argument passed by remote caller. 651s # * @arg_an_x: Argument passed by remote caller. 651s # * @arg_an_t: Argument passed by remote caller. 651s # * @arg_an_d: Argument passed by remote caller. 651s # * @arg_an_s: Argument passed by remote caller. 651s # * @arg_an_o: Argument passed by remote caller. 651s # * @arg_an_g: Argument passed by remote caller. 651s # * @arg_an_h: Argument passed by remote caller. 651s # * @arg_an_ay: Argument passed by remote caller. 651s # * @arg_an_as: Argument passed by remote caller. 651s # * @arg_an_ao: Argument passed by remote caller. 651s # * @arg_an_aay: Argument passed by remote caller. 651s # * @arg_an_asv: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-method-with-many-args", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_callable_iface_method_marshal_method_with_many_args, 651s # G_TYPE_BOOLEAN, 651s # 19, 651s # 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); 651s # 651s # /** 651s # * OrgProjectCallableIface::handle-same-method-with-many-args: 651s # * @object: A #OrgProjectCallableIface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_an_b: Argument passed by remote caller. 651s # * @arg_an_y: Argument passed by remote caller. 651s # * @arg_an_n: Argument passed by remote caller. 651s # * @arg_an_q: Argument passed by remote caller. 651s # * @arg_an_i: Argument passed by remote caller. 651s # * @arg_an_u: Argument passed by remote caller. 651s # * @arg_an_x: Argument passed by remote caller. 651s # * @arg_an_t: Argument passed by remote caller. 651s # * @arg_an_d: Argument passed by remote caller. 651s # * @arg_an_s: Argument passed by remote caller. 651s # * @arg_an_o: Argument passed by remote caller. 651s # * @arg_an_g: Argument passed by remote caller. 651s # * @arg_an_h: Argument passed by remote caller. 651s # * @arg_an_ay: Argument passed by remote caller. 651s # * @arg_an_as: Argument passed by remote caller. 651s # * @arg_an_ao: Argument passed by remote caller. 651s # * @arg_an_aay: Argument passed by remote caller. 651s # * @arg_an_asv: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-same-method-with-many-args", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_callable_iface_method_marshal_same_method_with_many_args, 651s # G_TYPE_BOOLEAN, 651s # 19, 651s # 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); 651s # 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_call_method_with_many_args: 651s # * @proxy: A #OrgProjectCallableIfaceProxy. 651s # * @arg_an_b: Argument to pass with the method invocation. 651s # * @arg_an_y: Argument to pass with the method invocation. 651s # * @arg_an_n: Argument to pass with the method invocation. 651s # * @arg_an_q: Argument to pass with the method invocation. 651s # * @arg_an_i: Argument to pass with the method invocation. 651s # * @arg_an_u: Argument to pass with the method invocation. 651s # * @arg_an_x: Argument to pass with the method invocation. 651s # * @arg_an_t: Argument to pass with the method invocation. 651s # * @arg_an_d: Argument to pass with the method invocation. 651s # * @arg_an_s: Argument to pass with the method invocation. 651s # * @arg_an_o: Argument to pass with the method invocation. 651s # * @arg_an_g: Argument to pass with the method invocation. 651s # * @arg_an_h: Argument to pass with the method invocation. 651s # * @arg_an_ay: Argument to pass with the method invocation. 651s # * @arg_an_as: Argument to pass with the method invocation. 651s # * @arg_an_ao: Argument to pass with the method invocation. 651s # * @arg_an_aay: Argument to pass with the method invocation. 651s # * @arg_an_asv: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 651s # * 651s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_callable_iface_call_method_with_many_args ( 651s # OrgProjectCallableIface *proxy, 651s # gboolean arg_an_b, 651s # guchar arg_an_y, 651s # gint16 arg_an_n, 651s # guint16 arg_an_q, 651s # gint arg_an_i, 651s # guint arg_an_u, 651s # gint64 arg_an_x, 651s # guint64 arg_an_t, 651s # gdouble arg_an_d, 651s # const gchar *arg_an_s, 651s # const gchar *arg_an_o, 651s # const gchar *arg_an_g, 651s # GVariant *arg_an_h, 651s # const gchar *arg_an_ay, 651s # const gchar *const *arg_an_as, 651s # const gchar *const *arg_an_ao, 651s # const gchar *const *arg_an_aay, 651s # GVariant *arg_an_asv, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "MethodWithManyArgs", 651s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 651s # arg_an_b, 651s # arg_an_y, 651s # arg_an_n, 651s # arg_an_q, 651s # arg_an_i, 651s # arg_an_u, 651s # arg_an_x, 651s # arg_an_t, 651s # arg_an_d, 651s # arg_an_s, 651s # arg_an_o, 651s # arg_an_g, 651s # arg_an_h, 651s # arg_an_ay, 651s # arg_an_as, 651s # arg_an_ao, 651s # arg_an_aay, 651s # arg_an_asv), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_call_method_with_many_args_finish: 651s # * @proxy: A #OrgProjectCallableIfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_callable_iface_call_method_with_many_args_finish ( 651s # OrgProjectCallableIface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_call_method_with_many_args_sync: 651s # * @proxy: A #OrgProjectCallableIfaceProxy. 651s # * @arg_an_b: Argument to pass with the method invocation. 651s # * @arg_an_y: Argument to pass with the method invocation. 651s # * @arg_an_n: Argument to pass with the method invocation. 651s # * @arg_an_q: Argument to pass with the method invocation. 651s # * @arg_an_i: Argument to pass with the method invocation. 651s # * @arg_an_u: Argument to pass with the method invocation. 651s # * @arg_an_x: Argument to pass with the method invocation. 651s # * @arg_an_t: Argument to pass with the method invocation. 651s # * @arg_an_d: Argument to pass with the method invocation. 651s # * @arg_an_s: Argument to pass with the method invocation. 651s # * @arg_an_o: Argument to pass with the method invocation. 651s # * @arg_an_g: Argument to pass with the method invocation. 651s # * @arg_an_h: Argument to pass with the method invocation. 651s # * @arg_an_ay: Argument to pass with the method invocation. 651s # * @arg_an_as: Argument to pass with the method invocation. 651s # * @arg_an_ao: Argument to pass with the method invocation. 651s # * @arg_an_aay: Argument to pass with the method invocation. 651s # * @arg_an_asv: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_callable_iface_call_method_with_many_args_sync ( 651s # OrgProjectCallableIface *proxy, 651s # gboolean arg_an_b, 651s # guchar arg_an_y, 651s # gint16 arg_an_n, 651s # guint16 arg_an_q, 651s # gint arg_an_i, 651s # guint arg_an_u, 651s # gint64 arg_an_x, 651s # guint64 arg_an_t, 651s # gdouble arg_an_d, 651s # const gchar *arg_an_s, 651s # const gchar *arg_an_o, 651s # const gchar *arg_an_g, 651s # GVariant *arg_an_h, 651s # const gchar *arg_an_ay, 651s # const gchar *const *arg_an_as, 651s # const gchar *const *arg_an_ao, 651s # const gchar *const *arg_an_aay, 651s # GVariant *arg_an_asv, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "MethodWithManyArgs", 651s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 651s # arg_an_b, 651s # arg_an_y, 651s # arg_an_n, 651s # arg_an_q, 651s # arg_an_i, 651s # arg_an_u, 651s # arg_an_x, 651s # arg_an_t, 651s # arg_an_d, 651s # arg_an_s, 651s # arg_an_o, 651s # arg_an_g, 651s # arg_an_h, 651s # arg_an_ay, 651s # arg_an_as, 651s # arg_an_ao, 651s # arg_an_aay, 651s # arg_an_asv), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_call_same_method_with_many_args: 651s # * @proxy: A #OrgProjectCallableIfaceProxy. 651s # * @arg_an_b: Argument to pass with the method invocation. 651s # * @arg_an_y: Argument to pass with the method invocation. 651s # * @arg_an_n: Argument to pass with the method invocation. 651s # * @arg_an_q: Argument to pass with the method invocation. 651s # * @arg_an_i: Argument to pass with the method invocation. 651s # * @arg_an_u: Argument to pass with the method invocation. 651s # * @arg_an_x: Argument to pass with the method invocation. 651s # * @arg_an_t: Argument to pass with the method invocation. 651s # * @arg_an_d: Argument to pass with the method invocation. 651s # * @arg_an_s: Argument to pass with the method invocation. 651s # * @arg_an_o: Argument to pass with the method invocation. 651s # * @arg_an_g: Argument to pass with the method invocation. 651s # * @arg_an_h: Argument to pass with the method invocation. 651s # * @arg_an_ay: Argument to pass with the method invocation. 651s # * @arg_an_as: Argument to pass with the method invocation. 651s # * @arg_an_ao: Argument to pass with the method invocation. 651s # * @arg_an_aay: Argument to pass with the method invocation. 651s # * @arg_an_asv: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 651s # * 651s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_callable_iface_call_same_method_with_many_args ( 651s # OrgProjectCallableIface *proxy, 651s # gboolean arg_an_b, 651s # guchar arg_an_y, 651s # gint16 arg_an_n, 651s # guint16 arg_an_q, 651s # gint arg_an_i, 651s # guint arg_an_u, 651s # gint64 arg_an_x, 651s # guint64 arg_an_t, 651s # gdouble arg_an_d, 651s # const gchar *arg_an_s, 651s # const gchar *arg_an_o, 651s # const gchar *arg_an_g, 651s # GVariant *arg_an_h, 651s # const gchar *arg_an_ay, 651s # const gchar *const *arg_an_as, 651s # const gchar *const *arg_an_ao, 651s # const gchar *const *arg_an_aay, 651s # GVariant *arg_an_asv, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "SameMethodWithManyArgs", 651s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 651s # arg_an_b, 651s # arg_an_y, 651s # arg_an_n, 651s # arg_an_q, 651s # arg_an_i, 651s # arg_an_u, 651s # arg_an_x, 651s # arg_an_t, 651s # arg_an_d, 651s # arg_an_s, 651s # arg_an_o, 651s # arg_an_g, 651s # arg_an_h, 651s # arg_an_ay, 651s # arg_an_as, 651s # arg_an_ao, 651s # arg_an_aay, 651s # arg_an_asv), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_call_same_method_with_many_args_finish: 651s # * @proxy: A #OrgProjectCallableIfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_callable_iface_call_same_method_with_many_args_finish ( 651s # OrgProjectCallableIface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_call_same_method_with_many_args_sync: 651s # * @proxy: A #OrgProjectCallableIfaceProxy. 651s # * @arg_an_b: Argument to pass with the method invocation. 651s # * @arg_an_y: Argument to pass with the method invocation. 651s # * @arg_an_n: Argument to pass with the method invocation. 651s # * @arg_an_q: Argument to pass with the method invocation. 651s # * @arg_an_i: Argument to pass with the method invocation. 651s # * @arg_an_u: Argument to pass with the method invocation. 651s # * @arg_an_x: Argument to pass with the method invocation. 651s # * @arg_an_t: Argument to pass with the method invocation. 651s # * @arg_an_d: Argument to pass with the method invocation. 651s # * @arg_an_s: Argument to pass with the method invocation. 651s # * @arg_an_o: Argument to pass with the method invocation. 651s # * @arg_an_g: Argument to pass with the method invocation. 651s # * @arg_an_h: Argument to pass with the method invocation. 651s # * @arg_an_ay: Argument to pass with the method invocation. 651s # * @arg_an_as: Argument to pass with the method invocation. 651s # * @arg_an_ao: Argument to pass with the method invocation. 651s # * @arg_an_aay: Argument to pass with the method invocation. 651s # * @arg_an_asv: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_callable_iface_call_same_method_with_many_args_sync ( 651s # OrgProjectCallableIface *proxy, 651s # gboolean arg_an_b, 651s # guchar arg_an_y, 651s # gint16 arg_an_n, 651s # guint16 arg_an_q, 651s # gint arg_an_i, 651s # guint arg_an_u, 651s # gint64 arg_an_x, 651s # guint64 arg_an_t, 651s # gdouble arg_an_d, 651s # const gchar *arg_an_s, 651s # const gchar *arg_an_o, 651s # const gchar *arg_an_g, 651s # GVariant *arg_an_h, 651s # const gchar *arg_an_ay, 651s # const gchar *const *arg_an_as, 651s # const gchar *const *arg_an_ao, 651s # const gchar *const *arg_an_aay, 651s # GVariant *arg_an_asv, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "SameMethodWithManyArgs", 651s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 651s # arg_an_b, 651s # arg_an_y, 651s # arg_an_n, 651s # arg_an_q, 651s # arg_an_i, 651s # arg_an_u, 651s # arg_an_x, 651s # arg_an_t, 651s # arg_an_d, 651s # arg_an_s, 651s # arg_an_o, 651s # arg_an_g, 651s # arg_an_h, 651s # arg_an_ay, 651s # arg_an_as, 651s # arg_an_ao, 651s # arg_an_aay, 651s # arg_an_asv), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_complete_method_with_many_args: 651s # * @object: A #OrgProjectCallableIface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_callable_iface_complete_method_with_many_args ( 651s # OrgProjectCallableIface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_complete_same_method_with_many_args: 651s # * @object: A #OrgProjectCallableIface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_callable_iface_complete_same_method_with_many_args ( 651s # OrgProjectCallableIface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectCallableIfaceProxy: 651s # * 651s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectCallableIfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectCallableIfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectCallableIfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_callable_iface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 651s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 651s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_callable_iface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectCallableIface * 651s # org_project_callable_iface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_CALLABLE_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectCallableIface * 651s # org_project_callable_iface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_CALLABLE_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_callable_iface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_callable_iface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectCallableIface * 651s # org_project_callable_iface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_CALLABLE_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectCallableIface * 651s # org_project_callable_iface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_CALLABLE_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectCallableIfaceSkeleton: 651s # * 651s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectCallableIfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectCallableIfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectCallableIfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_callable_iface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_callable_iface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_callable_iface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 651s # { 651s # _org_project_callable_iface_skeleton_handle_method_call, 651s # _org_project_callable_iface_skeleton_handle_get_property, 651s # _org_project_callable_iface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_callable_iface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_callable_iface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectCallableIface * 651s # org_project_callable_iface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.OtherCallableIface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectOtherCallableIface 651s # * @title: OrgProjectOtherCallableIface 651s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_b", 651s # (gchar *) "b", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_y", 651s # (gchar *) "y", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_n", 651s # (gchar *) "n", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_q", 651s # (gchar *) "q", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_i", 651s # (gchar *) "i", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_u", 651s # (gchar *) "u", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_x", 651s # (gchar *) "x", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_t", 651s # (gchar *) "t", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_d", 651s # (gchar *) "d", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_s", 651s # (gchar *) "s", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_o", 651s # (gchar *) "o", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_g", 651s # (gchar *) "g", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_h", 651s # (gchar *) "h", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_ay", 651s # (gchar *) "ay", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_as", 651s # (gchar *) "as", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_ao", 651s # (gchar *) "ao", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_aay", 651s # (gchar *) "aay", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_asv", 651s # (gchar *) "a{sv}", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 651s # { 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 651s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 651s # { 651s # { 651s # -1, 651s # (gchar *) "MethodWithManyArgs", 651s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "handle-method-with-many-args", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 651s # { 651s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.OtherCallableIface", 651s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-other-callable-iface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_other_callable_iface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_other_callable_iface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_other_callable_iface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _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, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectOtherCallableIface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 651s # */ 651s # 651s # /** 651s # * OrgProjectOtherCallableIfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 651s # */ 651s # 651s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 651s # * @object: A #OrgProjectOtherCallableIface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * @arg_an_b: Argument passed by remote caller. 651s # * @arg_an_y: Argument passed by remote caller. 651s # * @arg_an_n: Argument passed by remote caller. 651s # * @arg_an_q: Argument passed by remote caller. 651s # * @arg_an_i: Argument passed by remote caller. 651s # * @arg_an_u: Argument passed by remote caller. 651s # * @arg_an_x: Argument passed by remote caller. 651s # * @arg_an_t: Argument passed by remote caller. 651s # * @arg_an_d: Argument passed by remote caller. 651s # * @arg_an_s: Argument passed by remote caller. 651s # * @arg_an_o: Argument passed by remote caller. 651s # * @arg_an_g: Argument passed by remote caller. 651s # * @arg_an_h: Argument passed by remote caller. 651s # * @arg_an_ay: Argument passed by remote caller. 651s # * @arg_an_as: Argument passed by remote caller. 651s # * @arg_an_ao: Argument passed by remote caller. 651s # * @arg_an_aay: Argument passed by remote caller. 651s # * @arg_an_asv: Argument passed by remote caller. 651s # * 651s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-method-with-many-args", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_other_callable_iface_method_marshal_method_with_many_args, 651s # G_TYPE_BOOLEAN, 651s # 19, 651s # 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); 651s # 651s # } 651s # 651s # /** 651s # * org_project_other_callable_iface_call_method_with_many_args: 651s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 651s # * @arg_an_b: Argument to pass with the method invocation. 651s # * @arg_an_y: Argument to pass with the method invocation. 651s # * @arg_an_n: Argument to pass with the method invocation. 651s # * @arg_an_q: Argument to pass with the method invocation. 651s # * @arg_an_i: Argument to pass with the method invocation. 651s # * @arg_an_u: Argument to pass with the method invocation. 651s # * @arg_an_x: Argument to pass with the method invocation. 651s # * @arg_an_t: Argument to pass with the method invocation. 651s # * @arg_an_d: Argument to pass with the method invocation. 651s # * @arg_an_s: Argument to pass with the method invocation. 651s # * @arg_an_o: Argument to pass with the method invocation. 651s # * @arg_an_g: Argument to pass with the method invocation. 651s # * @arg_an_h: Argument to pass with the method invocation. 651s # * @arg_an_ay: Argument to pass with the method invocation. 651s # * @arg_an_as: Argument to pass with the method invocation. 651s # * @arg_an_ao: Argument to pass with the method invocation. 651s # * @arg_an_aay: Argument to pass with the method invocation. 651s # * @arg_an_asv: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 651s # * 651s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_other_callable_iface_call_method_with_many_args ( 651s # OrgProjectOtherCallableIface *proxy, 651s # gboolean arg_an_b, 651s # guchar arg_an_y, 651s # gint16 arg_an_n, 651s # guint16 arg_an_q, 651s # gint arg_an_i, 651s # guint arg_an_u, 651s # gint64 arg_an_x, 651s # guint64 arg_an_t, 651s # gdouble arg_an_d, 651s # const gchar *arg_an_s, 651s # const gchar *arg_an_o, 651s # const gchar *arg_an_g, 651s # GVariant *arg_an_h, 651s # const gchar *arg_an_ay, 651s # const gchar *const *arg_an_as, 651s # const gchar *const *arg_an_ao, 651s # const gchar *const *arg_an_aay, 651s # GVariant *arg_an_asv, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "MethodWithManyArgs", 651s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 651s # arg_an_b, 651s # arg_an_y, 651s # arg_an_n, 651s # arg_an_q, 651s # arg_an_i, 651s # arg_an_u, 651s # arg_an_x, 651s # arg_an_t, 651s # arg_an_d, 651s # arg_an_s, 651s # arg_an_o, 651s # arg_an_g, 651s # arg_an_h, 651s # arg_an_ay, 651s # arg_an_as, 651s # arg_an_ao, 651s # arg_an_aay, 651s # arg_an_asv), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_other_callable_iface_call_method_with_many_args_finish: 651s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_other_callable_iface_call_method_with_many_args_finish ( 651s # OrgProjectOtherCallableIface *proxy, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_other_callable_iface_call_method_with_many_args_sync: 651s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 651s # * @arg_an_b: Argument to pass with the method invocation. 651s # * @arg_an_y: Argument to pass with the method invocation. 651s # * @arg_an_n: Argument to pass with the method invocation. 651s # * @arg_an_q: Argument to pass with the method invocation. 651s # * @arg_an_i: Argument to pass with the method invocation. 651s # * @arg_an_u: Argument to pass with the method invocation. 651s # * @arg_an_x: Argument to pass with the method invocation. 651s # * @arg_an_t: Argument to pass with the method invocation. 651s # * @arg_an_d: Argument to pass with the method invocation. 651s # * @arg_an_s: Argument to pass with the method invocation. 651s # * @arg_an_o: Argument to pass with the method invocation. 651s # * @arg_an_g: Argument to pass with the method invocation. 651s # * @arg_an_h: Argument to pass with the method invocation. 651s # * @arg_an_ay: Argument to pass with the method invocation. 651s # * @arg_an_as: Argument to pass with the method invocation. 651s # * @arg_an_ao: Argument to pass with the method invocation. 651s # * @arg_an_aay: Argument to pass with the method invocation. 651s # * @arg_an_asv: Argument to pass with the method invocation. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_other_callable_iface_call_method_with_many_args_sync ( 651s # OrgProjectOtherCallableIface *proxy, 651s # gboolean arg_an_b, 651s # guchar arg_an_y, 651s # gint16 arg_an_n, 651s # guint16 arg_an_q, 651s # gint arg_an_i, 651s # guint arg_an_u, 651s # gint64 arg_an_x, 651s # guint64 arg_an_t, 651s # gdouble arg_an_d, 651s # const gchar *arg_an_s, 651s # const gchar *arg_an_o, 651s # const gchar *arg_an_g, 651s # GVariant *arg_an_h, 651s # const gchar *arg_an_ay, 651s # const gchar *const *arg_an_as, 651s # const gchar *const *arg_an_ao, 651s # const gchar *const *arg_an_aay, 651s # GVariant *arg_an_asv, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "MethodWithManyArgs", 651s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 651s # arg_an_b, 651s # arg_an_y, 651s # arg_an_n, 651s # arg_an_q, 651s # arg_an_i, 651s # arg_an_u, 651s # arg_an_x, 651s # arg_an_t, 651s # arg_an_d, 651s # arg_an_s, 651s # arg_an_o, 651s # arg_an_g, 651s # arg_an_h, 651s # arg_an_ay, 651s # arg_an_as, 651s # arg_an_ao, 651s # arg_an_aay, 651s # arg_an_asv), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "()"); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_other_callable_iface_complete_method_with_many_args: 651s # * @object: A #OrgProjectOtherCallableIface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_other_callable_iface_complete_method_with_many_args ( 651s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("()")); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectOtherCallableIfaceProxy: 651s # * 651s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectOtherCallableIfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectOtherCallableIfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_other_callable_iface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 651s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 651s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_other_callable_iface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_other_callable_iface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_other_callable_iface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectOtherCallableIface * 651s # org_project_other_callable_iface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_other_callable_iface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectOtherCallableIface * 651s # org_project_other_callable_iface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_other_callable_iface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_other_callable_iface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectOtherCallableIface * 651s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectOtherCallableIface * 651s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectOtherCallableIfaceSkeleton: 651s # * 651s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectOtherCallableIfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_other_callable_iface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_other_callable_iface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_other_callable_iface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 651s # { 651s # _org_project_other_callable_iface_skeleton_handle_method_call, 651s # _org_project_other_callable_iface_skeleton_handle_get_property, 651s # _org_project_other_callable_iface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_other_callable_iface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_other_callable_iface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectOtherCallableIface * 651s # org_project_other_callable_iface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 651s # gdbus-codegen: /usr/bin/gdbus-codegen 651s # tmpdir: /tmp/tmpzkccppxu 651s # /tmp/tmpzkccppxu/tmps88p9ea8.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzkccppxu/tmps88p9ea8.xml', '--output', '-', '--body'] 651s # Return code: 0 651s # Output: 651s # /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (void *data1, 651s # GDBusMethodInvocation *arg_method_invocation, 651s # void *data2); 651s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # gboolean v_return; 651s # 651s # g_return_if_fail (return_value != NULL); 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # v_return = 651s # callback (data1, 651s # g_marshal_value_peek_object (param_values + 1), 651s # data2); 651s # 651s # g_value_set_boolean (return_value, v_return); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.CallableIface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectCallableIface 651s # * @title: OrgProjectCallableIface 651s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 651s # */ 651s # 651s # /* ---- Introspection data for org.project.CallableIface ---- */ 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_b", 651s # (gchar *) "b", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_y", 651s # (gchar *) "y", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_n", 651s # (gchar *) "n", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_q", 651s # (gchar *) "q", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_i", 651s # (gchar *) "i", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_u", 651s # (gchar *) "u", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_x", 651s # (gchar *) "x", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_t", 651s # (gchar *) "t", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_d", 651s # (gchar *) "d", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_s", 651s # (gchar *) "s", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_o", 651s # (gchar *) "o", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_g", 651s # (gchar *) "g", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_h", 651s # (gchar *) "h", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_ay", 651s # (gchar *) "ay", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_as", 651s # (gchar *) "as", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_ao", 651s # (gchar *) "ao", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_aay", 651s # (gchar *) "aay", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 651s # { 651s # { 651s # -1, 651s # (gchar *) "an_asv", 651s # (gchar *) "a{sv}", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 651s # { 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 651s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 651s # { 651s # { 651s # -1, 651s # (gchar *) "MethodWithManyArgs", 651s # NULL, 651s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 651s # NULL 651s # }, 651s # "handle-method-with-many-args", 651s # FALSE 651s # }; 651s # 651s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 651s # { 651s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.CallableIface", 651s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 651s # NULL, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-callable-iface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_callable_iface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_callable_iface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_callable_iface_method_marshal_method_with_many_args ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectCallableIface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 651s # */ 651s # 651s # /** 651s # * OrgProjectCallableIfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.CallableIface. 651s # */ 651s # 651s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 651s # { 651s # /* GObject signals for incoming D-Bus method calls: */ 651s # /** 651s # * OrgProjectCallableIface::handle-method-with-many-args: 651s # * @object: A #OrgProjectCallableIface. 651s # * @invocation: A #GDBusMethodInvocation. 651s # * 651s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 651s # * 651s # * 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. 651s # * 651s # * 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. 651s # */ 651s # g_signal_new ("handle-method-with-many-args", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 651s # g_signal_accumulator_true_handled, 651s # NULL, 651s # org_project_callable_iface_method_marshal_method_with_many_args, 651s # G_TYPE_BOOLEAN, 651s # 1, 651s # G_TYPE_DBUS_METHOD_INVOCATION); 651s # 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_call_method_with_many_args: 651s # * @proxy: A #OrgProjectCallableIfaceProxy. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 651s # * 651s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 651s # */ 651s # void 651s # org_project_callable_iface_call_method_with_many_args ( 651s # OrgProjectCallableIface *proxy, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 651s # "MethodWithManyArgs", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # callback, 651s # user_data); 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_call_method_with_many_args_finish: 651s # * @proxy: A #OrgProjectCallableIfaceProxy. 651s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 651s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 651s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 651s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_callable_iface_call_method_with_many_args_finish ( 651s # OrgProjectCallableIface *proxy, 651s # gboolean *out_an_b, 651s # guchar *out_an_y, 651s # gint16 *out_an_n, 651s # guint16 *out_an_q, 651s # gint *out_an_i, 651s # guint *out_an_u, 651s # gint64 *out_an_x, 651s # guint64 *out_an_t, 651s # gdouble *out_an_d, 651s # gchar **out_an_s, 651s # gchar **out_an_o, 651s # gchar **out_an_g, 651s # GVariant **out_an_h, 651s # gchar **out_an_ay, 651s # gchar ***out_an_as, 651s # gchar ***out_an_ao, 651s # gchar ***out_an_aay, 651s # GVariant **out_an_asv, 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 651s # out_an_b, 651s # out_an_y, 651s # out_an_n, 651s # out_an_q, 651s # out_an_i, 651s # out_an_u, 651s # out_an_x, 651s # out_an_t, 651s # out_an_d, 651s # out_an_s, 651s # out_an_o, 651s # out_an_g, 651s # out_an_h, 651s # out_an_ay, 651s # out_an_as, 651s # out_an_ao, 651s # out_an_aay, 651s # out_an_asv); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_call_method_with_many_args_sync: 651s # * @proxy: A #OrgProjectCallableIfaceProxy. 651s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 651s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 651s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 651s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL. 651s # * 651s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 651s # * 651s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 651s # */ 651s # gboolean 651s # org_project_callable_iface_call_method_with_many_args_sync ( 651s # OrgProjectCallableIface *proxy, 651s # gboolean *out_an_b, 651s # guchar *out_an_y, 651s # gint16 *out_an_n, 651s # guint16 *out_an_q, 651s # gint *out_an_i, 651s # guint *out_an_u, 651s # gint64 *out_an_x, 651s # guint64 *out_an_t, 651s # gdouble *out_an_d, 651s # gchar **out_an_s, 651s # gchar **out_an_o, 651s # gchar **out_an_g, 651s # GVariant **out_an_h, 651s # gchar **out_an_ay, 651s # gchar ***out_an_as, 651s # gchar ***out_an_ao, 651s # gchar ***out_an_aay, 651s # GVariant **out_an_asv, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GVariant *_ret; 651s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 651s # "MethodWithManyArgs", 651s # g_variant_new ("()"), 651s # G_DBUS_CALL_FLAGS_NONE, 651s # -1, 651s # cancellable, 651s # error); 651s # if (_ret == NULL) 651s # goto _out; 651s # g_variant_get (_ret, 651s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 651s # out_an_b, 651s # out_an_y, 651s # out_an_n, 651s # out_an_q, 651s # out_an_i, 651s # out_an_u, 651s # out_an_x, 651s # out_an_t, 651s # out_an_d, 651s # out_an_s, 651s # out_an_o, 651s # out_an_g, 651s # out_an_h, 651s # out_an_ay, 651s # out_an_as, 651s # out_an_ao, 651s # out_an_aay, 651s # out_an_asv); 651s # g_variant_unref (_ret); 651s # _out: 651s # return _ret != NULL; 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_complete_method_with_many_args: 651s # * @object: A #OrgProjectCallableIface. 651s # * @invocation: (transfer full): A #GDBusMethodInvocation. 651s # * @an_b: Parameter to return. 651s # * @an_y: Parameter to return. 651s # * @an_n: Parameter to return. 651s # * @an_q: Parameter to return. 651s # * @an_i: Parameter to return. 651s # * @an_u: Parameter to return. 651s # * @an_x: Parameter to return. 651s # * @an_t: Parameter to return. 651s # * @an_d: Parameter to return. 651s # * @an_s: Parameter to return. 651s # * @an_o: Parameter to return. 651s # * @an_g: Parameter to return. 651s # * @an_h: Parameter to return. 651s # * @an_ay: Parameter to return. 651s # * @an_as: Parameter to return. 651s # * @an_ao: Parameter to return. 651s # * @an_aay: Parameter to return. 651s # * @an_asv: Parameter to return. 651s # * 651s # * 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. 651s # * 651s # * This method will free @invocation, you cannot use it afterwards. 651s # */ 651s # void 651s # org_project_callable_iface_complete_method_with_many_args ( 651s # OrgProjectCallableIface *object G_GNUC_UNUSED, 651s # GDBusMethodInvocation *invocation, 651s # gboolean an_b, 651s # guchar an_y, 651s # gint16 an_n, 651s # guint16 an_q, 651s # gint an_i, 651s # guint an_u, 651s # gint64 an_x, 651s # guint64 an_t, 651s # gdouble an_d, 651s # const gchar *an_s, 651s # const gchar *an_o, 651s # const gchar *an_g, 651s # GVariant *an_h, 651s # const gchar *an_ay, 651s # const gchar *const *an_as, 651s # const gchar *const *an_ao, 651s # const gchar *const *an_aay, 651s # GVariant *an_asv) 651s # { 651s # g_dbus_method_invocation_return_value (invocation, 651s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 651s # an_b, 651s # an_y, 651s # an_n, 651s # an_q, 651s # an_i, 651s # an_u, 651s # an_x, 651s # an_t, 651s # an_d, 651s # an_s, 651s # an_o, 651s # an_g, 651s # an_h, 651s # an_ay, 651s # an_as, 651s # an_ao, 651s # an_aay, 651s # an_asv)); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectCallableIfaceProxy: 651s # * 651s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectCallableIfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectCallableIfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectCallableIfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_callable_iface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 651s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 651s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_callable_iface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectCallableIface * 651s # org_project_callable_iface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_CALLABLE_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectCallableIface * 651s # org_project_callable_iface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_CALLABLE_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_callable_iface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_callable_iface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectCallableIface * 651s # org_project_callable_iface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_CALLABLE_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectCallableIface * 651s # org_project_callable_iface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_CALLABLE_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectCallableIfaceSkeleton: 651s # * 651s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectCallableIfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectCallableIfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectCallableIfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_callable_iface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_callable_iface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_callable_iface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 651s # { 651s # _org_project_callable_iface_skeleton_handle_method_call, 651s # _org_project_callable_iface_skeleton_handle_get_property, 651s # _org_project_callable_iface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_callable_iface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 651s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #else 651s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 651s # #endif 651s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_callable_iface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_callable_iface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectCallableIface * 651s # org_project_callable_iface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 651s # } 651s # Error: 651s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 651s # gdbus-codegen: /usr/bin/gdbus-codegen 651s # tmpdir: /tmp/tmpqg7i58gh 651s # /tmp/tmpqg7i58gh/tmpagpzwx_7.xml: 651s # 651s # 651s # 651s # 651s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqg7i58gh/tmpagpzwx_7.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # static void 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint G_GNUC_UNUSED, 652s # void *marshal_data) 652s # { 652s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 652s # (void *data1, 652s # GDBusMethodInvocation *arg_method_invocation, 652s # GUnixFDList *arg_fd_list, 652s # const gchar *arg_greeting, 652s # void *data2); 652s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 652s # GCClosure *cc = (GCClosure*) closure; 652s # void *data1, *data2; 652s # gboolean v_return; 652s # 652s # g_return_if_fail (return_value != NULL); 652s # g_return_if_fail (n_param_values == 4); 652s # 652s # if (G_CCLOSURE_SWAP_DATA (closure)) 652s # { 652s # data1 = closure->data; 652s # data2 = g_value_peek_pointer (param_values + 0); 652s # } 652s # else 652s # { 652s # data1 = g_value_peek_pointer (param_values + 0); 652s # data2 = closure->data; 652s # } 652s # 652s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 652s # (marshal_data ? marshal_data : cc->callback); 652s # 652s # v_return = 652s # callback (data1, 652s # g_marshal_value_peek_object (param_values + 1), 652s # g_marshal_value_peek_object (param_values + 2), 652s # g_marshal_value_peek_string (param_values + 3), 652s # data2); 652s # 652s # g_value_set_boolean (return_value, v_return); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface test.FDPassing 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:TestFDPassing 652s # * @title: TestFDPassing 652s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 652s # * 652s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 652s # */ 652s # 652s # /* ---- Introspection data for test.FDPassing ---- */ 652s # 652s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 652s # { 652s # { 652s # -1, 652s # (gchar *) "greeting", 652s # (gchar *) "s", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 652s # { 652s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 652s # { 652s # { 652s # -1, 652s # (gchar *) "response", 652s # (gchar *) "s", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 652s # { 652s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 652s # { 652s # { 652s # -1, 652s # (gchar *) "HelloFD", 652s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 652s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 652s # NULL 652s # }, 652s # "handle-hello-fd", 652s # TRUE 652s # }; 652s # 652s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 652s # { 652s # &_test_fdpassing_method_info_hello_fd.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "test.FDPassing", 652s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "test-fdpassing", 652s # }; 652s # 652s # 652s # /** 652s # * test_fdpassing_interface_info: 652s # * 652s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # test_fdpassing_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * test_fdpassing_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # test_fdpassing_method_marshal_hello_fd ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * TestFDPassing: 652s # * 652s # * Abstract interface type for the D-Bus interface test.FDPassing. 652s # */ 652s # 652s # /** 652s # * TestFDPassingIface: 652s # * @parent_iface: The parent interface. 652s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 652s # * 652s # * Virtual table for the D-Bus interface test.FDPassing. 652s # */ 652s # 652s # typedef TestFDPassingIface TestFDPassingInterface; 652s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 652s # 652s # static void 652s # test_fdpassing_default_init (TestFDPassingIface *iface) 652s # { 652s # /* GObject signals for incoming D-Bus method calls: */ 652s # /** 652s # * TestFDPassing::handle-hello-fd: 652s # * @object: A #TestFDPassing. 652s # * @invocation: A #GDBusMethodInvocation. 652s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 652s # * @arg_greeting: Argument passed by remote caller. 652s # * 652s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # g_signal_new ("handle-hello-fd", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 652s # g_signal_accumulator_true_handled, 652s # NULL, 652s # test_fdpassing_method_marshal_hello_fd, 652s # G_TYPE_BOOLEAN, 652s # 3, 652s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 652s # 652s # } 652s # 652s # /** 652s # * test_fdpassing_call_hello_fd: 652s # * @proxy: A #TestFDPassingProxy. 652s # * @arg_greeting: Argument to pass with the method invocation. 652s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 652s # * 652s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 652s # */ 652s # void 652s # test_fdpassing_call_hello_fd ( 652s # TestFDPassing *proxy, 652s # const gchar *arg_greeting, 652s # GUnixFDList *fd_list, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 652s # "HelloFD", 652s # g_variant_new ("(s)", 652s # arg_greeting), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # fd_list, 652s # cancellable, 652s # callback, 652s # user_data); 652s # } 652s # 652s # /** 652s # * test_fdpassing_call_hello_fd_finish: 652s # * @proxy: A #TestFDPassingProxy. 652s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 652s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # test_fdpassing_call_hello_fd_finish ( 652s # TestFDPassing *proxy, 652s # gchar **out_response, 652s # GUnixFDList **out_fd_list, 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "(s)", 652s # out_response); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * test_fdpassing_call_hello_fd_sync: 652s # * @proxy: A #TestFDPassingProxy. 652s # * @arg_greeting: Argument to pass with the method invocation. 652s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 652s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 652s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 652s # * 652s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # test_fdpassing_call_hello_fd_sync ( 652s # TestFDPassing *proxy, 652s # const gchar *arg_greeting, 652s # GUnixFDList *fd_list, 652s # gchar **out_response, 652s # GUnixFDList **out_fd_list, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 652s # "HelloFD", 652s # g_variant_new ("(s)", 652s # arg_greeting), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # fd_list, 652s # out_fd_list, 652s # cancellable, 652s # error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "(s)", 652s # out_response); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * test_fdpassing_complete_hello_fd: 652s # * @object: A #TestFDPassing. 652s # * @invocation: (transfer full): A #GDBusMethodInvocation. 652s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 652s # * @response: Parameter to return. 652s # * 652s # * 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. 652s # * 652s # * This method will free @invocation, you cannot use it afterwards. 652s # */ 652s # void 652s # test_fdpassing_complete_hello_fd ( 652s # TestFDPassing *object G_GNUC_UNUSED, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # const gchar *response) 652s # { 652s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 652s # g_variant_new ("(s)", 652s # response), 652s # fd_list); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * TestFDPassingProxy: 652s # * 652s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * TestFDPassingProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #TestFDPassingProxy. 652s # */ 652s # 652s # struct _TestFDPassingProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (TestFDPassingProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # test_fdpassing_proxy_finalize (GObject *object) 652s # { 652s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 652s # } 652s # 652s # static void 652s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = test_fdpassing_proxy_finalize; 652s # gobject_class->get_property = test_fdpassing_proxy_get_property; 652s # gobject_class->set_property = test_fdpassing_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 652s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * test_fdpassing_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # test_fdpassing_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * test_fdpassing_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with test_fdpassing_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # TestFDPassing * 652s # test_fdpassing_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return TEST_FDPASSING (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * test_fdpassing_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # TestFDPassing * 652s # test_fdpassing_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return TEST_FDPASSING (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * test_fdpassing_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # test_fdpassing_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * test_fdpassing_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # TestFDPassing * 652s # test_fdpassing_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return TEST_FDPASSING (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * test_fdpassing_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # TestFDPassing * 652s # test_fdpassing_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return TEST_FDPASSING (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * TestFDPassingSkeleton: 652s # * 652s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * TestFDPassingSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #TestFDPassingSkeleton. 652s # */ 652s # 652s # struct _TestFDPassingSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _test_fdpassing_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _test_fdpassing_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _test_fdpassing_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 652s # { 652s # _test_fdpassing_skeleton_handle_method_call, 652s # _test_fdpassing_skeleton_handle_get_property, 652s # _test_fdpassing_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return test_fdpassing_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (TestFDPassingSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # test_fdpassing_skeleton_finalize (GObject *object) 652s # { 652s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * test_fdpassing_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 652s # * 652s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 652s # */ 652s # TestFDPassing * 652s # test_fdpassing_skeleton_new (void) 652s # { 652s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 652s # } 652s # Error: 652s ok 15 __main__.TestCodegen.test_generate_rst 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmp8ffrngoi 652s # /tmp/tmp8ffrngoi/tmp7s292iyj.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ffrngoi/tmp7s292iyj.xml', '--generate-rst', 'test'] 652s # Return code: 0 652s # Output: 652s # 652s # Error: 652s ok 16 __main__.TestCodegen.test_generate_rst_method 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmp_pmcp7qy 652s # /tmp/tmp_pmcp7qy/tmpjtjqylpz.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_pmcp7qy/tmpjtjqylpz.xml', '--generate-rst', 'test'] 652s # Return code: 0 652s # Output: 652s # 652s # Error: 652s ok 17 __main__.TestCodegen.test_generate_rst_property 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmpr9o6ps4_ 652s # /tmp/tmpr9o6ps4_/tmpk2sy_50o.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr9o6ps4_/tmpk2sy_50o.xml', '--generate-rst', 'test'] 652s # Return code: 0 652s # Output: 652s # 652s # Error: 652s ok 18 __main__.TestCodegen.test_generate_rst_signal 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmpswpyhqr7 652s # /tmp/tmpswpyhqr7/tmpb20_txit.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpswpyhqr7/tmpb20_txit.xml', '--generate-rst', 'test'] 652s # Return code: 0 652s # Output: 652s # 652s # Error: 652s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmp5kqih2x6 652s # /tmp/tmp5kqih2x6/tmpi9tag3kd.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5kqih2x6/tmpi9tag3kd.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # static void 652s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 652s # GClosure *closure, 652s # GValue *return_value G_GNUC_UNUSED, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint G_GNUC_UNUSED, 652s # void *marshal_data) 652s # { 652s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 652s # (void *data1, 652s # gboolean arg_an_b, 652s # guchar arg_an_y, 652s # gint16 arg_an_n, 652s # guint16 arg_an_q, 652s # gint arg_an_i, 652s # guint arg_an_u, 652s # gint64 arg_an_x, 652s # guint64 arg_an_t, 652s # gdouble arg_an_d, 652s # const gchar *arg_an_s, 652s # const gchar *arg_an_o, 652s # const gchar *arg_an_g, 652s # GVariant *arg_an_h, 652s # const gchar *arg_an_ay, 652s # const gchar *const *arg_an_as, 652s # const gchar *const *arg_an_ao, 652s # const gchar *const *arg_an_aay, 652s # GVariant *arg_an_asv, 652s # void *data2); 652s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 652s # GCClosure *cc = (GCClosure*) closure; 652s # void *data1, *data2; 652s # 652s # g_return_if_fail (n_param_values == 19); 652s # 652s # if (G_CCLOSURE_SWAP_DATA (closure)) 652s # { 652s # data1 = closure->data; 652s # data2 = g_value_peek_pointer (param_values + 0); 652s # } 652s # else 652s # { 652s # data1 = g_value_peek_pointer (param_values + 0); 652s # data2 = closure->data; 652s # } 652s # 652s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 652s # (marshal_data ? marshal_data : cc->callback); 652s # 652s # callback (data1, 652s # g_marshal_value_peek_boolean (param_values + 1), 652s # g_marshal_value_peek_uchar (param_values + 2), 652s # g_marshal_value_peek_int (param_values + 3), 652s # g_marshal_value_peek_uint (param_values + 4), 652s # g_marshal_value_peek_int (param_values + 5), 652s # g_marshal_value_peek_uint (param_values + 6), 652s # g_marshal_value_peek_int64 (param_values + 7), 652s # g_marshal_value_peek_uint64 (param_values + 8), 652s # g_marshal_value_peek_double (param_values + 9), 652s # g_marshal_value_peek_string (param_values + 10), 652s # g_marshal_value_peek_string (param_values + 11), 652s # g_marshal_value_peek_string (param_values + 12), 652s # g_marshal_value_peek_variant (param_values + 13), 652s # g_marshal_value_peek_string (param_values + 14), 652s # g_marshal_value_peek_boxed (param_values + 15), 652s # g_marshal_value_peek_boxed (param_values + 16), 652s # g_marshal_value_peek_boxed (param_values + 17), 652s # g_marshal_value_peek_variant (param_values + 18), 652s # data2); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_b", 652s # (gchar *) "b", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_y", 652s # (gchar *) "y", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_n", 652s # (gchar *) "n", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_q", 652s # (gchar *) "q", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_i", 652s # (gchar *) "i", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_u", 652s # (gchar *) "u", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_x", 652s # (gchar *) "x", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_t", 652s # (gchar *) "t", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_d", 652s # (gchar *) "d", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_s", 652s # (gchar *) "s", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_o", 652s # (gchar *) "o", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_g", 652s # (gchar *) "g", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_h", 652s # (gchar *) "h", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_ay", 652s # (gchar *) "ay", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_as", 652s # (gchar *) "as", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_ao", 652s # (gchar *) "ao", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_aay", 652s # (gchar *) "aay", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_asv", 652s # (gchar *) "a{sv}", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SignalWithManyArgs", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 652s # NULL 652s # }, 652s # "signal-with-many-args" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::signal-with-many-args: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_b: Argument. 652s # * @arg_an_y: Argument. 652s # * @arg_an_n: Argument. 652s # * @arg_an_q: Argument. 652s # * @arg_an_i: Argument. 652s # * @arg_an_u: Argument. 652s # * @arg_an_x: Argument. 652s # * @arg_an_t: Argument. 652s # * @arg_an_d: Argument. 652s # * @arg_an_s: Argument. 652s # * @arg_an_o: Argument. 652s # * @arg_an_g: Argument. 652s # * @arg_an_h: Argument. 652s # * @arg_an_ay: Argument. 652s # * @arg_an_as: Argument. 652s # * @arg_an_ao: Argument. 652s # * @arg_an_aay: Argument. 652s # * @arg_an_asv: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 652s # g_signal_new ("signal-with-many-args", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 652s # G_TYPE_NONE, 652s # 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); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_signal_with_many_args: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_b: Argument to pass with the signal. 652s # * @arg_an_y: Argument to pass with the signal. 652s # * @arg_an_n: Argument to pass with the signal. 652s # * @arg_an_q: Argument to pass with the signal. 652s # * @arg_an_i: Argument to pass with the signal. 652s # * @arg_an_u: Argument to pass with the signal. 652s # * @arg_an_x: Argument to pass with the signal. 652s # * @arg_an_t: Argument to pass with the signal. 652s # * @arg_an_d: Argument to pass with the signal. 652s # * @arg_an_s: Argument to pass with the signal. 652s # * @arg_an_o: Argument to pass with the signal. 652s # * @arg_an_g: Argument to pass with the signal. 652s # * @arg_an_h: Argument to pass with the signal. 652s # * @arg_an_ay: Argument to pass with the signal. 652s # * @arg_an_as: Argument to pass with the signal. 652s # * @arg_an_ao: Argument to pass with the signal. 652s # * @arg_an_aay: Argument to pass with the signal. 652s # * @arg_an_asv: Argument to pass with the signal. 652s # * 652s # * Emits the "SignalWithManyArgs" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_signal_with_many_args ( 652s # OrgProjectSignalingIface *object, 652s # gboolean arg_an_b, 652s # guchar arg_an_y, 652s # gint16 arg_an_n, 652s # guint16 arg_an_q, 652s # gint arg_an_i, 652s # guint arg_an_u, 652s # gint64 arg_an_x, 652s # guint64 arg_an_t, 652s # gdouble arg_an_d, 652s # const gchar *arg_an_s, 652s # const gchar *arg_an_o, 652s # const gchar *arg_an_g, 652s # GVariant *arg_an_h, 652s # const gchar *arg_an_ay, 652s # const gchar *const *arg_an_as, 652s # const gchar *const *arg_an_ao, 652s # const gchar *const *arg_an_aay, 652s # GVariant *arg_an_asv) 652s # { 652s # 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); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 652s # OrgProjectSignalingIface *object, 652s # gboolean arg_an_b, 652s # guchar arg_an_y, 652s # gint16 arg_an_n, 652s # guint16 arg_an_q, 652s # gint arg_an_i, 652s # guint arg_an_u, 652s # gint64 arg_an_x, 652s # guint64 arg_an_t, 652s # gdouble arg_an_d, 652s # const gchar *arg_an_s, 652s # const gchar *arg_an_o, 652s # const gchar *arg_an_g, 652s # GVariant *arg_an_h, 652s # const gchar *arg_an_ay, 652s # const gchar *const *arg_an_as, 652s # const gchar *const *arg_an_ao, 652s # const gchar *const *arg_an_aay, 652s # GVariant *arg_an_asv) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 652s # arg_an_b, 652s # arg_an_y, 652s # arg_an_n, 652s # arg_an_q, 652s # arg_an_i, 652s # arg_an_u, 652s # arg_an_x, 652s # arg_an_t, 652s # arg_an_d, 652s # arg_an_s, 652s # arg_an_o, 652s # arg_an_g, 652s # arg_an_h, 652s # arg_an_ay, 652s # arg_an_as, 652s # arg_an_ao, 652s # arg_an_aay, 652s # arg_an_asv)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmpqr62k4ur 652s # /tmp/tmpqr62k4ur/tmp1d_6jgu3.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqr62k4ur/tmp1d_6jgu3.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # static void 652s # _g_dbus_codegen_marshal_VOID__INT64 ( 652s # GClosure *closure, 652s # GValue *return_value G_GNUC_UNUSED, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint G_GNUC_UNUSED, 652s # void *marshal_data) 652s # { 652s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 652s # (void *data1, 652s # gint64 arg_an_x, 652s # void *data2); 652s # _GDbusCodegenMarshalVoid_Int64Func callback; 652s # GCClosure *cc = (GCClosure*) closure; 652s # void *data1, *data2; 652s # 652s # g_return_if_fail (n_param_values == 2); 652s # 652s # if (G_CCLOSURE_SWAP_DATA (closure)) 652s # { 652s # data1 = closure->data; 652s # data2 = g_value_peek_pointer (param_values + 0); 652s # } 652s # else 652s # { 652s # data1 = g_value_peek_pointer (param_values + 0); 652s # data2 = closure->data; 652s # } 652s # 652s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 652s # (marshal_data ? marshal_data : cc->callback); 652s # 652s # callback (data1, 652s # g_marshal_value_peek_int64 (param_values + 1), 652s # data2); 652s # } 652s # 652s # static void 652s # _g_dbus_codegen_marshal_VOID__UINT64 ( 652s # GClosure *closure, 652s # GValue *return_value G_GNUC_UNUSED, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint G_GNUC_UNUSED, 652s # void *marshal_data) 652s # { 652s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 652s # (void *data1, 652s # guint64 arg_an_t, 652s # void *data2); 652s # _GDbusCodegenMarshalVoid_Uint64Func callback; 652s # GCClosure *cc = (GCClosure*) closure; 652s # void *data1, *data2; 652s # 652s # g_return_if_fail (n_param_values == 2); 652s # 652s # if (G_CCLOSURE_SWAP_DATA (closure)) 652s # { 652s # data1 = closure->data; 652s # data2 = g_value_peek_pointer (param_values + 0); 652s # } 652s # else 652s # { 652s # data1 = g_value_peek_pointer (param_values + 0); 652s # data2 = closure->data; 652s # } 652s # 652s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 652s # (marshal_data ? marshal_data : cc->callback); 652s # 652s # callback (data1, 652s # g_marshal_value_peek_uint64 (param_values + 1), 652s # data2); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "NoArgSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "no-arg-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_b", 652s # (gchar *) "b", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalB", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-b" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_y", 652s # (gchar *) "y", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalY", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-y" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_n", 652s # (gchar *) "n", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalN", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-n" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_q", 652s # (gchar *) "q", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalQ", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-q" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_i", 652s # (gchar *) "i", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalI", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-i" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_u", 652s # (gchar *) "u", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalU", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-u" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_x", 652s # (gchar *) "x", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalX", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-x" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_t", 652s # (gchar *) "t", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalT", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-t" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_d", 652s # (gchar *) "d", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalD", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-d" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_s", 652s # (gchar *) "s", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalS", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-s" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_o", 652s # (gchar *) "o", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalO", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-o" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_g", 652s # (gchar *) "g", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalG", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-g" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_h", 652s # (gchar *) "h", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalH", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-h" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_ay", 652s # (gchar *) "ay", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalAY", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-ay" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_as", 652s # (gchar *) "as", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalAS", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-as" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_ao", 652s # (gchar *) "ao", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalAO", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-ao" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_aay", 652s # (gchar *) "aay", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalAAY", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-aay" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_asv", 652s # (gchar *) "a{sv}", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalASV", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-asv" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__BOOLEAN (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__UCHAR (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__INT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__UINT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__INT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__UINT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__DOUBLE (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__STRING (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__STRING (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__STRING (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VARIANT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__STRING (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__BOXED (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__BOXED (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__BOXED (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VARIANT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 652s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 652s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 652s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 652s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 652s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 652s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 652s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 652s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 652s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 652s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 652s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 652s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 652s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 652s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 652s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 652s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 652s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 652s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::no-arg-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 652s # g_signal_new ("no-arg-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_no_arg_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-b: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_b: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 652s # g_signal_new ("single-arg-signal-b", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_BOOLEAN); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-y: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_y: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 652s # g_signal_new ("single-arg-signal-y", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_UCHAR); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-n: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_n: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 652s # g_signal_new ("single-arg-signal-n", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_INT); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-q: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_q: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 652s # g_signal_new ("single-arg-signal-q", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_UINT); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-i: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_i: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 652s # g_signal_new ("single-arg-signal-i", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_INT); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-u: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_u: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 652s # g_signal_new ("single-arg-signal-u", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_UINT); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-x: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_x: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 652s # g_signal_new ("single-arg-signal-x", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_INT64); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-t: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_t: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 652s # g_signal_new ("single-arg-signal-t", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_UINT64); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-d: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_d: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 652s # g_signal_new ("single-arg-signal-d", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_DOUBLE); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-s: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_s: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 652s # g_signal_new ("single-arg-signal-s", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_STRING); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-o: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_o: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 652s # g_signal_new ("single-arg-signal-o", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_STRING); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-g: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_g: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 652s # g_signal_new ("single-arg-signal-g", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_STRING); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-h: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_h: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 652s # g_signal_new ("single-arg-signal-h", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_VARIANT); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-ay: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_ay: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 652s # g_signal_new ("single-arg-signal-ay", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_STRING); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-as: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_as: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 652s # g_signal_new ("single-arg-signal-as", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_STRV); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-ao: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_ao: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 652s # g_signal_new ("single-arg-signal-ao", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_STRV); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-aay: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_aay: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 652s # g_signal_new ("single-arg-signal-aay", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_STRV); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-asv: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_asv: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 652s # g_signal_new ("single-arg-signal-asv", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_VARIANT); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_no_arg_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "NoArgSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_no_arg_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_b: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_b: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalB" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_b ( 652s # OrgProjectSignalingIface *object, 652s # gboolean arg_an_b) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_y: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_y: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalY" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_y ( 652s # OrgProjectSignalingIface *object, 652s # guchar arg_an_y) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_n: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_n: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalN" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_n ( 652s # OrgProjectSignalingIface *object, 652s # gint16 arg_an_n) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_q: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_q: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalQ" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_q ( 652s # OrgProjectSignalingIface *object, 652s # guint16 arg_an_q) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_i: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_i: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalI" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_i ( 652s # OrgProjectSignalingIface *object, 652s # gint arg_an_i) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_u: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_u: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalU" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_u ( 652s # OrgProjectSignalingIface *object, 652s # guint arg_an_u) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_x: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_x: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalX" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_x ( 652s # OrgProjectSignalingIface *object, 652s # gint64 arg_an_x) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_t: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_t: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalT" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_t ( 652s # OrgProjectSignalingIface *object, 652s # guint64 arg_an_t) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_d: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_d: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalD" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_d ( 652s # OrgProjectSignalingIface *object, 652s # gdouble arg_an_d) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_s: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_s: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalS" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_s ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *arg_an_s) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_o: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_o: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalO" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_o ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *arg_an_o) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_g: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_g: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalG" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_g ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *arg_an_g) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_h: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_h: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalH" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_h ( 652s # OrgProjectSignalingIface *object, 652s # GVariant *arg_an_h) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_ay: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_ay: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalAY" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_ay ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *arg_an_ay) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_as: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_as: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalAS" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_as ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *const *arg_an_as) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_ao: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_ao: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalAO" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_ao ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *const *arg_an_ao) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_aay: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_aay: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalAAY" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_aay ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *const *arg_an_aay) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_asv: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_asv: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalASV" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_asv ( 652s # OrgProjectSignalingIface *object, 652s # GVariant *arg_an_asv) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_no_arg_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 652s # OrgProjectSignalingIface *object, 652s # gboolean arg_an_b) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 652s # arg_an_b)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 652s # OrgProjectSignalingIface *object, 652s # guchar arg_an_y) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 652s # arg_an_y)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 652s # OrgProjectSignalingIface *object, 652s # gint16 arg_an_n) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 652s # arg_an_n)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 652s # OrgProjectSignalingIface *object, 652s # guint16 arg_an_q) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 652s # arg_an_q)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 652s # OrgProjectSignalingIface *object, 652s # gint arg_an_i) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 652s # arg_an_i)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 652s # OrgProjectSignalingIface *object, 652s # guint arg_an_u) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 652s # arg_an_u)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 652s # OrgProjectSignalingIface *object, 652s # gint64 arg_an_x) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 652s # arg_an_x)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 652s # OrgProjectSignalingIface *object, 652s # guint64 arg_an_t) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 652s # arg_an_t)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 652s # OrgProjectSignalingIface *object, 652s # gdouble arg_an_d) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 652s # arg_an_d)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *arg_an_s) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 652s # arg_an_s)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *arg_an_o) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 652s # arg_an_o)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *arg_an_g) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 652s # arg_an_g)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 652s # OrgProjectSignalingIface *object, 652s # GVariant *arg_an_h) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 652s # arg_an_h)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *arg_an_ay) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 652s # arg_an_ay)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *const *arg_an_as) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 652s # arg_an_as)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *const *arg_an_ao) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 652s # arg_an_ao)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *const *arg_an_aay) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 652s # arg_an_aay)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 652s # OrgProjectSignalingIface *object, 652s # GVariant *arg_an_asv) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 652s # arg_an_asv)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 652s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 652s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 652s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 652s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 652s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 652s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 652s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 652s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 652s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 652s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 652s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 652s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 652s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 652s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 652s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 652s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 652s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 652s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmp5jsbw7tn 652s # /tmp/tmp5jsbw7tn/tmpzsw1k8ea.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5jsbw7tn/tmpzsw1k8ea.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.UsefulInterface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectUsefulInterface 652s # * @title: OrgProjectUsefulInterface 652s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 652s # { 652s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.UsefulInterface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-useful-interface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_useful_interface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_useful_interface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_useful_interface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_useful_interface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectUsefulInterface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 652s # */ 652s # 652s # /** 652s # * OrgProjectUsefulInterfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 652s # */ 652s # 652s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectUsefulInterface::simple-signal: 652s # * @object: A #OrgProjectUsefulInterface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_useful_interface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # } 652s # 652s # /** 652s # * org_project_useful_interface_emit_simple_signal: 652s # * @object: A #OrgProjectUsefulInterface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_useful_interface_emit_simple_signal ( 652s # OrgProjectUsefulInterface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectUsefulInterfaceProxy: 652s # * 652s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectUsefulInterfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectUsefulInterfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectUsefulInterfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_useful_interface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 652s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 652s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_useful_interface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_useful_interface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_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); 652s # } 652s # 652s # /** 652s # * org_project_useful_interface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectUsefulInterface * 652s # org_project_useful_interface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_useful_interface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectUsefulInterface * 652s # org_project_useful_interface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_useful_interface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_useful_interface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_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); 652s # } 652s # 652s # /** 652s # * org_project_useful_interface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectUsefulInterface * 652s # org_project_useful_interface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_useful_interface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectUsefulInterface * 652s # org_project_useful_interface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectUsefulInterfaceSkeleton: 652s # * 652s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectUsefulInterfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_useful_interface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_useful_interface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_useful_interface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 652s # { 652s # _org_project_useful_interface_skeleton_handle_method_call, 652s # _org_project_useful_interface_skeleton_handle_get_property, 652s # _org_project_useful_interface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_useful_interface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_useful_interface_on_signal_simple_signal ( 652s # OrgProjectUsefulInterface *object) 652s # { 652s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_useful_interface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 652s # } 652s # 652s # /** 652s # * org_project_useful_interface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectUsefulInterface * 652s # org_project_useful_interface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.OtherIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectOtherIface 652s # * @title: OrgProjectOtherIface 652s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.OtherIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.OtherIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-other-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_other_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_other_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_other_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_other_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectOtherIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectOtherIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.OtherIface. 652s # */ 652s # 652s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectOtherIface::simple-signal: 652s # * @object: A #OrgProjectOtherIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_other_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # } 652s # 652s # /** 652s # * org_project_other_iface_emit_simple_signal: 652s # * @object: A #OrgProjectOtherIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_other_iface_emit_simple_signal ( 652s # OrgProjectOtherIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectOtherIfaceProxy: 652s # * 652s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectOtherIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectOtherIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectOtherIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_other_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_other_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_other_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_other_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_other_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectOtherIface * 652s # org_project_other_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_OTHER_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_other_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectOtherIface * 652s # org_project_other_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_OTHER_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_other_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_other_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_other_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectOtherIface * 652s # org_project_other_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_OTHER_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_other_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectOtherIface * 652s # org_project_other_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_OTHER_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectOtherIfaceSkeleton: 652s # * 652s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectOtherIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectOtherIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectOtherIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_other_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_other_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_other_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 652s # { 652s # _org_project_other_iface_skeleton_handle_method_call, 652s # _org_project_other_iface_skeleton_handle_get_property, 652s # _org_project_other_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_other_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_other_iface_on_signal_simple_signal ( 652s # OrgProjectOtherIface *object) 652s # { 652s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_other_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 652s # } 652s # 652s # /** 652s # * org_project_other_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectOtherIface * 652s # org_project_other_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmp6602e0uy 652s # /tmp/tmp6602e0uy/tmpaeau2pgu.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6602e0uy/tmpaeau2pgu.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.OtherSignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectOtherSignalingIface 652s # * @title: OrgProjectOtherSignalingIface 652s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.OtherSignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-other-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_other_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_other_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_other_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectOtherSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectOtherSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 652s # */ 652s # 652s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectOtherSignalingIface::simple-signal: 652s # * @object: A #OrgProjectOtherSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_other_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # } 652s # 652s # /** 652s # * org_project_other_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectOtherSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_other_signaling_iface_emit_simple_signal ( 652s # OrgProjectOtherSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectOtherSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectOtherSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_other_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_other_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_other_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectOtherSignalingIface * 652s # org_project_other_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_other_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectOtherSignalingIface * 652s # org_project_other_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_other_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_other_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectOtherSignalingIface * 652s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectOtherSignalingIface * 652s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectOtherSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectOtherSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_other_signaling_iface_skeleton_handle_method_call, 652s # _org_project_other_signaling_iface_skeleton_handle_get_property, 652s # _org_project_other_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_other_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_other_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectOtherSignalingIface *object) 652s # { 652s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 652s # } 652s # 652s # /** 652s # * org_project_other_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectOtherSignalingIface * 652s # org_project_other_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmpiakakd8s 652s # /tmp/tmpiakakd8s/tmp4th56n0f.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmp4th56n0f.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_b", 652s # (gchar *) "b", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalB", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-b" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__BOOLEAN (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-b: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_b: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 652s # g_signal_new ("single-arg-signal-b", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_BOOLEAN); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_b: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_b: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalB" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_b ( 652s # OrgProjectSignalingIface *object, 652s # gboolean arg_arg_b) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 652s # OrgProjectSignalingIface *object, 652s # gboolean arg_arg_b) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 652s # arg_arg_b)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # /tmp/tmpiakakd8s/tmpe_5t2ga3.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmpe_5t2ga3.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_y", 652s # (gchar *) "y", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalY", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-y" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__UCHAR (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-y: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_y: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 652s # g_signal_new ("single-arg-signal-y", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_UCHAR); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_y: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_y: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalY" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_y ( 652s # OrgProjectSignalingIface *object, 652s # guchar arg_arg_y) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 652s # OrgProjectSignalingIface *object, 652s # guchar arg_arg_y) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 652s # arg_arg_y)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # /tmp/tmpiakakd8s/tmpv004lwom.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmpv004lwom.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_n", 652s # (gchar *) "n", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalN", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-n" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__INT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-n: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_n: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 652s # g_signal_new ("single-arg-signal-n", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_INT); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_n: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_n: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalN" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_n ( 652s # OrgProjectSignalingIface *object, 652s # gint16 arg_arg_n) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 652s # OrgProjectSignalingIface *object, 652s # gint16 arg_arg_n) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 652s # arg_arg_n)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # /tmp/tmpiakakd8s/tmphzuwphm7.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmphzuwphm7.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_q", 652s # (gchar *) "q", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalQ", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-q" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__UINT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-q: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_q: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 652s # g_signal_new ("single-arg-signal-q", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_UINT); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_q: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_q: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalQ" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_q ( 652s # OrgProjectSignalingIface *object, 652s # guint16 arg_arg_q) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 652s # OrgProjectSignalingIface *object, 652s # guint16 arg_arg_q) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 652s # arg_arg_q)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # /tmp/tmpiakakd8s/tmp6i1iijxc.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmp6i1iijxc.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_i", 652s # (gchar *) "i", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalI", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-i" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__INT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-i: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_i: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 652s # g_signal_new ("single-arg-signal-i", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_INT); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_i: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_i: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalI" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_i ( 652s # OrgProjectSignalingIface *object, 652s # gint arg_arg_i) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 652s # OrgProjectSignalingIface *object, 652s # gint arg_arg_i) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 652s # arg_arg_i)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # /tmp/tmpiakakd8s/tmp54r1tv3_.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmp54r1tv3_.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_u", 652s # (gchar *) "u", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalU", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-u" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__UINT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-u: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_u: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 652s # g_signal_new ("single-arg-signal-u", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_UINT); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_u: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_u: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalU" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_u ( 652s # OrgProjectSignalingIface *object, 652s # guint arg_arg_u) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 652s # OrgProjectSignalingIface *object, 652s # guint arg_arg_u) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 652s # arg_arg_u)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # /tmp/tmpiakakd8s/tmpgw121q1o.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmpgw121q1o.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # static void 652s # _g_dbus_codegen_marshal_VOID__INT64 ( 652s # GClosure *closure, 652s # GValue *return_value G_GNUC_UNUSED, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint G_GNUC_UNUSED, 652s # void *marshal_data) 652s # { 652s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 652s # (void *data1, 652s # gint64 arg_arg_x, 652s # void *data2); 652s # _GDbusCodegenMarshalVoid_Int64Func callback; 652s # GCClosure *cc = (GCClosure*) closure; 652s # void *data1, *data2; 652s # 652s # g_return_if_fail (n_param_values == 2); 652s # 652s # if (G_CCLOSURE_SWAP_DATA (closure)) 652s # { 652s # data1 = closure->data; 652s # data2 = g_value_peek_pointer (param_values + 0); 652s # } 652s # else 652s # { 652s # data1 = g_value_peek_pointer (param_values + 0); 652s # data2 = closure->data; 652s # } 652s # 652s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 652s # (marshal_data ? marshal_data : cc->callback); 652s # 652s # callback (data1, 652s # g_marshal_value_peek_int64 (param_values + 1), 652s # data2); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_x", 652s # (gchar *) "x", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalX", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-x" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-x: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_x: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 652s # g_signal_new ("single-arg-signal-x", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_INT64); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_x: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_x: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalX" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_x ( 652s # OrgProjectSignalingIface *object, 652s # gint64 arg_arg_x) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 652s # OrgProjectSignalingIface *object, 652s # gint64 arg_arg_x) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 652s # arg_arg_x)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # /tmp/tmpiakakd8s/tmp32t4uvzw.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmp32t4uvzw.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # static void 652s # _g_dbus_codegen_marshal_VOID__UINT64 ( 652s # GClosure *closure, 652s # GValue *return_value G_GNUC_UNUSED, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint G_GNUC_UNUSED, 652s # void *marshal_data) 652s # { 652s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 652s # (void *data1, 652s # guint64 arg_arg_t, 652s # void *data2); 652s # _GDbusCodegenMarshalVoid_Uint64Func callback; 652s # GCClosure *cc = (GCClosure*) closure; 652s # void *data1, *data2; 652s # 652s # g_return_if_fail (n_param_values == 2); 652s # 652s # if (G_CCLOSURE_SWAP_DATA (closure)) 652s # { 652s # data1 = closure->data; 652s # data2 = g_value_peek_pointer (param_values + 0); 652s # } 652s # else 652s # { 652s # data1 = g_value_peek_pointer (param_values + 0); 652s # data2 = closure->data; 652s # } 652s # 652s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 652s # (marshal_data ? marshal_data : cc->callback); 652s # 652s # callback (data1, 652s # g_marshal_value_peek_uint64 (param_values + 1), 652s # data2); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_t", 652s # (gchar *) "t", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalT", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-t" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-t: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_t: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 652s # g_signal_new ("single-arg-signal-t", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_UINT64); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_t: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_t: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalT" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_t ( 652s # OrgProjectSignalingIface *object, 652s # guint64 arg_arg_t) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 652s # OrgProjectSignalingIface *object, 652s # guint64 arg_arg_t) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 652s # arg_arg_t)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # /tmp/tmpiakakd8s/tmpgrfv44yp.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmpgrfv44yp.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_d", 652s # (gchar *) "d", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalD", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-d" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__DOUBLE (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-d: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_d: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 652s # g_signal_new ("single-arg-signal-d", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_DOUBLE); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_d: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_d: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalD" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_d ( 652s # OrgProjectSignalingIface *object, 652s # gdouble arg_arg_d) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 652s # OrgProjectSignalingIface *object, 652s # gdouble arg_arg_d) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 652s # arg_arg_d)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # /tmp/tmpiakakd8s/tmpd9g1o6f5.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmpd9g1o6f5.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_s", 652s # (gchar *) "s", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalS", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-s" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__STRING (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-s: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_s: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 652s # g_signal_new ("single-arg-signal-s", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_STRING); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_s: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_s: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalS" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_s ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *arg_arg_s) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *arg_arg_s) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 652s # arg_arg_s)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # /tmp/tmpiakakd8s/tmpf7vugl9l.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmpf7vugl9l.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_o", 652s # (gchar *) "o", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalO", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-o" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__STRING (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-o: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_o: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 652s # g_signal_new ("single-arg-signal-o", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_STRING); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_o: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_o: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalO" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_o ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *arg_arg_o) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *arg_arg_o) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 652s # arg_arg_o)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # /tmp/tmpiakakd8s/tmp9n60t2fm.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmp9n60t2fm.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_g", 652s # (gchar *) "g", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalG", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-g" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__STRING (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-g: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_g: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 652s # g_signal_new ("single-arg-signal-g", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_STRING); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_g: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_g: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalG" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_g ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *arg_arg_g) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *arg_arg_g) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 652s # arg_arg_g)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # /tmp/tmpiakakd8s/tmplq88ymtq.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmplq88ymtq.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_h", 652s # (gchar *) "h", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalH", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-h" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VARIANT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-h: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_h: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 652s # g_signal_new ("single-arg-signal-h", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_VARIANT); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_h: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_h: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalH" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_h ( 652s # OrgProjectSignalingIface *object, 652s # GVariant *arg_arg_h) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 652s # OrgProjectSignalingIface *object, 652s # GVariant *arg_arg_h) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 652s # arg_arg_h)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # /tmp/tmpiakakd8s/tmp2r__7q33.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmp2r__7q33.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_ay", 652s # (gchar *) "ay", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalAy", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-ay" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__STRING (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-ay: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_ay: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 652s # g_signal_new ("single-arg-signal-ay", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_STRING); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_ay: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_ay: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalAy" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_ay ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *arg_arg_ay) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *arg_arg_ay) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 652s # arg_arg_ay)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # /tmp/tmpiakakd8s/tmpot1c9axa.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmpot1c9axa.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_as", 652s # (gchar *) "as", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalAs", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-as" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__BOXED (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-as: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_as: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 652s # g_signal_new ("single-arg-signal-as", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_STRV); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_as: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_as: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalAs" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_as ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *const *arg_arg_as) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *const *arg_arg_as) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 652s # arg_arg_as)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # /tmp/tmpiakakd8s/tmpabn20qnb.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmpabn20qnb.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_ao", 652s # (gchar *) "ao", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalAo", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-ao" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__BOXED (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-ao: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_ao: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 652s # g_signal_new ("single-arg-signal-ao", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_STRV); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_ao: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_ao: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalAo" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_ao ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *const *arg_arg_ao) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *const *arg_arg_ao) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 652s # arg_arg_ao)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # /tmp/tmpiakakd8s/tmptq8pg63v.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmptq8pg63v.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_aay", 652s # (gchar *) "aay", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalAay", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-aay" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__BOXED (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-aay: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_aay: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 652s # g_signal_new ("single-arg-signal-aay", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_STRV); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_aay: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_aay: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalAay" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_aay ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *const *arg_arg_aay) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *const *arg_arg_aay) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 652s # arg_arg_aay)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # /tmp/tmpiakakd8s/tmpmiotlosi.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakakd8s/tmpmiotlosi.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_asv", 652s # (gchar *) "a{sv}", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalAsv", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-asv" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VARIANT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-asv: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_asv: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 652s # g_signal_new ("single-arg-signal-asv", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_VARIANT); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_asv: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_asv: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalAsv" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_asv ( 652s # OrgProjectSignalingIface *object, 652s # GVariant *arg_arg_asv) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 652s # OrgProjectSignalingIface *object, 652s # GVariant *arg_arg_asv) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 652s # arg_arg_asv)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmpl84zhunw 652s # /tmp/tmpl84zhunw/tmphti40tyw.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl84zhunw/tmphti40tyw.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # static void 652s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 652s # GClosure *closure, 652s # GValue *return_value G_GNUC_UNUSED, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint G_GNUC_UNUSED, 652s # void *marshal_data) 652s # { 652s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 652s # (void *data1, 652s # gboolean arg_an_b, 652s # guchar arg_an_y, 652s # gint16 arg_an_n, 652s # guint16 arg_an_q, 652s # gint arg_an_i, 652s # guint arg_an_u, 652s # gint64 arg_an_x, 652s # guint64 arg_an_t, 652s # gdouble arg_an_d, 652s # const gchar *arg_an_s, 652s # const gchar *arg_an_o, 652s # const gchar *arg_an_g, 652s # GVariant *arg_an_h, 652s # const gchar *arg_an_ay, 652s # const gchar *const *arg_an_as, 652s # const gchar *const *arg_an_ao, 652s # const gchar *const *arg_an_aay, 652s # GVariant *arg_an_asv, 652s # void *data2); 652s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 652s # GCClosure *cc = (GCClosure*) closure; 652s # void *data1, *data2; 652s # 652s # g_return_if_fail (n_param_values == 19); 652s # 652s # if (G_CCLOSURE_SWAP_DATA (closure)) 652s # { 652s # data1 = closure->data; 652s # data2 = g_value_peek_pointer (param_values + 0); 652s # } 652s # else 652s # { 652s # data1 = g_value_peek_pointer (param_values + 0); 652s # data2 = closure->data; 652s # } 652s # 652s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 652s # (marshal_data ? marshal_data : cc->callback); 652s # 652s # callback (data1, 652s # g_marshal_value_peek_boolean (param_values + 1), 652s # g_marshal_value_peek_uchar (param_values + 2), 652s # g_marshal_value_peek_int (param_values + 3), 652s # g_marshal_value_peek_uint (param_values + 4), 652s # g_marshal_value_peek_int (param_values + 5), 652s # g_marshal_value_peek_uint (param_values + 6), 652s # g_marshal_value_peek_int64 (param_values + 7), 652s # g_marshal_value_peek_uint64 (param_values + 8), 652s # g_marshal_value_peek_double (param_values + 9), 652s # g_marshal_value_peek_string (param_values + 10), 652s # g_marshal_value_peek_string (param_values + 11), 652s # g_marshal_value_peek_string (param_values + 12), 652s # g_marshal_value_peek_variant (param_values + 13), 652s # g_marshal_value_peek_string (param_values + 14), 652s # g_marshal_value_peek_boxed (param_values + 15), 652s # g_marshal_value_peek_boxed (param_values + 16), 652s # g_marshal_value_peek_boxed (param_values + 17), 652s # g_marshal_value_peek_variant (param_values + 18), 652s # data2); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_b", 652s # (gchar *) "b", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_y", 652s # (gchar *) "y", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_n", 652s # (gchar *) "n", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_q", 652s # (gchar *) "q", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_i", 652s # (gchar *) "i", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_u", 652s # (gchar *) "u", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_x", 652s # (gchar *) "x", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_t", 652s # (gchar *) "t", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_d", 652s # (gchar *) "d", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_s", 652s # (gchar *) "s", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_o", 652s # (gchar *) "o", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_g", 652s # (gchar *) "g", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_h", 652s # (gchar *) "h", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_ay", 652s # (gchar *) "ay", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_as", 652s # (gchar *) "as", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_ao", 652s # (gchar *) "ao", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_aay", 652s # (gchar *) "aay", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_asv", 652s # (gchar *) "a{sv}", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SignalWithManyArgs", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 652s # NULL 652s # }, 652s # "signal-with-many-args" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::signal-with-many-args: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_b: Argument. 652s # * @arg_an_y: Argument. 652s # * @arg_an_n: Argument. 652s # * @arg_an_q: Argument. 652s # * @arg_an_i: Argument. 652s # * @arg_an_u: Argument. 652s # * @arg_an_x: Argument. 652s # * @arg_an_t: Argument. 652s # * @arg_an_d: Argument. 652s # * @arg_an_s: Argument. 652s # * @arg_an_o: Argument. 652s # * @arg_an_g: Argument. 652s # * @arg_an_h: Argument. 652s # * @arg_an_ay: Argument. 652s # * @arg_an_as: Argument. 652s # * @arg_an_ao: Argument. 652s # * @arg_an_aay: Argument. 652s # * @arg_an_asv: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 652s # g_signal_new ("signal-with-many-args", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 652s # G_TYPE_NONE, 652s # 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); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_signal_with_many_args: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_b: Argument to pass with the signal. 652s # * @arg_an_y: Argument to pass with the signal. 652s # * @arg_an_n: Argument to pass with the signal. 652s # * @arg_an_q: Argument to pass with the signal. 652s # * @arg_an_i: Argument to pass with the signal. 652s # * @arg_an_u: Argument to pass with the signal. 652s # * @arg_an_x: Argument to pass with the signal. 652s # * @arg_an_t: Argument to pass with the signal. 652s # * @arg_an_d: Argument to pass with the signal. 652s # * @arg_an_s: Argument to pass with the signal. 652s # * @arg_an_o: Argument to pass with the signal. 652s # * @arg_an_g: Argument to pass with the signal. 652s # * @arg_an_h: Argument to pass with the signal. 652s # * @arg_an_ay: Argument to pass with the signal. 652s # * @arg_an_as: Argument to pass with the signal. 652s # * @arg_an_ao: Argument to pass with the signal. 652s # * @arg_an_aay: Argument to pass with the signal. 652s # * @arg_an_asv: Argument to pass with the signal. 652s # * 652s # * Emits the "SignalWithManyArgs" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_signal_with_many_args ( 652s # OrgProjectSignalingIface *object, 652s # gboolean arg_an_b, 652s # guchar arg_an_y, 652s # gint16 arg_an_n, 652s # guint16 arg_an_q, 652s # gint arg_an_i, 652s # guint arg_an_u, 652s # gint64 arg_an_x, 652s # guint64 arg_an_t, 652s # gdouble arg_an_d, 652s # const gchar *arg_an_s, 652s # const gchar *arg_an_o, 652s # const gchar *arg_an_g, 652s # GVariant *arg_an_h, 652s # const gchar *arg_an_ay, 652s # const gchar *const *arg_an_as, 652s # const gchar *const *arg_an_ao, 652s # const gchar *const *arg_an_aay, 652s # GVariant *arg_an_asv) 652s # { 652s # 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); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 652s # OrgProjectSignalingIface *object, 652s # gboolean arg_an_b, 652s # guchar arg_an_y, 652s # gint16 arg_an_n, 652s # guint16 arg_an_q, 652s # gint arg_an_i, 652s # guint arg_an_u, 652s # gint64 arg_an_x, 652s # guint64 arg_an_t, 652s # gdouble arg_an_d, 652s # const gchar *arg_an_s, 652s # const gchar *arg_an_o, 652s # const gchar *arg_an_g, 652s # GVariant *arg_an_h, 652s # const gchar *arg_an_ay, 652s # const gchar *const *arg_an_as, 652s # const gchar *const *arg_an_ao, 652s # const gchar *const *arg_an_aay, 652s # GVariant *arg_an_asv) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 652s # arg_an_b, 652s # arg_an_y, 652s # arg_an_n, 652s # arg_an_q, 652s # arg_an_i, 652s # arg_an_u, 652s # arg_an_x, 652s # arg_an_t, 652s # arg_an_d, 652s # arg_an_s, 652s # arg_an_o, 652s # arg_an_g, 652s # arg_an_h, 652s # arg_an_ay, 652s # arg_an_as, 652s # arg_an_ao, 652s # arg_an_aay, 652s # arg_an_asv)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # Error: 652s ok 25 __main__.TestCodegen.test_generate_valid_docbook 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmp06imbyo5 652s # /tmp/tmp06imbyo5/tmpqitoqqe_.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp06imbyo5/tmpqitoqqe_.xml', '--generate-docbook', 'test'] 652s # Return code: 0 652s # Output: 652s # 652s # Error: 652s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmprc205dtk 652s # /tmp/tmprc205dtk/tmp4ys8mltf.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprc205dtk/tmp4ys8mltf.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 652s # Return code: 1 652s # Output: 652s # 652s # Error: 652s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 652s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmpcok2mz75 652s # /tmp/tmpcok2mz75/tmpk7bfqj_6.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcok2mz75/tmpk7bfqj_6.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s # Error: 652s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmp6bab278l 652s # /tmp/tmp6bab278l/tmpxvcxa8kt.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6bab278l/tmpxvcxa8kt.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 652s # Return code: 1 652s # Output: 652s # 652s # Error: 652s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 652s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmp3v9_vyb2 652s # /tmp/tmp3v9_vyb2/tmphehwvdo8.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3v9_vyb2/tmphehwvdo8.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s # Error: 652s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmpi4i3xuvv 652s # /tmp/tmpi4i3xuvv/tmpu1rgw6gb.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi4i3xuvv/tmpu1rgw6gb.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s # Error: 652s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmpmr952zg0 652s # /tmp/tmpmr952zg0/tmp3th0jzd1.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmr952zg0/tmp3th0jzd1.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 652s # Return code: 1 652s # Output: 652s # 652s # Error: 652s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 652s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmpq5zggfvx 652s # /tmp/tmpq5zggfvx/tmpggk_ykyw.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq5zggfvx/tmpggk_ykyw.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s # Error: 652s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmpi8ttemze 652s # /tmp/tmpi8ttemze/tmpr6pjgahx.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi8ttemze/tmpr6pjgahx.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 652s # Return code: 1 652s # Output: 652s # 652s # Error: 652s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 652s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmpje1bnzsn 652s # /tmp/tmpje1bnzsn/tmpkq2jp362.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpje1bnzsn/tmpkq2jp362.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s # Error: 652s ok 35 __main__.TestCodegen.test_help 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmpkqawhj08 652s # Running: ['/usr/bin/gdbus-codegen', '--help'] 652s # Return code: 0 652s # Output: 652s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 652s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 652s # [--c-generate-autocleanup {none,objects,all}] 652s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 652s # [--generate-rst OUTFILES] [--pragma-once] 652s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 652s # [--glib-min-required VERSION] 652s # [--glib-max-allowed VERSION] 652s # [--symbol-decorator SYMBOL_DECORATOR] 652s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 652s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 652s # [--generate-c-code OUTFILES | --header | --body | 652s # --interface-info-header | --interface-info-body] 652s # [--output FILE | --output-directory OUTDIR] 652s # FILE [FILE ...] 652s # 652s # D-Bus code and documentation generator 652s # 652s # positional arguments: 652s # FILE D-Bus introspection XML file 652s # 652s # options: 652s # -h, --help show this help message and exit 652s # --interface-prefix PREFIX 652s # String to strip from D-Bus interface names for code 652s # and docs 652s # --c-namespace NAMESPACE 652s # The namespace to use for generated C code 652s # --c-generate-object-manager 652s # Generate a GDBusObjectManagerClient subclass when 652s # generating C code 652s # --c-generate-autocleanup {none,objects,all} 652s # Generate autocleanup support 652s # --generate-docbook OUTFILES 652s # Generate Docbook in OUTFILES-org.Project.IFace.xml 652s # --generate-md OUTFILES 652s # Generate Markdown in OUTFILES-org.Project.IFace.md 652s # --generate-rst OUTFILES 652s # Generate reStructuredText in OUTFILES- 652s # org.Project.IFace.rst 652s # --pragma-once Use "pragma once" as the inclusion guard 652s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 652s # Add annotation (may be used several times) 652s # --glib-min-required VERSION 652s # Minimum version of GLib to be supported by the 652s # outputted code (default: 2.30) 652s # --glib-max-allowed VERSION 652s # Maximum version of GLib to be used by the outputted 652s # code (default: current GLib version) 652s # --symbol-decorator SYMBOL_DECORATOR 652s # Macro used to decorate a symbol in the outputted 652s # header, possibly to export symbols 652s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 652s # Additional header required for decorator specified by 652s # --symbol-decorator 652s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 652s # Additional define required for decorator specified by 652s # --symbol-decorator 652s # --generate-c-code OUTFILES 652s # Generate C code in OUTFILES.[ch] 652s # --header Generate C headers 652s # --body Generate C code 652s # --interface-info-header 652s # Generate GDBusInterfaceInfo C header 652s # --interface-info-body 652s # Generate GDBusInterfaceInfo C code 652s # --output FILE Write output into the specified file 652s # --output-directory OUTDIR 652s # Location to output generated files 652s # Error: 652s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmpjrkwyt72 652s # /tmp/tmpjrkwyt72/tmp69ifdf10.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjrkwyt72/tmp69ifdf10.xml', '--generate-rst', 'test'] 652s # Return code: 0 652s # Output: 652s # 652s # Error: 652s # 652s # /tmp/tmpjrkwyt72/tmpt78u5qot.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjrkwyt72/tmpt78u5qot.xml', '--generate-md', 'test'] 652s # Return code: 0 652s # Output: 652s # 652s # Error: 652s # 652s # /tmp/tmpjrkwyt72/tmpddpi0us8.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjrkwyt72/tmpddpi0us8.xml', '--generate-docbook', 'test'] 652s # Return code: 0 652s # Output: 652s # 652s # Error: 652s ok 37 __main__.TestCodegen.test_no_args 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmpu0aum9dx 652s # Running: ['/usr/bin/gdbus-codegen'] 652s # Return code: 2 652s # Output: 652s # 652s # Error: 652s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 652s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 652s # [--c-generate-autocleanup {none,objects,all}] 652s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 652s # [--generate-rst OUTFILES] [--pragma-once] 652s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 652s # [--glib-min-required VERSION] 652s # [--glib-max-allowed VERSION] 652s # [--symbol-decorator SYMBOL_DECORATOR] 652s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 652s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 652s # [--generate-c-code OUTFILES | --header | --body | 652s # --interface-info-header | --interface-info-body] 652s # [--output FILE | --output-directory OUTDIR] 652s # FILE [FILE ...] 652s # gdbus-codegen: error: the following arguments are required: FILE 652s ok 38 __main__.TestCodegen.test_reproducible 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmpn7jgybdk 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn7jgybdk/tmppgsicwr31.xml', '/tmp/tmpn7jgybdk/tmpb44bd1t72.xml', '--output', '-', '--header'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # /* Declarations for org.project.Bar.Frobnicator */ 652s # 652s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 652s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 652s # 652s # struct _OrgProjectBarFrobnicator; 652s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 652s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 652s # 652s # struct _OrgProjectBarFrobnicatorIface 652s # { 652s # GTypeInterface parent_iface; 652s # 652s # gboolean (*handle_random_method) ( 652s # OrgProjectBarFrobnicator *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # }; 652s # 652s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 652s # 652s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 652s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 652s # 652s # 652s # /* D-Bus method call completion functions: */ 652s # void org_project_bar_frobnicator_complete_random_method ( 652s # OrgProjectBarFrobnicator *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # 652s # 652s # /* D-Bus method calls: */ 652s # void org_project_bar_frobnicator_call_random_method ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 652s # 652s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 652s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 652s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 652s # 652s # struct _OrgProjectBarFrobnicatorProxy 652s # { 652s # /*< private >*/ 652s # GDBusProxy parent_instance; 652s # OrgProjectBarFrobnicatorProxyPrivate *priv; 652s # }; 652s # 652s # struct _OrgProjectBarFrobnicatorProxyClass 652s # { 652s # GDBusProxyClass parent_class; 652s # }; 652s # 652s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 652s # #endif 652s # 652s # void org_project_bar_frobnicator_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void org_project_bar_frobnicator_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 652s # 652s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 652s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 652s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 652s # 652s # struct _OrgProjectBarFrobnicatorSkeleton 652s # { 652s # /*< private >*/ 652s # GDBusInterfaceSkeleton parent_instance; 652s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 652s # }; 652s # 652s # struct _OrgProjectBarFrobnicatorSkeletonClass 652s # { 652s # GDBusInterfaceSkeletonClass parent_class; 652s # }; 652s # 652s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 652s # #endif 652s # 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # /* Declarations for com.acme.Coyote */ 652s # 652s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 652s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 652s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 652s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 652s # 652s # struct _ComAcmeCoyote; 652s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 652s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 652s # 652s # struct _ComAcmeCoyoteIface 652s # { 652s # GTypeInterface parent_iface; 652s # 652s # 652s # 652s # gboolean (*handle_attack) ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # gboolean (*handle_run) ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # gboolean (*handle_sleep) ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # const gchar * (*get_mood) (ComAcmeCoyote *object); 652s # 652s # void (*surprised) ( 652s # ComAcmeCoyote *object); 652s # 652s # }; 652s # 652s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 652s # 652s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 652s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 652s # 652s # 652s # /* D-Bus method call completion functions: */ 652s # void com_acme_coyote_complete_run ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # void com_acme_coyote_complete_sleep ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # void com_acme_coyote_complete_attack ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # 652s # 652s # /* D-Bus signal emissions functions: */ 652s # void com_acme_coyote_emit_surprised ( 652s # ComAcmeCoyote *object); 652s # 652s # 652s # 652s # /* D-Bus method calls: */ 652s # void com_acme_coyote_call_run ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean com_acme_coyote_call_run_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean com_acme_coyote_call_run_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void com_acme_coyote_call_sleep ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean com_acme_coyote_call_sleep_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean com_acme_coyote_call_sleep_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void com_acme_coyote_call_attack ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean com_acme_coyote_call_attack_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean com_acme_coyote_call_attack_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # 652s # /* D-Bus property accessors: */ 652s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 652s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 652s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 652s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 652s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 652s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 652s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 652s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 652s # 652s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 652s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 652s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 652s # 652s # struct _ComAcmeCoyoteProxy 652s # { 652s # /*< private >*/ 652s # GDBusProxy parent_instance; 652s # ComAcmeCoyoteProxyPrivate *priv; 652s # }; 652s # 652s # struct _ComAcmeCoyoteProxyClass 652s # { 652s # GDBusProxyClass parent_class; 652s # }; 652s # 652s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 652s # #endif 652s # 652s # void com_acme_coyote_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void com_acme_coyote_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 652s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 652s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 652s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 652s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 652s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 652s # 652s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 652s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 652s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 652s # 652s # struct _ComAcmeCoyoteSkeleton 652s # { 652s # /*< private >*/ 652s # GDBusInterfaceSkeleton parent_instance; 652s # ComAcmeCoyoteSkeletonPrivate *priv; 652s # }; 652s # 652s # struct _ComAcmeCoyoteSkeletonClass 652s # { 652s # GDBusInterfaceSkeletonClass parent_class; 652s # }; 652s # 652s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 652s # #endif 652s # 652s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s # Error: 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn7jgybdk/tmpb44bd1t72.xml', '/tmp/tmpn7jgybdk/tmppgsicwr31.xml', '--output', '-', '--header'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # /* Declarations for org.project.Bar.Frobnicator */ 652s # 652s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 652s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 652s # 652s # struct _OrgProjectBarFrobnicator; 652s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 652s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 652s # 652s # struct _OrgProjectBarFrobnicatorIface 652s # { 652s # GTypeInterface parent_iface; 652s # 652s # gboolean (*handle_random_method) ( 652s # OrgProjectBarFrobnicator *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # }; 652s # 652s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 652s # 652s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 652s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 652s # 652s # 652s # /* D-Bus method call completion functions: */ 652s # void org_project_bar_frobnicator_complete_random_method ( 652s # OrgProjectBarFrobnicator *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # 652s # 652s # /* D-Bus method calls: */ 652s # void org_project_bar_frobnicator_call_random_method ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 652s # 652s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 652s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 652s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 652s # 652s # struct _OrgProjectBarFrobnicatorProxy 652s # { 652s # /*< private >*/ 652s # GDBusProxy parent_instance; 652s # OrgProjectBarFrobnicatorProxyPrivate *priv; 652s # }; 652s # 652s # struct _OrgProjectBarFrobnicatorProxyClass 652s # { 652s # GDBusProxyClass parent_class; 652s # }; 652s # 652s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 652s # #endif 652s # 652s # void org_project_bar_frobnicator_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void org_project_bar_frobnicator_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 652s # 652s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 652s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 652s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 652s # 652s # struct _OrgProjectBarFrobnicatorSkeleton 652s # { 652s # /*< private >*/ 652s # GDBusInterfaceSkeleton parent_instance; 652s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 652s # }; 652s # 652s # struct _OrgProjectBarFrobnicatorSkeletonClass 652s # { 652s # GDBusInterfaceSkeletonClass parent_class; 652s # }; 652s # 652s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 652s # #endif 652s # 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # /* Declarations for com.acme.Coyote */ 652s # 652s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 652s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 652s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 652s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 652s # 652s # struct _ComAcmeCoyote; 652s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 652s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 652s # 652s # struct _ComAcmeCoyoteIface 652s # { 652s # GTypeInterface parent_iface; 652s # 652s # 652s # 652s # gboolean (*handle_attack) ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # gboolean (*handle_run) ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # gboolean (*handle_sleep) ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # const gchar * (*get_mood) (ComAcmeCoyote *object); 652s # 652s # void (*surprised) ( 652s # ComAcmeCoyote *object); 652s # 652s # }; 652s # 652s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 652s # 652s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 652s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 652s # 652s # 652s # /* D-Bus method call completion functions: */ 652s # void com_acme_coyote_complete_run ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # void com_acme_coyote_complete_sleep ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # void com_acme_coyote_complete_attack ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # 652s # 652s # /* D-Bus signal emissions functions: */ 652s # void com_acme_coyote_emit_surprised ( 652s # ComAcmeCoyote *object); 652s # 652s # 652s # 652s # /* D-Bus method calls: */ 652s # void com_acme_coyote_call_run ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean com_acme_coyote_call_run_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean com_acme_coyote_call_run_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void com_acme_coyote_call_sleep ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean com_acme_coyote_call_sleep_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean com_acme_coyote_call_sleep_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void com_acme_coyote_call_attack ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean com_acme_coyote_call_attack_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean com_acme_coyote_call_attack_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # 652s # /* D-Bus property accessors: */ 652s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 652s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 652s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 652s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 652s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 652s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 652s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 652s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 652s # 652s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 652s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 652s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 652s # 652s # struct _ComAcmeCoyoteProxy 652s # { 652s # /*< private >*/ 652s # GDBusProxy parent_instance; 652s # ComAcmeCoyoteProxyPrivate *priv; 652s # }; 652s # 652s # struct _ComAcmeCoyoteProxyClass 652s # { 652s # GDBusProxyClass parent_class; 652s # }; 652s # 652s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 652s # #endif 652s # 652s # void com_acme_coyote_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void com_acme_coyote_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 652s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 652s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 652s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 652s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 652s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 652s # 652s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 652s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 652s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 652s # 652s # struct _ComAcmeCoyoteSkeleton 652s # { 652s # /*< private >*/ 652s # GDBusInterfaceSkeleton parent_instance; 652s # ComAcmeCoyoteSkeletonPrivate *priv; 652s # }; 652s # 652s # struct _ComAcmeCoyoteSkeletonClass 652s # { 652s # GDBusInterfaceSkeletonClass parent_class; 652s # }; 652s # 652s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 652s # #endif 652s # 652s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s # Error: 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn7jgybdk/tmppgsicwr31.xml', '/tmp/tmpn7jgybdk/tmpb44bd1t72.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # static void 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint G_GNUC_UNUSED, 652s # void *marshal_data) 652s # { 652s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 652s # (void *data1, 652s # GDBusMethodInvocation *arg_method_invocation, 652s # void *data2); 652s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 652s # GCClosure *cc = (GCClosure*) closure; 652s # void *data1, *data2; 652s # gboolean v_return; 652s # 652s # g_return_if_fail (return_value != NULL); 652s # g_return_if_fail (n_param_values == 2); 652s # 652s # if (G_CCLOSURE_SWAP_DATA (closure)) 652s # { 652s # data1 = closure->data; 652s # data2 = g_value_peek_pointer (param_values + 0); 652s # } 652s # else 652s # { 652s # data1 = g_value_peek_pointer (param_values + 0); 652s # data2 = closure->data; 652s # } 652s # 652s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 652s # (marshal_data ? marshal_data : cc->callback); 652s # 652s # v_return = 652s # callback (data1, 652s # g_marshal_value_peek_object (param_values + 1), 652s # data2); 652s # 652s # g_value_set_boolean (return_value, v_return); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.Bar.Frobnicator 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectBarFrobnicator 652s # * @title: OrgProjectBarFrobnicator 652s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 652s # */ 652s # 652s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 652s # 652s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 652s # { 652s # { 652s # -1, 652s # (gchar *) "RandomMethod", 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "handle-random-method", 652s # FALSE 652s # }; 652s # 652s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 652s # { 652s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.Bar.Frobnicator", 652s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-bar-frobnicator", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_bar_frobnicator_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_bar_frobnicator_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_bar_frobnicator_method_marshal_random_method ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectBarFrobnicator: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 652s # */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorIface: 652s # * @parent_iface: The parent interface. 652s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 652s # */ 652s # 652s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 652s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 652s # { 652s # /* GObject signals for incoming D-Bus method calls: */ 652s # /** 652s # * OrgProjectBarFrobnicator::handle-random-method: 652s # * @object: A #OrgProjectBarFrobnicator. 652s # * @invocation: A #GDBusMethodInvocation. 652s # * 652s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # g_signal_new ("handle-random-method", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 652s # g_signal_accumulator_true_handled, 652s # NULL, 652s # org_project_bar_frobnicator_method_marshal_random_method, 652s # G_TYPE_BOOLEAN, 652s # 1, 652s # G_TYPE_DBUS_METHOD_INVOCATION); 652s # 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_call_random_method: 652s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 652s # * 652s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 652s # */ 652s # void 652s # org_project_bar_frobnicator_call_random_method ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 652s # "RandomMethod", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # callback, 652s # user_data); 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_call_random_method_finish: 652s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # org_project_bar_frobnicator_call_random_method_finish ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_call_random_method_sync: 652s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # org_project_bar_frobnicator_call_random_method_sync ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 652s # "RandomMethod", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_complete_random_method: 652s # * @object: A #OrgProjectBarFrobnicator. 652s # * @invocation: (transfer full): A #GDBusMethodInvocation. 652s # * 652s # * 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. 652s # * 652s # * This method will free @invocation, you cannot use it afterwards. 652s # */ 652s # void 652s # org_project_bar_frobnicator_complete_random_method ( 652s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 652s # GDBusMethodInvocation *invocation) 652s # { 652s # g_dbus_method_invocation_return_value (invocation, 652s # g_variant_new ("()")); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorProxy: 652s # * 652s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectBarFrobnicatorProxy. 652s # */ 652s # 652s # struct _OrgProjectBarFrobnicatorProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 652s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 652s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_bar_frobnicator_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_bar_frobnicator_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorSkeleton: 652s # * 652s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 652s # */ 652s # 652s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 652s # { 652s # _org_project_bar_frobnicator_skeleton_handle_method_call, 652s # _org_project_bar_frobnicator_skeleton_handle_get_property, 652s # _org_project_bar_frobnicator_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_bar_frobnicator_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface com.acme.Coyote 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:ComAcmeCoyote 652s # * @title: ComAcmeCoyote 652s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 652s # * 652s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _COM_ACME_COYOTE_SURPRISED, 652s # }; 652s # 652s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 652s # 652s # /* ---- Introspection data for com.acme.Coyote ---- */ 652s # 652s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Run", 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "handle-run", 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Sleep", 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "handle-sleep", 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Attack", 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "handle-attack", 652s # FALSE 652s # }; 652s # 652s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 652s # { 652s # &_com_acme_coyote_method_info_run.parent_struct, 652s # &_com_acme_coyote_method_info_sleep.parent_struct, 652s # &_com_acme_coyote_method_info_attack.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Surprised", 652s # NULL, 652s # NULL 652s # }, 652s # "surprised" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 652s # { 652s # &_com_acme_coyote_signal_info_surprised.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Mood", 652s # (gchar *) "s", 652s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 652s # NULL 652s # }, 652s # "mood", 652s # FALSE, 652s # TRUE 652s # }; 652s # 652s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 652s # { 652s # &_com_acme_coyote_property_info_mood.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "com.acme.Coyote", 652s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 652s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 652s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 652s # NULL 652s # }, 652s # "com-acme-coyote", 652s # }; 652s # 652s # 652s # /** 652s # * com_acme_coyote_interface_info: 652s # * 652s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # com_acme_coyote_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 652s # { 652s # g_object_class_override_property (klass, property_id_begin++, "mood"); 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # com_acme_coyote_signal_marshal_surprised ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # com_acme_coyote_method_marshal_run ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # com_acme_coyote_method_marshal_sleep ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # com_acme_coyote_method_marshal_attack ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * ComAcmeCoyote: 652s # * 652s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 652s # */ 652s # 652s # /** 652s # * ComAcmeCoyoteIface: 652s # * @parent_iface: The parent interface. 652s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 652s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 652s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 652s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 652s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 652s # * 652s # * Virtual table for the D-Bus interface com.acme.Coyote. 652s # */ 652s # 652s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 652s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 652s # 652s # static void 652s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 652s # { 652s # /* GObject signals for incoming D-Bus method calls: */ 652s # /** 652s # * ComAcmeCoyote::handle-run: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: A #GDBusMethodInvocation. 652s # * 652s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # g_signal_new ("handle-run", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 652s # g_signal_accumulator_true_handled, 652s # NULL, 652s # com_acme_coyote_method_marshal_run, 652s # G_TYPE_BOOLEAN, 652s # 1, 652s # G_TYPE_DBUS_METHOD_INVOCATION); 652s # 652s # /** 652s # * ComAcmeCoyote::handle-sleep: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: A #GDBusMethodInvocation. 652s # * 652s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # g_signal_new ("handle-sleep", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 652s # g_signal_accumulator_true_handled, 652s # NULL, 652s # com_acme_coyote_method_marshal_sleep, 652s # G_TYPE_BOOLEAN, 652s # 1, 652s # G_TYPE_DBUS_METHOD_INVOCATION); 652s # 652s # /** 652s # * ComAcmeCoyote::handle-attack: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: A #GDBusMethodInvocation. 652s # * 652s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # g_signal_new ("handle-attack", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 652s # g_signal_accumulator_true_handled, 652s # NULL, 652s # com_acme_coyote_method_marshal_attack, 652s # G_TYPE_BOOLEAN, 652s # 1, 652s # G_TYPE_DBUS_METHOD_INVOCATION); 652s # 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * ComAcmeCoyote::surprised: 652s # * @object: A #ComAcmeCoyote. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 652s # g_signal_new ("surprised", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 652s # NULL, 652s # NULL, 652s # com_acme_coyote_signal_marshal_surprised, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /* GObject properties for D-Bus properties: */ 652s # /** 652s # * ComAcmeCoyote:mood: 652s # * 652s # * Represents the D-Bus property "Mood". 652s # * 652s # * 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. 652s # */ 652s # g_object_interface_install_property (iface, 652s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_get_mood: (skip) 652s # * @object: A #ComAcmeCoyote. 652s # * 652s # * Gets the value of the "Mood" D-Bus property. 652s # * 652s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # const gchar * 652s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 652s # { 652s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 652s # 652s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_dup_mood: (skip) 652s # * @object: A #ComAcmeCoyote. 652s # * 652s # * Gets a copy of the "Mood" D-Bus property. 652s # * 652s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 652s # * 652s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 652s # */ 652s # gchar * 652s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 652s # { 652s # gchar *value; 652s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 652s # return value; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_set_mood: (skip) 652s # * @object: A #ComAcmeCoyote. 652s # * @value: The value to set. 652s # * 652s # * Sets the "Mood" D-Bus property to @value. 652s # * 652s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 652s # */ 652s # void 652s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 652s # { 652s # g_object_set (G_OBJECT (object), "mood", value, NULL); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_emit_surprised: 652s # * @object: A #ComAcmeCoyote. 652s # * 652s # * Emits the "Surprised" D-Bus signal. 652s # */ 652s # void 652s # com_acme_coyote_emit_surprised ( 652s # ComAcmeCoyote *object) 652s # { 652s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_run: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously invokes the Run() D-Bus method on @proxy. 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 652s # */ 652s # void 652s # com_acme_coyote_call_run ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 652s # "Run", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # callback, 652s # user_data); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_run_finish: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Finishes an operation started with com_acme_coyote_call_run(). 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_run_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_run_sync: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_run_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 652s # "Run", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_sleep: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 652s # */ 652s # void 652s # com_acme_coyote_call_sleep ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 652s # "Sleep", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # callback, 652s # user_data); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_sleep_finish: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Finishes an operation started with com_acme_coyote_call_sleep(). 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_sleep_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_sleep_sync: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_sleep_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 652s # "Sleep", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_attack: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 652s # */ 652s # void 652s # com_acme_coyote_call_attack ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 652s # "Attack", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # callback, 652s # user_data); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_attack_finish: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Finishes an operation started with com_acme_coyote_call_attack(). 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_attack_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_attack_sync: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_attack_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 652s # "Attack", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_complete_run: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: (transfer full): A #GDBusMethodInvocation. 652s # * 652s # * 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. 652s # * 652s # * This method will free @invocation, you cannot use it afterwards. 652s # */ 652s # void 652s # com_acme_coyote_complete_run ( 652s # ComAcmeCoyote *object G_GNUC_UNUSED, 652s # GDBusMethodInvocation *invocation) 652s # { 652s # g_dbus_method_invocation_return_value (invocation, 652s # g_variant_new ("()")); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_complete_sleep: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: (transfer full): A #GDBusMethodInvocation. 652s # * 652s # * 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. 652s # * 652s # * This method will free @invocation, you cannot use it afterwards. 652s # */ 652s # void 652s # com_acme_coyote_complete_sleep ( 652s # ComAcmeCoyote *object G_GNUC_UNUSED, 652s # GDBusMethodInvocation *invocation) 652s # { 652s # g_dbus_method_invocation_return_value (invocation, 652s # g_variant_new ("()")); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_complete_attack: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: (transfer full): A #GDBusMethodInvocation. 652s # * 652s # * 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. 652s # * 652s # * This method will free @invocation, you cannot use it afterwards. 652s # */ 652s # void 652s # com_acme_coyote_complete_attack ( 652s # ComAcmeCoyote *object G_GNUC_UNUSED, 652s # GDBusMethodInvocation *invocation) 652s # { 652s # g_dbus_method_invocation_return_value (invocation, 652s # g_variant_new ("()")); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * ComAcmeCoyoteProxy: 652s # * 652s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * ComAcmeCoyoteProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #ComAcmeCoyoteProxy. 652s # */ 652s # 652s # struct _ComAcmeCoyoteProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # com_acme_coyote_proxy_finalize (GObject *object) 652s # { 652s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_get_property (GObject *object, 652s # guint prop_id, 652s # GValue *value, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # GVariant *variant; 652s # g_assert (prop_id != 0 && prop_id - 1 < 1); 652s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 652s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 652s # if (info->use_gvariant) 652s # { 652s # g_value_set_variant (value, variant); 652s # } 652s # else 652s # { 652s # if (variant != NULL) 652s # g_dbus_gvariant_to_gvalue (variant, value); 652s # } 652s # if (variant != NULL) 652s # g_variant_unref (variant); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 652s # GAsyncResult *res, 652s # gpointer user_data) 652s # { 652s # const _ExtendedGDBusPropertyInfo *info = user_data; 652s # GError *error; 652s # GVariant *_ret; 652s # error = NULL; 652s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 652s # if (!_ret) 652s # { 652s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 652s # info->parent_struct.name, 652s # error->message, g_quark_to_string (error->domain), error->code); 652s # g_error_free (error); 652s # } 652s # else 652s # { 652s # g_variant_unref (_ret); 652s # } 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_set_property (GObject *object, 652s # guint prop_id, 652s # const GValue *value, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # GVariant *variant; 652s # g_assert (prop_id != 0 && prop_id - 1 < 1); 652s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 652s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_dbus_proxy_call (G_DBUS_PROXY (object), 652s # "org.freedesktop.DBus.Properties.Set", 652s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 652s # g_variant_unref (variant); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static const gchar * 652s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 652s # { 652s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 652s # GVariant *variant; 652s # const gchar *value = NULL; 652s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 652s # if (variant != NULL) 652s # { 652s # value = g_variant_get_string (variant, NULL); 652s # g_variant_unref (variant); 652s # } 652s # return value; 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 652s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 652s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 652s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 652s # 652s # com_acme_coyote_override_properties (gobject_class, 1); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 652s # { 652s # iface->get_mood = com_acme_coyote_proxy_get_mood; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # com_acme_coyote_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with com_acme_coyote_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return COM_ACME_COYOTE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return COM_ACME_COYOTE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # com_acme_coyote_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return COM_ACME_COYOTE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return COM_ACME_COYOTE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * ComAcmeCoyoteSkeleton: 652s # * 652s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * ComAcmeCoyoteSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #ComAcmeCoyoteSkeleton. 652s # */ 652s # 652s # struct _ComAcmeCoyoteSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _com_acme_coyote_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _com_acme_coyote_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _com_acme_coyote_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 652s # { 652s # _com_acme_coyote_skeleton_handle_method_call, 652s # _com_acme_coyote_skeleton_handle_get_property, 652s # _com_acme_coyote_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return com_acme_coyote_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 652s # 652s # static void 652s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 652s # gboolean emit_changed = FALSE; 652s # 652s # g_mutex_lock (&skeleton->priv->lock); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # { 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # skeleton->priv->changed_properties_idle_source = NULL; 652s # emit_changed = TRUE; 652s # } 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # 652s # if (emit_changed) 652s # _com_acme_coyote_emit_changed (skeleton); 652s # } 652s # 652s # static void 652s # _com_acme_coyote_on_signal_surprised ( 652s # ComAcmeCoyote *object) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # com_acme_coyote_skeleton_finalize (GObject *object) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # guint n; 652s # for (n = 0; n < 1; n++) 652s # g_value_unset (&skeleton->priv->properties[n]); 652s # g_free (skeleton->priv->properties); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_get_property (GObject *object, 652s # guint prop_id, 652s # GValue *value, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # g_assert (prop_id != 0 && prop_id - 1 < 1); 652s # g_mutex_lock (&skeleton->priv->lock); 652s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # } 652s # 652s # static gboolean 652s # _com_acme_coyote_emit_changed (gpointer user_data) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 652s # GList *l; 652s # GVariantBuilder builder; 652s # GVariantBuilder invalidated_builder; 652s # guint num_changes; 652s # 652s # g_mutex_lock (&skeleton->priv->lock); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 652s # #else 652s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 652s # #endif 652s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 652s # { 652s # ChangedProperty *cp = l->data; 652s # GVariant *variant; 652s # const GValue *cur_value; 652s # 652s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 652s # if (!_g_value_equal (cur_value, &cp->orig_value)) 652s # { 652s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 652s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 652s # g_variant_unref (variant); 652s # num_changes++; 652s # } 652s # } 652s # if (num_changes > 0) 652s # { 652s # GList *connections, *ll; 652s # GVariant *signal_variant; 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 652s # &builder, &invalidated_builder)); 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # for (ll = connections; ll != NULL; ll = ll->next) 652s # { 652s # GDBusConnection *connection = ll->data; 652s # 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 652s # "org.freedesktop.DBus.Properties", 652s # "PropertiesChanged", 652s # signal_variant, 652s # NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # else 652s # { 652s # g_variant_builder_clear (&builder); 652s # g_variant_builder_clear (&invalidated_builder); 652s # } 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # skeleton->priv->changed_properties = NULL; 652s # skeleton->priv->changed_properties_idle_source = NULL; 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # return FALSE; 652s # } 652s # 652s # static void 652s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 652s # { 652s # ChangedProperty *cp; 652s # GList *l; 652s # cp = NULL; 652s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 652s # { 652s # ChangedProperty *i_cp = l->data; 652s # if (i_cp->info == info) 652s # { 652s # cp = i_cp; 652s # break; 652s # } 652s # } 652s # if (cp == NULL) 652s # { 652s # cp = g_new0 (ChangedProperty, 1); 652s # cp->prop_id = prop_id; 652s # cp->info = info; 652s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 652s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 652s # g_value_copy (orig_value, &cp->orig_value); 652s # } 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_notify (GObject *object, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # g_mutex_lock (&skeleton->priv->lock); 652s # if (skeleton->priv->changed_properties != NULL && 652s # skeleton->priv->changed_properties_idle_source == NULL) 652s # { 652s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 652s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 652s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 652s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 652s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 652s # g_source_unref (skeleton->priv->changed_properties_idle_source); 652s # } 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_set_property (GObject *object, 652s # guint prop_id, 652s # const GValue *value, 652s # GParamSpec *pspec) 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # g_assert (prop_id != 0 && prop_id - 1 < 1); 652s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 652s # g_mutex_lock (&skeleton->priv->lock); 652s # g_object_freeze_notify (object); 652s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 652s # { 652s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 652s # info->emits_changed_signal) 652s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 652s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 652s # g_object_notify_by_pspec (object, pspec); 652s # } 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # g_object_thaw_notify (object); 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # skeleton->priv->properties = g_new0 (GValue, 1); 652s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 652s # } 652s # 652s # static const gchar * 652s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # const gchar *value; 652s # g_mutex_lock (&skeleton->priv->lock); 652s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # return value; 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 652s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 652s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 652s # gobject_class->notify = com_acme_coyote_skeleton_notify; 652s # 652s # 652s # com_acme_coyote_override_properties (gobject_class, 1); 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 652s # { 652s # iface->surprised = _com_acme_coyote_on_signal_surprised; 652s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_skeleton_new (void) 652s # { 652s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 652s # } 652s # Error: 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn7jgybdk/tmpb44bd1t72.xml', '/tmp/tmpn7jgybdk/tmppgsicwr31.xml', '--output', '-', '--body'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # static void 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint G_GNUC_UNUSED, 652s # void *marshal_data) 652s # { 652s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 652s # (void *data1, 652s # GDBusMethodInvocation *arg_method_invocation, 652s # void *data2); 652s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 652s # GCClosure *cc = (GCClosure*) closure; 652s # void *data1, *data2; 652s # gboolean v_return; 652s # 652s # g_return_if_fail (return_value != NULL); 652s # g_return_if_fail (n_param_values == 2); 652s # 652s # if (G_CCLOSURE_SWAP_DATA (closure)) 652s # { 652s # data1 = closure->data; 652s # data2 = g_value_peek_pointer (param_values + 0); 652s # } 652s # else 652s # { 652s # data1 = g_value_peek_pointer (param_values + 0); 652s # data2 = closure->data; 652s # } 652s # 652s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 652s # (marshal_data ? marshal_data : cc->callback); 652s # 652s # v_return = 652s # callback (data1, 652s # g_marshal_value_peek_object (param_values + 1), 652s # data2); 652s # 652s # g_value_set_boolean (return_value, v_return); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.Bar.Frobnicator 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectBarFrobnicator 652s # * @title: OrgProjectBarFrobnicator 652s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 652s # */ 652s # 652s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 652s # 652s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 652s # { 652s # { 652s # -1, 652s # (gchar *) "RandomMethod", 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "handle-random-method", 652s # FALSE 652s # }; 652s # 652s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 652s # { 652s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.Bar.Frobnicator", 652s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-bar-frobnicator", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_bar_frobnicator_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_bar_frobnicator_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_bar_frobnicator_method_marshal_random_method ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectBarFrobnicator: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 652s # */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorIface: 652s # * @parent_iface: The parent interface. 652s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 652s # */ 652s # 652s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 652s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 652s # { 652s # /* GObject signals for incoming D-Bus method calls: */ 652s # /** 652s # * OrgProjectBarFrobnicator::handle-random-method: 652s # * @object: A #OrgProjectBarFrobnicator. 652s # * @invocation: A #GDBusMethodInvocation. 652s # * 652s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # g_signal_new ("handle-random-method", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 652s # g_signal_accumulator_true_handled, 652s # NULL, 652s # org_project_bar_frobnicator_method_marshal_random_method, 652s # G_TYPE_BOOLEAN, 652s # 1, 652s # G_TYPE_DBUS_METHOD_INVOCATION); 652s # 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_call_random_method: 652s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 652s # * 652s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 652s # */ 652s # void 652s # org_project_bar_frobnicator_call_random_method ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 652s # "RandomMethod", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # callback, 652s # user_data); 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_call_random_method_finish: 652s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # org_project_bar_frobnicator_call_random_method_finish ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_call_random_method_sync: 652s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # org_project_bar_frobnicator_call_random_method_sync ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 652s # "RandomMethod", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_complete_random_method: 652s # * @object: A #OrgProjectBarFrobnicator. 652s # * @invocation: (transfer full): A #GDBusMethodInvocation. 652s # * 652s # * 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. 652s # * 652s # * This method will free @invocation, you cannot use it afterwards. 652s # */ 652s # void 652s # org_project_bar_frobnicator_complete_random_method ( 652s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 652s # GDBusMethodInvocation *invocation) 652s # { 652s # g_dbus_method_invocation_return_value (invocation, 652s # g_variant_new ("()")); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorProxy: 652s # * 652s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectBarFrobnicatorProxy. 652s # */ 652s # 652s # struct _OrgProjectBarFrobnicatorProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 652s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 652s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_bar_frobnicator_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_bar_frobnicator_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorSkeleton: 652s # * 652s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 652s # */ 652s # 652s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 652s # { 652s # _org_project_bar_frobnicator_skeleton_handle_method_call, 652s # _org_project_bar_frobnicator_skeleton_handle_get_property, 652s # _org_project_bar_frobnicator_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_bar_frobnicator_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface com.acme.Coyote 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:ComAcmeCoyote 652s # * @title: ComAcmeCoyote 652s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 652s # * 652s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _COM_ACME_COYOTE_SURPRISED, 652s # }; 652s # 652s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 652s # 652s # /* ---- Introspection data for com.acme.Coyote ---- */ 652s # 652s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Run", 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "handle-run", 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Sleep", 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "handle-sleep", 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Attack", 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "handle-attack", 652s # FALSE 652s # }; 652s # 652s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 652s # { 652s # &_com_acme_coyote_method_info_run.parent_struct, 652s # &_com_acme_coyote_method_info_sleep.parent_struct, 652s # &_com_acme_coyote_method_info_attack.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Surprised", 652s # NULL, 652s # NULL 652s # }, 652s # "surprised" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 652s # { 652s # &_com_acme_coyote_signal_info_surprised.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Mood", 652s # (gchar *) "s", 652s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 652s # NULL 652s # }, 652s # "mood", 652s # FALSE, 652s # TRUE 652s # }; 652s # 652s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 652s # { 652s # &_com_acme_coyote_property_info_mood.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "com.acme.Coyote", 652s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 652s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 652s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 652s # NULL 652s # }, 652s # "com-acme-coyote", 652s # }; 652s # 652s # 652s # /** 652s # * com_acme_coyote_interface_info: 652s # * 652s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # com_acme_coyote_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 652s # { 652s # g_object_class_override_property (klass, property_id_begin++, "mood"); 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # com_acme_coyote_signal_marshal_surprised ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # com_acme_coyote_method_marshal_run ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # com_acme_coyote_method_marshal_sleep ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # com_acme_coyote_method_marshal_attack ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * ComAcmeCoyote: 652s # * 652s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 652s # */ 652s # 652s # /** 652s # * ComAcmeCoyoteIface: 652s # * @parent_iface: The parent interface. 652s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 652s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 652s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 652s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 652s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 652s # * 652s # * Virtual table for the D-Bus interface com.acme.Coyote. 652s # */ 652s # 652s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 652s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 652s # 652s # static void 652s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 652s # { 652s # /* GObject signals for incoming D-Bus method calls: */ 652s # /** 652s # * ComAcmeCoyote::handle-run: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: A #GDBusMethodInvocation. 652s # * 652s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # g_signal_new ("handle-run", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 652s # g_signal_accumulator_true_handled, 652s # NULL, 652s # com_acme_coyote_method_marshal_run, 652s # G_TYPE_BOOLEAN, 652s # 1, 652s # G_TYPE_DBUS_METHOD_INVOCATION); 652s # 652s # /** 652s # * ComAcmeCoyote::handle-sleep: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: A #GDBusMethodInvocation. 652s # * 652s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # g_signal_new ("handle-sleep", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 652s # g_signal_accumulator_true_handled, 652s # NULL, 652s # com_acme_coyote_method_marshal_sleep, 652s # G_TYPE_BOOLEAN, 652s # 1, 652s # G_TYPE_DBUS_METHOD_INVOCATION); 652s # 652s # /** 652s # * ComAcmeCoyote::handle-attack: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: A #GDBusMethodInvocation. 652s # * 652s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # g_signal_new ("handle-attack", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 652s # g_signal_accumulator_true_handled, 652s # NULL, 652s # com_acme_coyote_method_marshal_attack, 652s # G_TYPE_BOOLEAN, 652s # 1, 652s # G_TYPE_DBUS_METHOD_INVOCATION); 652s # 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * ComAcmeCoyote::surprised: 652s # * @object: A #ComAcmeCoyote. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 652s # g_signal_new ("surprised", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 652s # NULL, 652s # NULL, 652s # com_acme_coyote_signal_marshal_surprised, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /* GObject properties for D-Bus properties: */ 652s # /** 652s # * ComAcmeCoyote:mood: 652s # * 652s # * Represents the D-Bus property "Mood". 652s # * 652s # * 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. 652s # */ 652s # g_object_interface_install_property (iface, 652s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_get_mood: (skip) 652s # * @object: A #ComAcmeCoyote. 652s # * 652s # * Gets the value of the "Mood" D-Bus property. 652s # * 652s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # const gchar * 652s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 652s # { 652s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 652s # 652s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_dup_mood: (skip) 652s # * @object: A #ComAcmeCoyote. 652s # * 652s # * Gets a copy of the "Mood" D-Bus property. 652s # * 652s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 652s # * 652s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 652s # */ 652s # gchar * 652s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 652s # { 652s # gchar *value; 652s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 652s # return value; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_set_mood: (skip) 652s # * @object: A #ComAcmeCoyote. 652s # * @value: The value to set. 652s # * 652s # * Sets the "Mood" D-Bus property to @value. 652s # * 652s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 652s # */ 652s # void 652s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 652s # { 652s # g_object_set (G_OBJECT (object), "mood", value, NULL); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_emit_surprised: 652s # * @object: A #ComAcmeCoyote. 652s # * 652s # * Emits the "Surprised" D-Bus signal. 652s # */ 652s # void 652s # com_acme_coyote_emit_surprised ( 652s # ComAcmeCoyote *object) 652s # { 652s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_run: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously invokes the Run() D-Bus method on @proxy. 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 652s # */ 652s # void 652s # com_acme_coyote_call_run ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 652s # "Run", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # callback, 652s # user_data); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_run_finish: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Finishes an operation started with com_acme_coyote_call_run(). 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_run_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_run_sync: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_run_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 652s # "Run", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_sleep: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 652s # */ 652s # void 652s # com_acme_coyote_call_sleep ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 652s # "Sleep", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # callback, 652s # user_data); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_sleep_finish: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Finishes an operation started with com_acme_coyote_call_sleep(). 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_sleep_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_sleep_sync: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_sleep_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 652s # "Sleep", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_attack: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 652s # */ 652s # void 652s # com_acme_coyote_call_attack ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 652s # "Attack", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # callback, 652s # user_data); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_attack_finish: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Finishes an operation started with com_acme_coyote_call_attack(). 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_attack_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_attack_sync: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_attack_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 652s # "Attack", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_complete_run: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: (transfer full): A #GDBusMethodInvocation. 652s # * 652s # * 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. 652s # * 652s # * This method will free @invocation, you cannot use it afterwards. 652s # */ 652s # void 652s # com_acme_coyote_complete_run ( 652s # ComAcmeCoyote *object G_GNUC_UNUSED, 652s # GDBusMethodInvocation *invocation) 652s # { 652s # g_dbus_method_invocation_return_value (invocation, 652s # g_variant_new ("()")); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_complete_sleep: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: (transfer full): A #GDBusMethodInvocation. 652s # * 652s # * 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. 652s # * 652s # * This method will free @invocation, you cannot use it afterwards. 652s # */ 652s # void 652s # com_acme_coyote_complete_sleep ( 652s # ComAcmeCoyote *object G_GNUC_UNUSED, 652s # GDBusMethodInvocation *invocation) 652s # { 652s # g_dbus_method_invocation_return_value (invocation, 652s # g_variant_new ("()")); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_complete_attack: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: (transfer full): A #GDBusMethodInvocation. 652s # * 652s # * 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. 652s # * 652s # * This method will free @invocation, you cannot use it afterwards. 652s # */ 652s # void 652s # com_acme_coyote_complete_attack ( 652s # ComAcmeCoyote *object G_GNUC_UNUSED, 652s # GDBusMethodInvocation *invocation) 652s # { 652s # g_dbus_method_invocation_return_value (invocation, 652s # g_variant_new ("()")); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * ComAcmeCoyoteProxy: 652s # * 652s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * ComAcmeCoyoteProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #ComAcmeCoyoteProxy. 652s # */ 652s # 652s # struct _ComAcmeCoyoteProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # com_acme_coyote_proxy_finalize (GObject *object) 652s # { 652s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_get_property (GObject *object, 652s # guint prop_id, 652s # GValue *value, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # GVariant *variant; 652s # g_assert (prop_id != 0 && prop_id - 1 < 1); 652s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 652s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 652s # if (info->use_gvariant) 652s # { 652s # g_value_set_variant (value, variant); 652s # } 652s # else 652s # { 652s # if (variant != NULL) 652s # g_dbus_gvariant_to_gvalue (variant, value); 652s # } 652s # if (variant != NULL) 652s # g_variant_unref (variant); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 652s # GAsyncResult *res, 652s # gpointer user_data) 652s # { 652s # const _ExtendedGDBusPropertyInfo *info = user_data; 652s # GError *error; 652s # GVariant *_ret; 652s # error = NULL; 652s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 652s # if (!_ret) 652s # { 652s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 652s # info->parent_struct.name, 652s # error->message, g_quark_to_string (error->domain), error->code); 652s # g_error_free (error); 652s # } 652s # else 652s # { 652s # g_variant_unref (_ret); 652s # } 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_set_property (GObject *object, 652s # guint prop_id, 652s # const GValue *value, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # GVariant *variant; 652s # g_assert (prop_id != 0 && prop_id - 1 < 1); 652s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 652s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_dbus_proxy_call (G_DBUS_PROXY (object), 652s # "org.freedesktop.DBus.Properties.Set", 652s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 652s # g_variant_unref (variant); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static const gchar * 652s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 652s # { 652s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 652s # GVariant *variant; 652s # const gchar *value = NULL; 652s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 652s # if (variant != NULL) 652s # { 652s # value = g_variant_get_string (variant, NULL); 652s # g_variant_unref (variant); 652s # } 652s # return value; 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 652s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 652s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 652s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 652s # 652s # com_acme_coyote_override_properties (gobject_class, 1); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 652s # { 652s # iface->get_mood = com_acme_coyote_proxy_get_mood; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # com_acme_coyote_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with com_acme_coyote_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return COM_ACME_COYOTE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return COM_ACME_COYOTE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # com_acme_coyote_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return COM_ACME_COYOTE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return COM_ACME_COYOTE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * ComAcmeCoyoteSkeleton: 652s # * 652s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * ComAcmeCoyoteSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #ComAcmeCoyoteSkeleton. 652s # */ 652s # 652s # struct _ComAcmeCoyoteSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _com_acme_coyote_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _com_acme_coyote_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _com_acme_coyote_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 652s # { 652s # _com_acme_coyote_skeleton_handle_method_call, 652s # _com_acme_coyote_skeleton_handle_get_property, 652s # _com_acme_coyote_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return com_acme_coyote_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #else 652s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 652s # #endif 652s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 652s # 652s # static void 652s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 652s # gboolean emit_changed = FALSE; 652s # 652s # g_mutex_lock (&skeleton->priv->lock); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # { 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # skeleton->priv->changed_properties_idle_source = NULL; 652s # emit_changed = TRUE; 652s # } 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # 652s # if (emit_changed) 652s # _com_acme_coyote_emit_changed (skeleton); 652s # } 652s # 652s # static void 652s # _com_acme_coyote_on_signal_surprised ( 652s # ComAcmeCoyote *object) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # com_acme_coyote_skeleton_finalize (GObject *object) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # guint n; 652s # for (n = 0; n < 1; n++) 652s # g_value_unset (&skeleton->priv->properties[n]); 652s # g_free (skeleton->priv->properties); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_get_property (GObject *object, 652s # guint prop_id, 652s # GValue *value, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # g_assert (prop_id != 0 && prop_id - 1 < 1); 652s # g_mutex_lock (&skeleton->priv->lock); 652s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # } 652s # 652s # static gboolean 652s # _com_acme_coyote_emit_changed (gpointer user_data) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 652s # GList *l; 652s # GVariantBuilder builder; 652s # GVariantBuilder invalidated_builder; 652s # guint num_changes; 652s # 652s # g_mutex_lock (&skeleton->priv->lock); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 652s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 652s # #else 652s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 652s # #endif 652s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 652s # { 652s # ChangedProperty *cp = l->data; 652s # GVariant *variant; 652s # const GValue *cur_value; 652s # 652s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 652s # if (!_g_value_equal (cur_value, &cp->orig_value)) 652s # { 652s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 652s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 652s # g_variant_unref (variant); 652s # num_changes++; 652s # } 652s # } 652s # if (num_changes > 0) 652s # { 652s # GList *connections, *ll; 652s # GVariant *signal_variant; 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 652s # &builder, &invalidated_builder)); 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # for (ll = connections; ll != NULL; ll = ll->next) 652s # { 652s # GDBusConnection *connection = ll->data; 652s # 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 652s # "org.freedesktop.DBus.Properties", 652s # "PropertiesChanged", 652s # signal_variant, 652s # NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # else 652s # { 652s # g_variant_builder_clear (&builder); 652s # g_variant_builder_clear (&invalidated_builder); 652s # } 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # skeleton->priv->changed_properties = NULL; 652s # skeleton->priv->changed_properties_idle_source = NULL; 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # return FALSE; 652s # } 652s # 652s # static void 652s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 652s # { 652s # ChangedProperty *cp; 652s # GList *l; 652s # cp = NULL; 652s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 652s # { 652s # ChangedProperty *i_cp = l->data; 652s # if (i_cp->info == info) 652s # { 652s # cp = i_cp; 652s # break; 652s # } 652s # } 652s # if (cp == NULL) 652s # { 652s # cp = g_new0 (ChangedProperty, 1); 652s # cp->prop_id = prop_id; 652s # cp->info = info; 652s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 652s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 652s # g_value_copy (orig_value, &cp->orig_value); 652s # } 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_notify (GObject *object, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # g_mutex_lock (&skeleton->priv->lock); 652s # if (skeleton->priv->changed_properties != NULL && 652s # skeleton->priv->changed_properties_idle_source == NULL) 652s # { 652s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 652s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 652s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 652s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 652s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 652s # g_source_unref (skeleton->priv->changed_properties_idle_source); 652s # } 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_set_property (GObject *object, 652s # guint prop_id, 652s # const GValue *value, 652s # GParamSpec *pspec) 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # g_assert (prop_id != 0 && prop_id - 1 < 1); 652s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 652s # g_mutex_lock (&skeleton->priv->lock); 652s # g_object_freeze_notify (object); 652s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 652s # { 652s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 652s # info->emits_changed_signal) 652s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 652s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 652s # g_object_notify_by_pspec (object, pspec); 652s # } 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # g_object_thaw_notify (object); 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # skeleton->priv->properties = g_new0 (GValue, 1); 652s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 652s # } 652s # 652s # static const gchar * 652s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # const gchar *value; 652s # g_mutex_lock (&skeleton->priv->lock); 652s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # return value; 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 652s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 652s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 652s # gobject_class->notify = com_acme_coyote_skeleton_notify; 652s # 652s # 652s # com_acme_coyote_override_properties (gobject_class, 1); 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 652s # { 652s # iface->surprised = _com_acme_coyote_on_signal_surprised; 652s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_skeleton_new (void) 652s # { 652s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 652s # } 652s # Error: 652s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 652s # gdbus-codegen: /usr/bin/gdbus-codegen 652s # tmpdir: /tmp/tmptdcjx0df 652s # /tmp/tmptdcjx0df/tmp1vktunpa.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdcjx0df/tmp1vktunpa.xml', '--output', '-', '--header'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # /* Declarations for FDPassing */ 652s # 652s # #define TYPE_FDPASSING (fdpassing_get_type ()) 652s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 652s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 652s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 652s # 652s # struct _FDPassing; 652s # typedef struct _FDPassing FDPassing; 652s # typedef struct _FDPassingIface FDPassingIface; 652s # 652s # struct _FDPassingIface 652s # { 652s # GTypeInterface parent_iface; 652s # 652s # gboolean (*handle_hello_fd) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # const gchar *arg_greeting); 652s # 652s # gboolean (*handle_no_annotation) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale); 652s # 652s # gboolean (*handle_no_annotation_nested) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GVariant *arg_files); 652s # 652s # }; 652s # 652s # GType fdpassing_get_type (void) G_GNUC_CONST; 652s # 652s # GDBusInterfaceInfo *fdpassing_interface_info (void); 652s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 652s # 652s # 652s # /* D-Bus method call completion functions: */ 652s # void fdpassing_complete_hello_fd ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # const gchar *response); 652s # 652s # void fdpassing_complete_no_annotation ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GVariant *response, 652s # const gchar *response_locale); 652s # 652s # void fdpassing_complete_no_annotation_nested ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # 652s # 652s # /* D-Bus method calls: */ 652s # void fdpassing_call_hello_fd ( 652s # FDPassing *proxy, 652s # const gchar *arg_greeting, 652s # GUnixFDList *fd_list, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_hello_fd_finish ( 652s # FDPassing *proxy, 652s # gchar **out_response, 652s # GUnixFDList **out_fd_list, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_hello_fd_sync ( 652s # FDPassing *proxy, 652s # const gchar *arg_greeting, 652s # GUnixFDList *fd_list, 652s # gchar **out_response, 652s # GUnixFDList **out_fd_list, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_call_no_annotation ( 652s # FDPassing *proxy, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_no_annotation_finish ( 652s # FDPassing *proxy, 652s # GVariant **out_response, 652s # gchar **out_response_locale, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_no_annotation_sync ( 652s # FDPassing *proxy, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale, 652s # GVariant **out_response, 652s # gchar **out_response_locale, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_call_no_annotation_nested ( 652s # FDPassing *proxy, 652s # GVariant *arg_files, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_no_annotation_nested_finish ( 652s # FDPassing *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_no_annotation_nested_sync ( 652s # FDPassing *proxy, 652s # GVariant *arg_files, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 652s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 652s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 652s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 652s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 652s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 652s # 652s # typedef struct _FDPassingProxy FDPassingProxy; 652s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 652s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 652s # 652s # struct _FDPassingProxy 652s # { 652s # /*< private >*/ 652s # GDBusProxy parent_instance; 652s # FDPassingProxyPrivate *priv; 652s # }; 652s # 652s # struct _FDPassingProxyClass 652s # { 652s # GDBusProxyClass parent_class; 652s # }; 652s # 652s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 652s # #endif 652s # 652s # void fdpassing_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # FDPassing *fdpassing_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # FDPassing *fdpassing_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 652s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 652s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 652s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 652s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 652s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 652s # 652s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 652s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 652s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 652s # 652s # struct _FDPassingSkeleton 652s # { 652s # /*< private >*/ 652s # GDBusInterfaceSkeleton parent_instance; 652s # FDPassingSkeletonPrivate *priv; 652s # }; 652s # 652s # struct _FDPassingSkeletonClass 652s # { 652s # GDBusInterfaceSkeletonClass parent_class; 652s # }; 652s # 652s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 652s # #endif 652s # 652s # FDPassing *fdpassing_skeleton_new (void); 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s # Error: 652s # 652s # /tmp/tmptdcjx0df/tmpvthcfiea.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdcjx0df/tmpvthcfiea.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # /* Declarations for FDPassing */ 652s # 652s # #define TYPE_FDPASSING (fdpassing_get_type ()) 652s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 652s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 652s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 652s # 652s # struct _FDPassing; 652s # typedef struct _FDPassing FDPassing; 652s # typedef struct _FDPassingIface FDPassingIface; 652s # 652s # struct _FDPassingIface 652s # { 652s # GTypeInterface parent_iface; 652s # 652s # gboolean (*handle_hello_fd) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # const gchar *arg_greeting); 652s # 652s # gboolean (*handle_no_annotation) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale); 652s # 652s # gboolean (*handle_no_annotation_nested) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GVariant *arg_files); 652s # 652s # }; 652s # 652s # GType fdpassing_get_type (void) G_GNUC_CONST; 652s # 652s # GDBusInterfaceInfo *fdpassing_interface_info (void); 652s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 652s # 652s # 652s # /* D-Bus method call completion functions: */ 652s # void fdpassing_complete_hello_fd ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # const gchar *response); 652s # 652s # void fdpassing_complete_no_annotation ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GVariant *response, 652s # const gchar *response_locale); 652s # 652s # void fdpassing_complete_no_annotation_nested ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # 652s # 652s # /* D-Bus method calls: */ 652s # void fdpassing_call_hello_fd ( 652s # FDPassing *proxy, 652s # const gchar *arg_greeting, 652s # GUnixFDList *fd_list, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_hello_fd_finish ( 652s # FDPassing *proxy, 652s # gchar **out_response, 652s # GUnixFDList **out_fd_list, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_hello_fd_sync ( 652s # FDPassing *proxy, 652s # const gchar *arg_greeting, 652s # GUnixFDList *fd_list, 652s # gchar **out_response, 652s # GUnixFDList **out_fd_list, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_call_no_annotation ( 652s # FDPassing *proxy, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_no_annotation_finish ( 652s # FDPassing *proxy, 652s # GVariant **out_response, 652s # gchar **out_response_locale, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_no_annotation_sync ( 652s # FDPassing *proxy, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale, 652s # GVariant **out_response, 652s # gchar **out_response_locale, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_call_no_annotation_nested ( 652s # FDPassing *proxy, 652s # GVariant *arg_files, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_no_annotation_nested_finish ( 652s # FDPassing *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_no_annotation_nested_sync ( 652s # FDPassing *proxy, 652s # GVariant *arg_files, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 652s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 652s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 652s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 652s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 652s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 652s # 652s # typedef struct _FDPassingProxy FDPassingProxy; 652s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 652s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 652s # 652s # struct _FDPassingProxy 652s # { 652s # /*< private >*/ 652s # GDBusProxy parent_instance; 652s # FDPassingProxyPrivate *priv; 652s # }; 652s # 652s # struct _FDPassingProxyClass 652s # { 652s # GDBusProxyClass parent_class; 652s # }; 652s # 652s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 652s # #endif 652s # 652s # void fdpassing_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # FDPassing *fdpassing_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # FDPassing *fdpassing_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError ok - glib/codegen.py.test 652s # Running test: glib/pathbuf.test 652s ok - glib/pathbuf.test 652s # Running test: glib/gdbus-server-auth.test 652s **error); 652s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 652s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 652s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 652s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 652s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 652s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 652s # 652s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 652s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 652s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 652s # 652s # struct _FDPassingSkeleton 652s # { 652s # /*< private >*/ 652s # GDBusInterfaceSkeleton parent_instance; 652s # FDPassingSkeletonPrivate *priv; 652s # }; 652s # 652s # struct _FDPassingSkeletonClass 652s # { 652s # GDBusInterfaceSkeletonClass parent_class; 652s # }; 652s # 652s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 652s # #endif 652s # 652s # FDPassing *fdpassing_skeleton_new (void); 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s # Error: 652s # 652s # /tmp/tmptdcjx0df/tmp7fldoo5l.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdcjx0df/tmp7fldoo5l.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 652s # Return code: 0 652s # Output: 652s # /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # /* Declarations for FDPassing */ 652s # 652s # #define TYPE_FDPASSING (fdpassing_get_type ()) 652s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 652s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 652s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 652s # 652s # struct _FDPassing; 652s # typedef struct _FDPassing FDPassing; 652s # typedef struct _FDPassingIface FDPassingIface; 652s # 652s # struct _FDPassingIface 652s # { 652s # GTypeInterface parent_iface; 652s # 652s # gboolean (*handle_hello_fd) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # const gchar *arg_greeting); 652s # 652s # gboolean (*handle_no_annotation) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale); 652s # 652s # gboolean (*handle_no_annotation_nested) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # GVariant *arg_files); 652s # 652s # }; 652s # 652s # GType fdpassing_get_type (void) G_GNUC_CONST; 652s # 652s # GDBusInterfaceInfo *fdpassing_interface_info (void); 652s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 652s # 652s # 652s # /* D-Bus method call completion functions: */ 652s # void fdpassing_complete_hello_fd ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # const gchar *response); 652s # 652s # void fdpassing_complete_no_annotation ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # GVariant *response, 652s # const gchar *response_locale); 652s # 652s # void fdpassing_complete_no_annotation_nested ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list); 652s # 652s # 652s # 652s # /* D-Bus method calls: */ 652s # void fdpassing_call_hello_fd ( 652s # FDPassing *proxy, 652s # const gchar *arg_greeting, 652s # GDBusCallFlags call_flags, 652s # gint timeout_msec, 652s # GUnixFDList *fd_list, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_hello_fd_finish ( 652s # FDPassing *proxy, 652s # gchar **out_response, 652s # GUnixFDList **out_fd_list, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_hello_fd_sync ( 652s # FDPassing *proxy, 652s # const gchar *arg_greeting, 652s # GDBusCallFlags call_flags, 652s # gint timeout_msec, 652s # GUnixFDList *fd_list, 652s # gchar **out_response, 652s # GUnixFDList **out_fd_list, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_call_no_annotation ( 652s # FDPassing *proxy, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale, 652s # GDBusCallFlags call_flags, 652s # gint timeout_msec, 652s # GUnixFDList *fd_list, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_no_annotation_finish ( 652s # FDPassing *proxy, 652s # GVariant **out_response, 652s # gchar **out_response_locale, 652s # GUnixFDList **out_fd_list, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_no_annotation_sync ( 652s # FDPassing *proxy, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale, 652s # GDBusCallFlags call_flags, 652s # gint timeout_msec, 652s # GUnixFDList *fd_list, 652s # GVariant **out_response, 652s # gchar **out_response_locale, 652s # GUnixFDList **out_fd_list, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_call_no_annotation_nested ( 652s # FDPassing *proxy, 652s # GVariant *arg_files, 652s # GDBusCallFlags call_flags, 652s # gint timeout_msec, 652s # GUnixFDList *fd_list, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_no_annotation_nested_finish ( 652s # FDPassing *proxy, 652s # GUnixFDList **out_fd_list, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_no_annotation_nested_sync ( 652s # FDPassing *proxy, 652s # GVariant *arg_files, 652s # GDBusCallFlags call_flags, 652s # gint timeout_msec, 652s # GUnixFDList *fd_list, 652s # GUnixFDList **out_fd_list, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 652s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 652s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 652s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 652s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 652s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 652s # 652s # typedef struct _FDPassingProxy FDPassingProxy; 652s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 652s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 652s # 652s # struct _FDPassingProxy 652s # { 652s # /*< private >*/ 652s # GDBusProxy parent_instance; 652s # FDPassingProxyPrivate *priv; 652s # }; 652s # 652s # struct _FDPassingProxyClass 652s # { 652s # GDBusProxyClass parent_class; 652s # }; 652s # 652s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 652s # #endif 652s # 652s # void fdpassing_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # FDPassing *fdpassing_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # FDPassing *fdpassing_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 652s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 652s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 652s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 652s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 652s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 652s # 652s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 652s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 652s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 652s # 652s # struct _FDPassingSkeleton 652s # { 652s # /*< private >*/ 652s # GDBusInterfaceSkeleton parent_instance; 652s # FDPassingSkeletonPrivate *priv; 652s # }; 652s # 652s # struct _FDPassingSkeletonClass 652s # { 652s # GDBusInterfaceSkeletonClass parent_class; 652s # }; 652s # 652s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 652s # #endif 652s # 652s # FDPassing *fdpassing_skeleton_new (void); 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s # Error: 652s 1..39 652s TAP version 14 652s # random seed: R02Sfebaa00b89188fdeb5d0d7c5af330add 652s 1..3 652s # Start of pathbuf tests 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_10CIJ3/pathbuf/init/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_10CIJ3/pathbuf/init/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_10CIJ3/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_10CIJ3/pathbuf/init/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_10CIJ3/pathbuf/init/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_10CIJ3/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_10CIJ3/pathbuf/init/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_10CIJ3/pathbuf/init/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_10CIJ3/pathbuf/init/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_10CIJ3/pathbuf/init/.dirs/runtime 652s # Initializing empty path buf 652s # Initializing with empty path 652s # Initializing with full path 652s # Initializing with no path 652s # Allocating GPathBuf on the heap 652s ok 1 /pathbuf/init 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_10CIJ3/pathbuf/push-pop/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_10CIJ3/pathbuf/push-pop/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_10CIJ3/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_10CIJ3/pathbuf/push-pop/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_10CIJ3/pathbuf/push-pop/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_10CIJ3/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_10CIJ3/pathbuf/push-pop/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_10CIJ3/pathbuf/push-pop/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_10CIJ3/pathbuf/push-pop/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_10CIJ3/pathbuf/push-pop/.dirs/runtime 652s # Pushing relative path component 652s # Pushing absolute path component 652s # Popping a path component 652s # Can't pop the last element of a path buffer 652s ok 2 /pathbuf/push-pop 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_10CIJ3/pathbuf/filename-extension/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_10CIJ3/pathbuf/filename-extension/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_10CIJ3/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_10CIJ3/pathbuf/filename-extension/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_10CIJ3/pathbuf/filename-extension/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_10CIJ3/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_10CIJ3/pathbuf/filename-extension/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_10CIJ3/pathbuf/filename-extension/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_10CIJ3/pathbuf/filename-extension/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_10CIJ3/pathbuf/filename-extension/.dirs/runtime 652s ok 3 /pathbuf/filename-extension 652s # End of pathbuf tests 652s TAP version 14 652s # random seed: R02Sf0449c8d3e2df930711b0d783264b177 652s 1..9 652s # Start of gdbus tests 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/.dirs/runtime 652s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LV7HJ3/gdbus-server-auth-3Z7HJ3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 652s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LV7HJ3/gdbus-server-auth-3Z7HJ3/dbus-NILUfSY1 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 3930 652s ok 1 /gdbus/server-auth 652s # Start of server-auth tests 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/abstract/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/abstract/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/abstract/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/abstract/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/abstract/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/abstract/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/abstract/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/abstract/.dirs/runtime 652s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_LV7HJ3/gdbus-server-auth-CMOHJ3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 652s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LV7HJ3/gdbus-server-auth-CMOHJ3/dbus-9Gk5hCy2 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 652s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 652s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 3930 652s ok 2 /gdbus/server-auth/abstract 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/tcp/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/tcp/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/tcp/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/tcp/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/tcp/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/tcp/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/tcp/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/tcp/.dirs/runtime 652s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 652s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/.dirs/runtime 652s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LV7HJ3/gdbus-server-auth-3QZHJ3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 652s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LV7HJ3/gdbus-server-auth-3QZHJ3/dbus-VbBYIxCv 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 3930 652s ok 4 /gdbus/server-auth/anonymous 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/.dirs/runtime 652s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LV7HJ3/gdbus-server-auth-Y97QJ3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 652s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LV7HJ3/gdbus-server-auth-Y97QJ3/dbus-Qfcl5Xh2 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 3930 652s ok 5 /gdbus/server-auth/external 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/.dirs/runtime 652s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LV7HJ3/gdbus-server-auth-QCDRJ3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 652s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 652s # Start of anonymous tests 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/tcp/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/tcp/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/tcp/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/tcp/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/tcp/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 652s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 652s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 652s # End of anonymous tests 652s # Start of external tests 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/require-same-user/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/require-same-user/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/require-same-user/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/require-same-user/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/require-same-user/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/external/require-same-user/.dirs/runtime 652s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_LV7HJ3/gdbus-server-auth-GIDRJ3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 652s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_LV7HJ3/gdbus-server-auth-GIDRJ3/dbus-iufCIu8N 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s ok - glib/gdbus-server-auth.test 652s # Running test: glib/portal-support-flatpak-full.test 652s ok - glib/portal-support-flatpak-full.test 652s # Running test: glib/network-monitor-race.test 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 3930 652s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 652s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 652s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 652s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=3930,uid=1000,gid=1000 652s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 3930 652s ok 8 /gdbus/server-auth/external/require-same-user 652s # End of external tests 652s # Start of sha1 tests 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/tcp/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/tcp/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/tcp/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/tcp/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/tcp/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_LV7HJ3/gdbus/server-auth/sha1/tcp/.dirs/runtime 652s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 652s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 652s # End of sha1 tests 652s # End of server-auth tests 652s # End of gdbus tests 652s TAP version 14 652s # random seed: R02S95cae80e36912a4a61c85b2b8ae9f725 652s 1..1 652s # Start of portal-support tests 652s # Start of flatpak tests 652s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_UXVQJ3/portal-support/flatpak/full/.dirs/home 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_UXVQJ3/portal-support/flatpak/full/.dirs/cache 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_UXVQJ3/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_UXVQJ3/portal-support/flatpak/full/.dirs/system-config2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_UXVQJ3/portal-support/flatpak/full/.dirs/config 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_UXVQJ3/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_UXVQJ3/portal-support/flatpak/full/.dirs/system-data2 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_UXVQJ3/portal-support/flatpak/full/.dirs/data 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_UXVQJ3/portal-support/flatpak/full/.dirs/state 652s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_UXVQJ3/portal-support/flatpak/full/.dirs/runtime 652s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_UXVQJ3/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 652s ok 1 /portal-support/flatpak/full 652s # End of flatpak tests 652s # End of portal-support tests 652s TAP version 14 652s # random seed: R02S7cc5efa972644bff4e49bde427687e79 652s 1..1 652s # Start of network-monitor tests 652s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 654s ok - glib/network-monitor-race.test 654s # Running test: glib/pattern.test 654s ok 1 /network-monitor/create-in-thread 654s # slow test /network-monitor/create-in-thread executed in 2.11 secs 654s # End of network-monitor tests 654s TAP version 14 654s # random seed: R02S0aacd910b936d3b45bb312e5571c3fa2 654s 1..90 654s # Start of pattern tests 654s # Start of compile tests 654s ok 1 /pattern/compile/0 654s ok 2 /pattern/compile/1 654s ok 3 /pattern/compile/2 654s ok 4 /pattern/compile/3 654s ok 5 /pattern/compile/4 654s ok 6 /pattern/compile/5 654s ok 7 /pattern/compile/6 654s ok 8 /pattern/compile/7 654s ok 9 /pattern/compile/8 654s ok 10 /pattern/compile/9 654s ok 11 /pattern/compile/10 654s ok 12 /pattern/compile/11 654s ok 13 /pattern/compile/12 654s ok 14 /pattern/compile/13 654s # End of compile tests 654s # Start of copy tests 654s ok 15 /pattern/copy/0 654s ok 16 /pattern/copy/1 654s ok 17 /pattern/copy/2 654s ok 18 /pattern/copy/3 654s ok 19 /pattern/copy/4 654s ok 20 /pattern/copy/5 654s ok 21 /pattern/copy/6 654s ok 22 /pattern/copy/7 654s ok 23 /pattern/copy/8 654s ok 24 /pattern/copy/9 654s ok 25 /pattern/copy/10 654s ok 26 /pattern/copy/11 654s ok 27 /pattern/copy/12 654s ok 28 /pattern/copy/13 654s # End of copy tests 654s # Start of match tests 654s ok 29 /pattern/match/0 654s ok 30 /pattern/match/1 654s ok 31 /pattern/match/2 654s ok 32 /pattern/match/3 654s ok 33 /pattern/match/4 654s ok 34 /pattern/match/5 654s ok 35 /pattern/match/6 654s ok 36 /pattern/match/7 654s ok 37 /pattern/match/8 654s ok 38 /pattern/match/9 654s ok - glib/pattern.test 654s # Running test: glib/cxx-03.test 654s ok - glib/cxx-03.test 654s # Running test: glib/signals-refcount1.test 654s ok 39 /pattern/match/10 654s ok 40 /pattern/match/11 654s ok 41 /pattern/match/12 654s ok 42 /pattern/match/13 654s ok 43 /pattern/match/14 654s ok 44 /pattern/match/15 654s ok 45 /pattern/match/16 654s ok 46 /pattern/match/17 654s ok 47 /pattern/match/18 654s ok 48 /pattern/match/19 654s ok 49 /pattern/match/20 654s ok 50 /pattern/match/21 654s ok 51 /pattern/match/22 654s ok 52 /pattern/match/23 654s ok 53 /pattern/match/24 654s ok 54 /pattern/match/25 654s ok 55 /pattern/match/26 654s ok 56 /pattern/match/27 654s ok 57 /pattern/match/28 654s ok 58 /pattern/match/29 654s ok 59 /pattern/match/30 654s ok 60 /pattern/match/31 654s ok 61 /pattern/match/32 654s ok 62 /pattern/match/33 654s ok 63 /pattern/match/34 654s ok 64 /pattern/match/35 654s ok 65 /pattern/match/36 654s ok 66 /pattern/match/37 654s ok 67 /pattern/match/38 654s ok 68 /pattern/match/39 654s ok 69 /pattern/match/40 654s ok 70 /pattern/match/41 654s ok 71 /pattern/match/42 654s ok 72 /pattern/match/43 654s ok 73 /pattern/match/44 654s ok 74 /pattern/match/45 654s ok 75 /pattern/match/46 654s ok 76 /pattern/match/47 654s ok 77 /pattern/match/48 654s ok 78 /pattern/match/49 654s ok 79 /pattern/match/50 654s # End of match tests 654s # Start of equal tests 654s ok 80 /pattern/equal/0 654s ok 81 /pattern/equal/1 654s ok 82 /pattern/equal/2 654s ok 83 /pattern/equal/3 654s ok 84 /pattern/equal/4 654s ok 85 /pattern/equal/5 654s ok 86 /pattern/equal/6 654s ok 87 /pattern/equal/7 654s ok 88 /pattern/equal/8 654s ok 89 /pattern/equal/9 654s ok 90 /pattern/equal/10 654s # End of equal tests 654s # End of pattern tests 654s TAP version 14 654s # random seed: R02S63cfbebd78851e3e42b71e0a2f3e7dc1 654s 1..2 654s # Start of gtask tests 654s # 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. 654s ok 1 /gtask/name 654s # Start of name tests 654s # 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. 654s ok 2 /gtask/name/macro-wrapper 654s # End of name tests 654s # End of gtask tests 654s TAP version 14 654s # random seed: R02S0e307f98ca5fc6a4d5ffdd27f30f743c 654s 1..1 654s # Start of gobject tests 654s # Start of refcount tests 654s # init 0x6137fe8544a0 654s # 654s # init 0x6137fe84c580 654s # 655s # Executing: glib/signals-refcount1.test 659s ok - glib/signals-refcount1.test 659s # Running test: glib/mutex.test 659s # dispose 0x6137fe8544a0! 659s # 659s # dispose 0x6137fe84c580! 659s # 659s ok 1 /gobject/refcount/signals 659s # slow test /gobject/refcount/signals executed in 5.00 secs 659s # End of refcount tests 659s # End of gobject tests 659s TAP version 14 659s # random seed: R02Sc2669784f07a2aca79652b8422da0895 659s 1..17 659s # Start of thread tests 659s ok 1 /thread/mutex1 659s ok 2 /thread/mutex2 659s ok 3 /thread/mutex3 659s ok 4 /thread/mutex4 660s # Executing: glib/mutex.test 663s ok 5 /thread/mutex5 663s # slow test /thread/mutex5 executed in 3.79 secs 663s # Start of mutex tests 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s # /thread/mutex/errno summary: Validates that errno is not touched upon return 663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 663s ok - glib/mutex.test 663s ok 6 /thread/mutex/errno 663s # Start of perf tests 663s # max perf: inf mips 663s ok 7 /thread/mutex/perf/uncontended 663s # Start of contended tests 663s # max perf: inf mips 663s ok 8 /thread/mutex/perf/contended/1 663s # max perf: inf mips 663s ok 9 /thread/mutex/perf/contended/2 663s # max perf: 4.000000 mips 663s ok 10 /thread/mutex/perf/contended/3 663s # max perf: 2.500000 mips 663s ok 11 /thread/mutex/perf/contended/4 663s # max perf: 6.000000 mips 663s ok 12 /thread/mutex/perf/contended/5 663s # max perf: 3.500000 mips 663s ok 13 /thread/mutex/perf/contended/6 663s # max perf: 4.000000 mips 663s ok 14 /thread/mutex/perf/contended/7 663s # max perf: 9.000000 mips 663s ok 15 /thread/mutex/perf/contended/8 663s # max perf: 10.000000 mips 663s ok 16 /thread/mutex/perf/contended/9 663s # max perf: 5.500000 mips 663s ok 17 /thread/mutex/perf/contended/10 663s # End of contended tests 663s # End of perf tests 663s # End of mutex tests 663s # End of thread tests 663s # Running test: glib/object.test 663s ok - glib/object.test 663s # Running test: glib/cond.test 663s TAP version 14 663s # random seed: R02Sc9a702e44868b86b5b8703daceb944c9 663s 1..2 663s # Start of object tests 663s # Start of constructor tests 663s ok 1 /object/constructor/singleton 663s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 663s # End of constructor tests 663s # End of object tests 663s TAP version 14 663s # random seed: R02Sc4884ec22b5a50a28681484b04473e45 663s 1..4 663s # Start of thread tests 663s ok 1 /thread/cond1 663s ok 2 /thread/cond2 663s # Start of cond tests 665s ok 3 /thread/cond/wait-until 665s # slow test /thread/cond/wait-until executed in 1.02 secs 665s # Start of wait-until tests 665s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 665s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 665s # Executing: glib/cond.test 666s ok 4 /thread/cond/wait-until/contended-and-interrupted 666s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 666s # End of wait-until tests 666s # End of cond tests 666s # End of thread tests 666s ok - glib/cond.test 666s # Running test: glib/atomic.test 666s TAP version 14 666s # random seed: R02Sd5d79ab11d49ae46b182667f706742fd 666s 1..2 666s # Start of atomic tests 666s ok 1 /atomic/types 666s ok 2 /atomic/threaded 666s ok - glib/atomic.test 666s # End of atomic tests 666s # Running test: glib/signals-refcount2.test 666s TAP version 14 666s # random seed: R02S8b9c4ae9aebf924a190c5bc73f05fb75 666s 1..1 666s # Start of gobject tests 666s # Start of refcount tests 666s # init 0x5c69ce3a04a0 666s # 666s # init 0x5c69ce398580 666s # 670s # Executing: glib/signals-refcount2.test 671s ok - glib/signals-refcount2.test 671s # dispose 0x5c69ce3a04a0! 671s # 671s # dispose 0x5c69ce398580! 671s # 671s ok 1 /gobject/refcount/signals 671s # slow test /gobject/refcount/signals executed in 5.00 secs 671s # End of refcount tests 671s # End of gobject tests 671s # Running test: glib/memory-monitor-poll.test 671s TAP version 14 671s # random seed: R02Se3d7902768a0f0c2d2cee50a0c2a9363 671s 1..4 671s # Start of memory-monitor-poll tests 671s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation poll (GMemoryMonitorPoll) for ‘gio-memory-monitor’ 671s ok 1 /memory-monitor-poll/dup-default 671s # GLib-GIO-DEBUG: memory free ratio 0.190000 671s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 671s ok 2 /memory-monitor-poll/critical-event 671s # GLib-GIO-DEBUG: memory free ratio 0.290000 671s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 671s ok 3 /memory-monitor-poll/medium-event 671s ok - glib/memory-monitor-poll.test 671s # GLib-GIO-DEBUG: memory free ratio 0.390000 671s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 671s ok 4 /memory-monitor-poll/low-event 671s # End of memory-monitor-poll tests 671s # Running test: glib/genmarshal.py.test 671s TAP version 13 671s ok 1 __main__.TestGenmarshal.test_empty_list 671s # glib-genmarshal: /usr/bin/glib-genmarshal 671s # tmpdir: /tmp/tmpe3gd88i4 671s # /tmp/tmpe3gd88i4/tmpsbpjh1wl.list: 671s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpe3gd88i4/tmpsbpjh1wl.list', '--header', '--quiet'] 671s # Return code: 0 671s # Output: 671s # /* 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. */ 671s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 671s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 671s # 671s # #include 671s # 671s # G_BEGIN_DECLS 671s # 671s # 671s # G_END_DECLS 671s # 671s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 671s # Error: 671s # 671s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpe3gd88i4/tmpsbpjh1wl.list', '--body', '--quiet'] 671s # Return code: 0 671s # Output: 671s # /* 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. */ 671s # #include 671s # 671s # #ifdef G_ENABLE_DEBUG 671s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 671s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 671s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 671s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 671s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 671s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 671s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 671s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 671s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 671s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 671s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 671s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 671s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 671s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 671s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 671s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 671s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 671s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 671s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 671s # #else /* !G_ENABLE_DEBUG */ 671s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 671s # * Do not access GValues directly in your code. Instead, use the 671s # * g_value_get_*() functions 671s # */ 671s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 671s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 671s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 671s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 671s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 671s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 671s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 671s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 671s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 671s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 671s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 671s # #endif /* !G_ENABLE_DEBUG */ 671s # Error: 671s ok 2 __main__.TestGenmarshal.test_help 671s # glib-genmarshal: /usr/bin/glib-genmarshal 671s # tmpdir: /tmp/tmp3lvkya3h 671s # Running: ['/usr/bin/glib-genmarshal', '--help'] 671s # Return code: 0 671s # Output: 671s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 671s # [--internal] [--valist-marshallers] [-v] 671s # [--g-fatal-warnings] [--include-header [HEADER]] 671s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 671s # [--prototypes] [--header] [--body] [--stdinc | 671s # --nostdinc] [--quiet | --verbose] 671s # [FILE ...] 671s # 671s # Generate signal marshallers for GObject 671s # 671s # positional arguments: 671s # FILE Files with lists of marshallers to generate, or "-" 671s # for standard input 671s # 671s # options: 671s # -h, --help show this help message and exit 671s # --prefix STRING Specify marshaller prefix 671s # --output FILE Write output into the specified file 671s # --skip-source Skip source location comments 671s # --internal Mark generated functions as internal 671s # --valist-marshallers Generate va_list marshallers 671s # -v, --version Print version information, and exit 671s # --g-fatal-warnings Make warnings fatal 671s # --include-header [HEADER] 671s # Include the specified header in the body 671s # --pragma-once Use "pragma once" as the inclusion guard 671s # -D CPP_DEFINES Pre-processor define 671s # -U CPP_UNDEFINES Pre-processor undefine 671s # --prototypes Generate the marshallers prototype in the C code 671s # --header Generate C headers 671s # --body Generate C code 671s # --stdinc Include standard marshallers 671s # --nostdinc Use standard marshallers 671s # --quiet Only print warnings and errors 671s # --verbose Be verbose, and include debugging information 671s # Error: 671s ok 3 __main__.TestGenmarshal.test_no_args 671s # glib-genmarshal: /usr/bin/glib-genmarshal 671s # tmpdir: /tmp/tmp4jmnag7x 671s # Running: ['/usr/bin/glib-genmarshal'] 671s # Return code: 0 671s # Output: 671s # 671s # Error: 671s ok 4 __main__.TestGenmarshal.test_void_boolean 671s # glib-genmarshal: /usr/bin/glib-genmarshal 671s # tmpdir: /tmp/tmp9p149_to 671s # /tmp/tmp9p149_to/tmpy_00i9wx.list: VOID:BOOLEAN 671s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp9p149_to/tmpy_00i9wx.list', '--header', '--quiet'] 671s # Return code: 0 671s # Output: 671s # /* 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. */ 671s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 671s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 671s # 671s # #include 671s # 671s # G_BEGIN_DECLS 671s # 671s # /* VOID:BOOLEAN (/tmp/tmp9p149_to/tmpy_00i9wx.list:1) */ 671s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 671s # 671s # 671s # G_END_DECLS 671s # 671s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 671s # Error: 671s # 671s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp9p149_to/tmpy_00i9wx.list', '--body', '--quiet'] 671s # Return code: 0 671s # Output: 671s # /* 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. */ 671s # #include 671s # 671s # #ifdef G_ENABLE_DEBUG 671s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 671s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 671s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 671s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 671s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 671s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 671s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 671s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 671s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 671s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 671s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 671s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 671s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 671s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 671s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 671s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 671s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 671s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 671s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 671s # #else /* !G_ENABLE_DEBUG */ 671s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 671s # * Do not access GValues directly in your code. Instead, use the 671s # * g_value_get_*() functions 671s # */ 671s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 671s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 671s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 671s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 671s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 671s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 671s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 671s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 671s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 671s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 671s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 671s # #endif /* !G_ENABLE_DEBUG */ 671s # Error: 671s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 671s # glib-genmarshal: /usr/bin/glib-genmarshal 671s # tmpdir: /tmp/tmpbm9wesm_ 671s # /tmp/tmpbm9wesm_/tmpw1fz6vyt.list: VOID:BOOLEAN,INT64 671s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpbm9wesm_/tmpw1fz6vyt.list', '--header', '--quiet'] 671s # Return code: 0 671s # Output: 671s # /* 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. */ 671s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 671s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 671s # 671s # #include 671s # 671s # G_BEGIN_DECLS 671s # 671s # /* VOID:BOOLEAN,INT64 (/tmp/tmpbm9wesm_/tmpw1fz6vyt.list:1) */ 671s # extern 671s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 671s # GValue *return_value, 671s # guint n_param_values, 671s # const GValue *param_values, 671s # gpointer invocation_hint, 671s # gpointer marshal_data); 671s # 671s # 671s # G_END_DECLS 671s # 671s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 671s # Error: 671s # 671s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpbm9wesm_/tmpw1fz6vyt.list', '--body', '--quiet'] 671s # Return code: 0 671s # Output: 671s # /* 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. */ 671s # #include 671s # 671s # #ifdef G_ENABLE_DEBUG 671s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 671s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 671s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 671s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 671s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 671s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 671s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 671s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 671s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 671s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 671s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 671s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 671s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 671s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 671s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 671s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 671s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 671s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 671s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 671s # #else /* !G_ENABLE_DEBUG */ 671s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 671s # * Do not access GValues directly in your code. Instead, use the 671s # * g_value_get_*() functions 671s # */ 671s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 671s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 671s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 671s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 671s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 671s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 671s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 671s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 671s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 671s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 671s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 671s # #endif /* !G_ENABLE_DEBUG */ 671s # 671s # /* VOID:BOOLEAN,INT64 (/tmp/tmpbm9wesm_/tmpw1fz6vyt.list:1) */ 671s # void 671s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 671s # GValue *return_value G_GNUC_UNUSED, 671s # guint n_param_values, 671s # const GValue *param_values, 671s # gpointer invocation_hint G_GNUC_UNUSED, 671s # gpointer marshal_data) 671s # { 671s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 671s # gboolean arg1, 671s # gint64 arg2, 671s # gpointer data2); 671s # GCClosure *cc = (GCClosure *) closure; 671s # gpointer data1, data2; 671s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 671s # 671s # g_return_if_fail (n_param_values == 3); 671s # 671s # if (G_CCLOSURE_SWAP_DATA (closure)) 671s # { 671s # data1 = closure->data; 671s # data2 = g_value_peek_pointer (param_values + 0); 671s # } 671s # else 671s # { 671s # data1 = g_value_peek_pointer (param_values + 0); 671s # data2 = closure->data; 671s # } 671s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 671s # 671s # callback (data1, 671s # g_marshal_value_peek_boolean (param_values + 1), 671s # g_marshal_value_peek_int64 (param_values + 2), 671s # data2); 671s # } 671s # Error: 671s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 671s # glib-genmarshal: /usr/bin/glib-genmarshal 671s # tmpdir: /tmp/tmpc9nz4wy0 671s # /tmp/tmpc9nz4wy0/tmpwouz3xwg.list: VOID:PARAM 671s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpc9nz4wy0/tmpwouz3xwg.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 671s # Return code: 0 671s # Output: 671s # /* 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. */ 671s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 671s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 671s # 671s # G_BEGIN_DECLS 671s # 671s # /* VOID:PARAM (/tmp/tmpc9nz4wy0/tmpwouz3xwg.list:1) */ 671s # extern 671s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 671s # GValue *return_value, 671s # guint n_param_values, 671s # const GValue *param_values, 671s # gpointer invocation_hint, 671s # gpointer marshal_data); 671s # extern 671s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 671s # GValue *return_value, 671s # gpointer instance, 671s # va_list args, 671s # gpointer marshal_data, 671s # int n_params, 671s # GType *param_types); 671s # 671s # 671s # G_END_DECLS 671s # 671s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 671s # Error: 671s # 671s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpc9nz4wy0/tmpwouz3xwg.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 671s # Return code: 0 671s # Output: 671s # /* 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. */ 671s # #ifdef G_ENABLE_DEBUG 671s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 671s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 671s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 671s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 671s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 671s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 671s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 671s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 671s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 671s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 671s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 671s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 671s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 671s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 671s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 671s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 671s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 671s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 671s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 671s # #else /* !G_ENABLE_DEBUG */ 671s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 671s # * Do not access GValues directly in your code. Instead, use the 671s # * g_value_get_*() functions 671s # */ 671s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 671s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 671s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 671s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 671s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 671s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 671s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 671s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 671s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 671s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 671s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 671s # #endif /* !G_ENABLE_DEBUG */ 671s # 671s # /* VOID:PARAM (/tmp/tmpc9nz4wy0/tmpwouz3xwg.list:1) */ 671s # void 671s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 671s # GValue *return_value G_GNUC_UNUSED, 671s # guint n_param_values, 671s # const GValue *param_values, 671s # gpointer invocation_hint G_GNUC_UNUSED, 671s # gpointer marshal_data) 671s # { 671s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 671s # gpointer arg1, 671s # gpointer data2); 671s # GCClosure *cc = (GCClosure *) closure; 671s # gpointer data1, data2; 671s # GMarshalFunc_VOID__PARAM callback; 671s # 671s # g_return_if_fail (n_param_values == 2); 671s # 671s # if (G_CCLOSURE_SWAP_DATA (closure)) 671s # { 671s # data1 = closure->data; 671s # data2 = g_value_peek_pointer (param_values + 0); 671s # } 671s # else 671s # { 671s # data1 = g_value_peek_pointer (param_values + 0); 671s # data2 = closure->data; 671s # } 671s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 671s # 671s # callback (data1, 671s # g_marshal_value_peek_param (param_values + 1), 671s # data2); 671s # } 671s # 671s # void 671s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 671s # GValue *return_value G_GNUC_UNUSED, 671s # gpointer instance, 671s # va_list args, 671s # gpointer marshal_data, 671s # int n_params, 671s # GType *param_types) 671s # { 671s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 671s # gpointer arg1, 671s # gpointer data2); 671s # GCClosure *cc = (GCClosure *) closure; 671s # gpointer data1, data2; 671s # GMarshalFunc_VOID__PARAM callback; 671s # gpointer arg0; 671s # va_list args_copy; 671s # 671s # va_copy (args_copy, args); 671s # arg0 = (gpointer) va_arg (args_copy, gpointer); 671s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 671s # arg0 = g_param_spec_ref (arg0); 671s # va_end (args_copy); 671s # 671s # 671s # if (G_CCLOSURE_SWAP_DATA (closure)) 671s # { 671s # data1 = closure->data; 671s # data2 = instance; 671s # } 671s # else 671s # { 671s # data1 = instance; 671s # data2 = closure->data; 671s # } 671s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 671s # 671s # callback (data1, 671s # arg0, 671s # data2); 671s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 671s # g_param_spec_unref (arg0); 671s # } 671s # Error: 671s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 671s # glib-genmarshal: /usr/bin/glib-genmarshal 671s # tmpdir: /tmp/tmpjy7st1kd 671s # /tmp/tmpjy7st1kd/tmptulawzpu.list: VOID:STRING 671s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpjy7st1kd/tmptulawzpu.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 671s # Return code: 0 671s # Output: 671s # /* 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. */ 671s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 671s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 671s # 671s # G_BEGIN_DECLS 671s # 671s # /* VOID:STRING (/tmp/tmpjy7st1kd/tmptulawzpu.list:1) */ 671s # extern 671s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 671s # GValue *return_value, 671s # guint n_param_values, 671s # const GValue *param_values, 671s # gpointer invocation_hint, 671s # gpointer marshal_data); 671s # extern 671s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 671s # GValue *return_value, 671s # gpointer instance, 671s # va_list args, 671s # gpointer marshal_data, 671s # int n_params, 671s # GType *param_types); 671s # 671s # 671s # G_END_DECLS 671s # 671s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 671s # Error: 671s # 671s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpjy7st1kd/tmptulawzpu.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 671s # Return code: 0 671s # Output: 671s # /* 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. */ 671s # #ifdef G_ENABLE_DEBUG 671s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 671s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 671s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 671s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 671s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 671s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 671s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 671s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 671s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 671s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 671s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 671s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 671s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 671s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 671s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 671s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 671s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 671s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 671s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 671s # #else /* !G_ENABLE_DEBUG */ 671s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 671s # * Do not access GValues directly in your code. Instead, use the 671s # * g_value_get_*() functions 671s # */ 671s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 671s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 671s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 671s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 671s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 671s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 671s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 671s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 671s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 671s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 671s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 671s # #endif /* !G_ENABLE_DEBUG */ 671s # 671s # /* VOID:STRING (/tmp/tmpjy7st1kd/tmptulawzpu.list:1) */ 671s # void 671s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 671s # GValue *return_value G_GNUC_UNUSED, 671s # guint n_param_values, 671s # const GValue *param_values, 671s # gpointer invocation_hint G_GNUC_UNUSED, 671s # gpointer marshal_data) 671s # { 671s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 671s # gpointer arg1, 671s # gpointer data2); 671s # GCClosure *cc = (GCClosure *) closure; 671s # gpointer data1, data2; 671s # GMarshalFunc_VOID__STRING callback; 671s # 671s # g_return_if_fail (n_param_values == 2); 671s # 671s # if (G_CCLOSURE_SWAP_DATA (closure)) 671s # { 671s # data1 = closure->data; 671s # data2 = g_value_peek_pointer (param_values + 0); 671s # } 671s # else 671s # { 671s # data1 = g_value_peek_pointer (param_values + 0); 671s # data2 = closure->data; 671s # } 671s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 671s # 671s # callback (data1, 671s # g_marshal_value_peek_string (param_values + 1), 671s # data2); 671s # } 671s # 671s # void 671s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 671s # GValue *return_value G_GNUC_UNUSED, 671s # gpointer instance, 671s # va_list args, 671s # gpointer marshal_data, 671s # int n_params, 671s # GType *param_types) 671s # { 671s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 671s # gpointer arg1, 671s # gpointer data2); 671s # GCClosure *cc = (GCClosure *) closure; 671s # gpointer data1, data2; 671s # GMarshalFunc_VOID__STRING callback; 671s # gpointer arg0; 671s # va_list args_copy; 671s # 671s # va_copy (args_copy, args); 671s # arg0 = (gpointer) va_arg (args_copy, gpointer); 671s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 671s # arg0 = g_strdup (arg0); 671s # va_end (args_copy); 671s # 671s # 671s # if (G_CCLOSURE_SWAP_DATA (closure)) 671s # { 671s # data1 = closure->data; 671s # data2 = instance; 671s # } 671s # else 671s # { 671s # data1 = instance; 671s # data2 = closure->data; 671s # } 671s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 671s # 671s # callback (data1, 671s # arg0, 671s # data2); 671s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 671s # g_free (arg0); 671s # } 671s # Error: 671s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 671s # glib-genmarshal: /usr/bin/glib-genmarshal 671s # tmpdir: /tmp/tmpt2_5ck_c 671s # /tmp/tmpt2_5ck_c/tmpzd_8b6am.list: VOID:VARIANT 671s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpt2_5ck_c/tmpzd_8b6am.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 671s # Return code: 0 671s # Output: 671s # /* 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. */ 671s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 671s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 671s # 671s # G_BEGIN_DECLS 671s # 671s # /* VOID:VARIANT (/tmp/tmpt2_5ck_c/tmpzd_8b6am.list:1) */ 671s # extern 671s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 671s # GValue *return_value, 671s # guint n_param_values, 671s # const GValue *param_values, 671s # gpointer invocation_hint, 671s # gpointer marshal_data); 671s # extern 671s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 671s # GValue *return_value, 671s # gpointer instance, 671s # va_list args, 671s # gpointer marshal_data, 671s # int n_params, 671s # GType *param_types); 671s # 671s # 671s # G_END_DECLS 671s # 671s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 671s # Error: 671s # 671s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpt2_5ck_c/tmpzd_8b6am.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 671s # Return code: 0 671s # Output: 671s # /* 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. */ 671s # #ifdef G_ENABLE_DEBUG 671s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 671s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 671s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 671s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 671s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 671s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 671s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 671s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 671s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 671s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 671s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 671s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 671s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 671s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 671s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 671s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 671s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 671s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 671s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 671s # #else /* !G_ENABLE_DEBUG */ 671s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 671s # * Do not access GValues directly in your code. Instead, use the 671s # * g_value_get_*() functions 671s # */ 671s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 671s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 671s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 671s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 671s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 671s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 671s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 671s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 671s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 671s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 671s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 671s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 671s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 671s # #endif /* !G_ENABLE_DEBUG */ 671s # 671s # /* VOID:VARIANT (/tmp/tmpt2_5ck_c/tmpzd_8b6am.list:1) */ 671s # void 671s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 671s # GValue *return_value G_GNUC_UNUSED, 671s # guint n_param_values, 671s # const GValue *param_values, 671s # gpointer invocation_hint G_GNUC_UNUSED, 671s # gpointer marshal_data) 671s # { 671s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 671s # gpointer arg1, 671s # gpointer data2); 671s # GCClosure *cc = (GCClosure *) closure; 671s # gpointer data1, data2; 671s # GMarshalFunc_VOID__VARIANT callback; 671s # 671s # g_return_if_fail (n_param_values == 2); 671s # 671s # if (G_CCLOSURE_SWAP_DATA (closure)) 671s # { 671s # data1 = closure->data; 671s # data2 = g_value_peek_pointer (param_values + 0); 671s # } 671s # else 671s # { 671s # data1 = g_value_peek_pointer (param_values + 0); 671s # data2 = closure->data; 671s # } 671s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 671s # 671s # callback (data1, 671s # g_marshal_value_peek_variant (param_values + 1), 671s # data2); 671s # } 671s # 671s # void 671s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 671s # GValue *return_value G_GNUC_UNUSED, 671s # gpointer instance, 671s # va_list args, 671s # gpointer marshal_data, 671s # int n_params, 671s # GType *param_types) 671s # { 671s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 671s # gpointer arg1, 671s # gpointer data2); 671s # GCClosure *cc = (GCClosure *) closure; 671s # gpointer data1, data2; 671s # GMarshalFunc_VOID__VARIANT callback; 671s # gpointer arg0; 671s # va_list args_copy; 671s # 671s # va_copy (args_copy, args); 671s # arg0 = (gpointer) va_arg (args_copy, gpointer); 671s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 671s # arg0 = g_variant_ref_sink (arg0); 671s # va_end (args_copy); 671s # 671s # 671s # if (G_CCLOSURE_SWAP_DATA (closure)) 671s # { 671s # data1 = closure->data; 671s # data2 = instance; 671s # } 671s # else 671s # { 671s # data1 = instance; 671s # data2 = closure->data; 671s # } 671s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 671s # 671s # callback (data1, 671s # arg0, 671s # data2); 671s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 671s # g_variant_unref (arg0); 671s # } 671s # Error: 671s 1..8 671s ok - glib/genmarshal.py.test 671s # Running test: glib/properties-refcount3.test 671s TAP version 14 671s # random seed: R02S808610148c72fee68cf73b657e1b6e4d 671s 1..1 671s # Start of gobject tests 671s # Start of refcount tests 675s # Executing: glib/properties-refcount3.test 680s # Executing: glib/properties-refcount3.test 685s # Executing: glib/properties-refcount3.test 690s # Executing: glib/properties-refcount3.test 695s # Executing: glib/properties-refcount3.test 700s # Executing: glib/properties-refcount3.test 701s ok - glib/properties-refcount3.test 701s # 701s # stopping 701s # 701s # stopped 701s # 701s # 30242411 593981 701s # 701s ok 1 /gobject/refcount/properties-3 701s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 701s # End of refcount tests 701s # End of gobject tests 701s # Running test: glib/spawn-singlethread.test 701s TAP version 14 701s # random seed: R02S90f3c3869ba03adebd4a473b8b07595d 701s 1..9 701s # Start of gthread tests 701s ok - glib/spawn-singlethread.test 701s # Running test: glib/bindinggroup.test 701s ok - glib/bindinggroup.test 701s # Running test: glib/unix-mounts.test 701s ok - glib/unix-mounts.test 701s # Running test: glib/gutils-user-database.test 701s ok - glib/gutils-user-database.test 701s # Running test: glib/signals-refcount3.test 701s ok 1 /gthread/spawn-single-sync 701s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 701s ok 2 /gthread/spawn-stderr-socket 701s ok 3 /gthread/spawn-single-async 701s # thread 1 701s # thread 1 701s ok 4 /gthread/spawn-single-async-with-fds 701s ok 5 /gthread/spawn-async-with-invalid-fds 701s ok 6 /gthread/spawn-script 701s ok 7 /gthread/spawn-posix-spawn 701s # Start of spawn tests 701s ok 8 /gthread/spawn/nonexistent 701s # FD map: 701s # • 5 → 15 701s # • 6 → 16 701s # • 7 → 17 701s # • 8 → 18 701s # • 9 → 19 701s # • 10 → 20 701s # • 11 → 21 701s # • 12 → 22 701s # • 13 → 23 701s # • 3 → 13 701s ok 9 /gthread/spawn/fd-assignment-clash 701s # End of spawn tests 701s # End of gthread tests 701s TAP version 14 701s # random seed: R02Sf4dd074d9045183ecb8372046c744981 701s 1..11 701s # Start of GObject tests 701s # Start of BindingGroup tests 701s ok 1 /GObject/BindingGroup/invalid 701s ok 2 /GObject/BindingGroup/default 701s ok 3 /GObject/BindingGroup/bidirectional 701s ok 4 /GObject/BindingGroup/transform 701s ok 5 /GObject/BindingGroup/transform-closures 701s ok 6 /GObject/BindingGroup/same-object 701s ok 7 /GObject/BindingGroup/weak-ref-source 701s ok 8 /GObject/BindingGroup/weak-ref-target 701s ok 9 /GObject/BindingGroup/properties 701s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 701s ok 11 /GObject/BindingGroup/empty-closures 701s # End of BindingGroup tests 701s # End of GObject tests 701s TAP version 14 701s # random seed: R02Seb61a2f4d250e0a2da1704f5c232f22b 701s 1..4 701s # Start of unix-mounts tests 701s ok 1 /unix-mounts/is-system-fs-type 701s ok 2 /unix-mounts/is-system-device-path 701s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 701s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 701s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 701s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 701s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 701s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 701s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 701s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 701s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 701s ok 3 /unix-mounts/get-mount-points 701s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 701s ok 4 /unix-mounts/get-mount-entries 701s # End of unix-mounts tests 701s TAP version 14 701s # random seed: R02Se56b2b77d2027c9c749ab245ba084a6b 701s 1..1 701s # Start of gutils tests 701s ok 1 /gutils/get_user_database_entry 701s # End of gutils tests 701s TAP version 14 701s # random seed: R02S1bbffdbcf7f916650c8fb5eb31f3e33f 701s 1..1 701s # Start of gobject tests 701s # Start of refcount tests 701s # init 0x5602172204a0 701s # 701s # init 0x560217218580 701s # 705s # Executing: glib/signals-refcount3.test 706s # dispose 0x5602172204a0! 706s # 706s # dispose 0x560217218580! 706s # 706s ok 1 /gobject/refcount/signals 706s # slow test /gobject/refcount/signals executed in 5.00 secs 706s # End of refcount tests 706s # End of gobject tests 706s ok - glib/signals-refcount3.test 706s # Running test: glib/rand.test 706s TAP version 14 706s # random seed: R02Sfef5a78137f876106ab64915f5e92765 706s 1..2 706s # Start of rand tests 706s ok - glib/rand.test 706s ok 1 /rand/test-rand 706s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 706s ok 2 /rand/double-range 706s # End of rand tests 706s # Running test: glib/enums.test 706s TAP version 14 706s # random seed: R02Se7a0088d68dc46a2db5186fa96dcd5d1 706s 1..4 706s # Start of enum tests 706s ok 1 /enum/basic 706s ok 2 /enum/define-type 706s # End of enum tests 706s # Start of flags tests 706s ok 3 /flags/basic 706s ok 4 /flags/define-type 706s # End of flags tests 706s ok - glib/enums.test 706s # Running test: glib/gi-inspect-typelib.py.test 706s TAP version 13 706s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 706s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 706s # tmpdir: /tmp/tmpvhpo8f2q 706s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 706s # Return code: 0 706s # Output: 706s # Usage: 706s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 706s # 706s # Help Options: 706s # -h, --help Show help options 706s # 706s # Application Options: 706s # --typelib-version=VERSION Typelib version to inspect 706s # --print-shlibs List the shared libraries the typelib requires 706s # --print-typelibs List other typelibs the inspected typelib requires 706s # Error: 706s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 706s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 706s # tmpdir: /tmp/tmp76hykjir 706s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 706s # Return code: 1 706s # Output: 706s # 706s # Error: 706s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 706s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 706s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 706s # tmpdir: /tmp/tmpliny9jl8 706s # Running: ['/usr/bin/gi-inspect-typelib'] 706s # Return code: 1 706s # Output: 706s # 706s # Error: 706s # Please specify exactly one namespace 706s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 706s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 706s # tmpdir: /tmp/tmp5ssvmgcn 706s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 706s # Return code: 0 706s # Output: 706s # shlib: libgobject-2.0.so.0 706s # shlib: libglib-2.0.so.0 706s # Error: 706s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 706s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 706s # tmpdir: /tmp/tmp6wk02lh8 706s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 706s # Return code: 0 706s # Output: 706s # 706s # Error: 706s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 706s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 706s # tmpdir: /tmp/tmpl69hglg7 706s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 706s # Return code: 0 706s # Output: 706s # shlib: libgobject-2.0.so.0 706s # shlib: libglib-2.0.so.0 706s # Error: 706s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 706s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 706s # tmpdir: /tmp/tmp27faymc5 706s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 706s # Return code: 0 706s # Output: 706s # shlib: libgobject-2.0.so.0 706s # Error: 706s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 706s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 706s # tmpdir: /tmp/tmpzhm9h6h0 706s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 706s # Return code: 0 706s # Output: 706s # typelib: GLib-2.0 706s # Error: 706s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 706s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 706s # tmpdir: /tmp/tmpwszg5t33 706s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 706s # Return code: 0 706s # Output: 706s # shlib: libgobject-2.0.so.0 706s # typelib: GLib-2.0 706s # Error: 706s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 706s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 706s # tmpdir: /tmp/tmpamubowwx 706s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 706s # Return code: 0 706s # Output: 706s # shlib: libgio-2.0.so.0 706s # Error: 706s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 706s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 706s # tmpdir: /tmp/tmp3193unf0 706s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 706s # Return code: 0 706s # Output: 706s # typelib: GObject-2.0 706s # typelib: GLib-2.0 706s # typelib: GModule-2.0 706s # Error: 706s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 706s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 706s # tmpdir: /tmp/tmpqlaalu66 706s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 706s # Return code: 0 706s # Output: 706s # shlib: libgio-2.0.so.0 706s # typelib: GObject-2.0 706s # typelib: GLib-2.0 706s # typelib: GModule-2.0 706s # Error: 706s 1..12 706s ok - glib/gi-inspect-typelib.py.test 706s # Running test: glib/network-monitor.test 706s ok - glib/network-monitor.test 706s # Running test: glib/markup-subparser.test 706s TAP version 14 706s # random seed: R02S961b9978904e68c1af0b14845e5d57f7 706s 1..4 706s # Start of network-monitor tests 706s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 706s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 706s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 706s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 706s ok 1 /network-monitor/default 706s ok 2 /network-monitor/remove_default 706s ok 3 /network-monitor/add_networks 706s ok 4 /network-monitor/remove_networks 706s # End of network-monitor tests 706s TAP version 14 706s # random seed: R02S9d02c1f912f642982d25fa85c8989ecd 706s 1..14 706s # Start of glib tests 706s # Start of markup tests 706s # Start of subparser tests 706s # Start of success tests 706s ok - glib/markup-subparser.test 706s # Running test: glib/gdbus-connection-flush.test 706s ok 1 /glib/markup/subparser/success/0 706s ok 2 /glib/markup/subparser/success/1 706s ok 3 /glib/markup/subparser/success/2 706s ok 4 /glib/markup/subparser/success/3 706s ok 5 /glib/markup/subparser/success/4 706s ok 6 /glib/markup/subparser/success/5 706s ok 7 /glib/markup/subparser/success/6 706s # End of success tests 706s # Start of failure tests 706s ok 8 /glib/markup/subparser/failure/0 706s ok 9 /glib/markup/subparser/failure/1 706s ok 10 /glib/markup/subparser/failure/2 706s ok 11 /glib/markup/subparser/failure/3 706s ok 12 /glib/markup/subparser/failure/4 706s ok 13 /glib/markup/subparser/failure/5 706s ok 14 /glib/markup/subparser/failure/6 706s # End of failure tests 706s # End of subparser tests 706s # End of markup tests 706s # End of glib tests 706s TAP version 14 706s # random seed: R02Sa8ec2ab68301ffed5d0aa2da935d2a36 706s 1..2 706s # Start of gdbus tests 706s # Start of connection tests 706s # Start of flush tests 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/busy/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/busy/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/busy/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/busy/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/busy/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/busy/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/busy/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/busy/.dirs/runtime 706s ok 1 /gdbus/connection/flush/busy 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/idle/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/idle/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/idle/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/idle/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/idle/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/idle/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/idle/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_K5BIJ3/gdbus/connection/flush/idle/.dirs/runtime 706s ok - glib/gdbus-connection-flush.test 706s ok 2 /gdbus/connection/flush/idle 706s # End of flush tests 706s # End of connection tests 706s # End of gdbus tests 706s # Running test: glib/resources.test 706s TAP version 14 706s # random seed: R02S3a50a14277efe726c7b084af56b65c78 706s 1..19 706s # Start of resource tests 706s ok 1 /resource/file 706s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 706s ok 2 /resource/file-path 706s ok 3 /resource/data 706s ok 4 /resource/data_unaligned 706s ok 5 /resource/data-corrupt 706s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 706s ok 6 /resource/data-corrupt-compression 706s ok 7 /resource/data-empty 706s ok 8 /resource/registered 706s ok 9 /resource/manual 706s ok 10 /resource/manual2 706s ok 11 /resource/automatic 706s ok 12 /resource/module 706s ok 13 /resource/binary-linked 706s ok 14 /resource/64k 706s GLib-GIO-Message: 12:37:28.777: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 706s GLib-GIO-Message: 12:37:28.777: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 706s GLib-GIO-Message: 12:37:28.777: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 706s ok 15 /resource/overlay 706s ok 16 /resource/digits 706s ok 17 /resource/has-children 706s # Start of uri tests 706s ok 18 /resource/uri/query-info 706s ok 19 /resource/uri/file 706s # End of uri tests 706s # End of resource tests 706s ok - glib/resources.test 706s # Running test: glib/hmac.test 706s TAP version 14 706s # random seed: R02Sebcf66601451b197e88c55014073de93 706s 1..37 706s # Start of hmac tests 706s ok 1 /hmac/sha1-1 706s ok 2 /hmac/sha1-2 706s ok 3 /hmac/sha1-3 706s ok 4 /hmac/sha1-4 706s ok 5 /hmac/sha1-5 706s ok 6 /hmac/sha1-6 706s ok 7 /hmac/sha1-7 706s ok 8 /hmac/sha256-1 706s ok 9 /hmac/sha256-2 706s ok 10 /hmac/sha256-3 706s ok 11 /hmac/sha256-4 706s ok 12 /hmac/sha256-5 706s ok 13 /hmac/sha256-6 706s ok 14 /hmac/sha384-1 706s ok 15 /hmac/sha384-2 706s ok 16 /hmac/sha384-3 706s ok 17 /hmac/sha384-4 706s ok 18 /hmac/sha384-5 706s ok 19 /hmac/sha384-6 706s ok 20 /hmac/sha512-1 706s ok 21 /hmac/sha512-2 706s ok 22 /hmac/sha512-3 706s ok 23 /hmac/sha512-4 706s ok 24 /hmac/sha512-5 706s ok 25 /hmac/sha512-6 706s ok 26 /hmac/md5-1 706s ok 27 /hmac/md5-2 706s ok 28 /hmac/md5-3 706s ok 29 /hmac/md5-4 706s ok 30 /hmac/md5-5 706s ok 31 /hmac/md5-6 706s ok 32 /hmac/md5-7 706s ok 33 /hmac/ref-unref 706s ok 34 /hmac/copy 706s ok 35 /hmac/for-data 706s ok 36 /hmac/for-string 706s ok 37 /hmac/for-bytes 706s # End of hmac tests 706s ok - glib/hmac.test 706s # Running test: glib/application-command-line.test 706s ok - glib/application-command-line.test 706s TAP version 14 706s # random seed: R02S9b3de567972039ae2c2fe7745e06a392 706s 1..1 706s # Start of application-command-line tests 706s ok 1 /application-command-line/basic-properties 706s # End of application-command-line tests 706s # Running test: glib/properties-refcount1.test 706s TAP version 14 706s # random seed: R02S191f72490f539423ba3173864925df01 706s 1..1 706s # Start of gobject tests 706s # Start of refcount tests 706s # .f 706s # .c 706s # .e 706s # .e 706s # .d 706s # .b 706s # .d 706s # .f 706s # .c 706s # .e 706s # .f 706s # .b 706s # .d 706s # .c 706s # .e 706s # .c 706s # .f 706s # .e 706s # .b 706s # .c 707s # .f 707s # .d 707s # .b 707s # .c 707s # .e 707s # .e 707s # .d 707s # .b 707s # .c 707s # .f 707s # .e 707s # .d 707s # .b 707s # .e 707s # .f 707s # .c 707s # .b 707s # .d 707s # .e 707s # .f 707s # .b 707s # .d 707s # .c 707s # .e 707s # .d 707s # .f 707s # .d 707s # .b 707s # .c 707s # .f 707s # .e 707s # .d 707s # .e 707s # .b 707s # .c 707s # .d 707s # .f 707s # .e 707s # .b 707s # .e 707s # .c 707s # .f 707s # .b 707s # .d 707s # .f 707s # .c 707s # .e 707s # .b 707s # .f 707s # .d 707s # .b 707s # .e 707s # .c 707s # .f 707s # .f 707s # .d 707s # .e 707s # .b 707s # .c 707s # .c 707s # .f 707s # .e 707s # .d 707s # .f 707s # .f 707s # .c 707s # .b 707s # .f 707s # .e 707s # .d 707s # .f 707s # .c 707s # .b 707s # .e 707s # .d 707s # .c 707s # .e 707s # .d 707s # .f 707s # .c 707s # .e 707s # .c 707s # .b 707s # .d 707s # .f 707s # .c 707s # .e 707s # .b 707s # .c 707s # .d 707s # .f 707s # .e 707s # .b 707s # .d 707s # .f 707s # .e 707s # .c 707s # .b 707s # .d 707s # .b 707s # .f 707s # .c 707s # .e 707s # .d 707s # .b 707s # .c 707s # .f 707s # .c 707s # .d 707s # .f 707s # .b 707s # .d 707s # .b 707s # .e 707s # .f 707s # .f 707s # .c 707s # .b 707s # .e 708s # .d 708s # .b 708s # .c 708s # .f 708s # .c 708s # .c 708s # .e 708s # .d 708s # .b 708s # .f 708s # .e 708s # .c 708s # .d 708s # .e 708s # .f 708s # .d 708s # .b 708s # .f 708s # .e 708s # .c 708s # .d 708s # .b 708s # .e 708s # .f 708s # .d 708s # .f 708s # .b 708s # .c 708s # .d 708s # .b 708s # .e 708s # .d 708s # .c 708s # .f 708s # .e 708s # .d 708s # .f 708s # .f 708s # .b 708s # .e 708s # .c 708s # .e 708s # .d 708s # .f 708s # .b 708s # .c 708s # .e 708s # .d 708s # .b 708s # .e 708s # .d 708s # .c 708s # .f 708s # .d 708s # .c 708s # .b 708s # .f 708s # .f 708s # .e 708s # .c 708s # .b 708s # .e 708s # .f 708s # .d 708s # .c 708s # .b 708s # .e 708s # .d 708s # .f 708s # .f 708s # .b 708s # .d 708s # .e 708s # .c 708s # .e 708s # .b 708s # .f 708s # .d 708s # .c 708s # .f 708s # .b 708s # .d 708s # .b 708s # .e 708s # .c 708s # .f 708s # .b 708s # .c 708s # .f 708s # .e 708s # .b 708s # .d 708s # .f 708s # .d 708s # .c 708s # .e 708s # .f 708s # .d 708s # .c 708s # .b 708s # .c 708s # .e 708s # .d 708s # .b 708s # .f 708s # .c 708s # .e 708s # .f 708s # .d 708s # .f 708s # .b 708s # .e 708s # .f 708s # .c 708s # .c 708s # .b 708s # .e 708s # .c 708s # .d 708s # .c 708s # .b 708s # .f 709s # .e 709s # .c 709s # .d 709s # .b 709s # .c 709s # .f 709s # .b 709s # .f 709s # .e 709s # .b 709s # .d 709s # .e 709s # .c 709s # .d 709s # .d 709s # .b 709s # .e 709s # .f 709s # .c 709s # .b 709s # .e 709s # .d 709s # .f 709s # .c 709s # .c 709s # .d 709s # .b 709s # .e 709s # .d 709s # .f 709s # .b 709s # .d 709s # .b 709s # .c 709s # .f 709s # .e 709s # .f 709s # .c 709s # .b 709s # .f 709s # .e 709s # .d 709s # .c 709s # .c 709s # .e 709s # .b 709s # .f 709s # .d 709s # .b 709s # .f 709s # .b 709s # .c 709s # .e 709s # .c 709s # .f 709s # .e 709s # .d 709s # .c 709s # .b 709s # .f 709s # .d 709s # .e 709s # .c 709s # .f 709s # .b 709s # .d 709s # .e 709s # .d 709s # .c 709s # .f 709s # .f 709s # .c 709s # .e 709s # .b 709s # .d 709s # .b 709s # .c 709s # .f 709s # .e 709s # .b 709s # .d 709s # .c 709s # .b 709s # .e 709s # .d 709s # .f 709s # .b 709s # .f 709s # .e 709s # .f 709s # .c 709s # .d 709s # .b 709s # .f 709s # .d 709s # .e 709s # .c 709s # .f 709s # .b 709s # .f 709s ok 1 /gobject/refcount/properties-1 709s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 709s # End of refcount tests 709s # End of gobject tests 709s ok - glib/properties-refcount1.test 709s # Running test: glib/refcount.test 709s ok - glib/refcount.test 709s # Running test: glib/gdbus-message.test 709s TAP version 14 709s # random seed: R02S65dacd12e47ba8207499ade4b03b1bde 709s 1..4 709s # Start of refcount tests 709s ok 1 /refcount/grefcount 709s ok 2 /refcount/gatomicrefcount 709s # Start of grefcount tests 709s ok 3 /refcount/grefcount/saturation 709s # End of grefcount tests 709s # Start of gatomicrefcount tests 709s ok 4 /refcount/gatomicrefcount/saturation 709s # End of gatomicrefcount tests 709s # End of refcount tests 709s ok - glib/gdbus-message.test 709s TAP version 14 709s # random seed: R02S50446b863b385c99623f1c52d12ed4aa 709s 1..3 709s # Start of gdbus tests 709s # Start of message tests 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/lock/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/lock/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_EO7QJ3/gdbus/message/lock/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/lock/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_EO7QJ3/gdbus/message/lock/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/lock/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/lock/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/lock/.dirs/runtime 709s ok 1 /gdbus/message/lock 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/copy/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/copy/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_EO7QJ3/gdbus/message/copy/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/copy/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_EO7QJ3/gdbus/message/copy/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/copy/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/copy/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/copy/.dirs/runtime 709s ok 2 /gdbus/message/copy 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/bytes-needed/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/bytes-needed/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_EO7QJ3/gdbus/message/bytes-needed/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/bytes-needed/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_EO7QJ3/gdbus/message/bytes-needed/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/bytes-needed/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/bytes-needed/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_EO7QJ3/gdbus/message/bytes-needed/.dirs/runtime 709s # Vector: 0 709s # Vector: 1 709s # Vector: 2 709s # Vector: 3 709s # Vector: 4 709s # Vector: 5 709s ok 3 /gdbus/message/bytes-needed 709s # End of message tests 709s # End of gdbus tests 709s # Running test: glib/contexts.test 709s TAP version 14 709s # random seed: R02S8ad3fdeb8488ceb21773f1d0f863f482 709s 1..5 709s # Start of gio tests 709s # Start of contexts tests 709s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 709s ok 1 /gio/contexts/thread-independence 709s ok 2 /gio/contexts/context-independence 709s # Start of context-specific tests 709s ok 3 /gio/contexts/context-specific/identity 709s ok 4 /gio/contexts/context-specific/emit 709s ok 5 /gio/contexts/context-specific/emit-and-unref 709s # End of context-specific tests 709s # End of contexts tests 709s # End of gio tests 709s ok - glib/contexts.test 709s # Running test: glib/defaultiface.test 709s TAP version 14 709s # random seed: R02S578e911b067ba646da95e8ccd058db30 709s 1..2 709s # Start of gobject tests 709s ok 1 /gobject/static-iface 709s ok 2 /gobject/dynamic-iface 709s # End of gobject tests 709s ok - glib/defaultiface.test 709s # Running test: glib/dataset.test 709s TAP version 14 709s # random seed: R02Se2dfc102ab432b0c038bb5966d0e7632 709s 1..15 709s # Start of quark tests 709s ok 1 /quark/basic 709s ok 2 /quark/string 709s # End of quark tests 709s # Start of dataset tests 709s ok 3 /dataset/basic 709s ok 4 /dataset/id 709s ok 5 /dataset/full 709s ok 6 /dataset/foreach 709s ok 7 /dataset/destroy 709s # End of dataset tests 709s # Start of datalist tests 709s ok 8 /datalist/id 709s ok 9 /datalist/recursive-clear 709s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 709s ok 10 /datalist/id-remove-multiple 709s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 709s ok 11 /datalist/id-remove-multiple-destroy-order 709s ok 12 /datalist/update-atomic 709s # Start of basic tests 709s ok 13 /datalist/basic/few 709s ok 14 /datalist/basic/many 709s # End of basic tests 709s # Start of id-remove-multiple tests 709s ok 15 /datalist/id-remove-multiple/resize 709s # End of id-remove-multiple tests 709s # End of datalist tests 709s ok - glib/dataset.test 709s # Running test: glib/unicode-normalize.test 709s TAP version 14 709s # random seed: R02Sff8523147dcad9c2db0a5554d45df57b 709s 1..3 709s # Start of unicode tests 709s # Processing Part0 # Specific cases 709s # Processing Part1 # Character by character test 709s # Processing Part2 # Canonical Order Test 709s # Processing Part3 # PRI #29 Test 709s # Processing Part4 # Canonical closures (excluding Hangul) 709s # Processing Part5 # Chained primary composites 709s ok 1 /unicode/normalize 709s # Invalid UTF-8 vector 0 709s # Invalid UTF-8 vector 1 709s # Invalid UTF-8 vector 2 709s # Invalid UTF-8 vector 3 709s # Invalid UTF-8 vector 4 709s # Invalid UTF-8 vector 5 709s # Invalid UTF-8 vector 6 709s # Invalid UTF-8 vector 7 709s # Invalid UTF-8 vector 8 709s # Invalid UTF-8 vector 9 709s # Invalid UTF-8 vector 10 709s # Invalid UTF-8 vector 11 709s # Invalid UTF-8 vector 12 709s ok 2 /unicode/normalize-invalid 709s # Start of normalize tests 709s ok 3 /unicode/normalize/bad-length 709s # End of normalize tests 709s # End of unicode tests 709s ok - glib/unicode-normalize.test 709s # Running test: glib/gdbus-method-invocation.test 709s TAP version 14 709s # random seed: R02Sac8ef3a24e2077b3f5b691207fae475a 709s 1..1 709s # Start of gdbus tests 709s # Start of method-invocation tests 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_EISOJ3/gdbus/method-invocation/return/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_EISOJ3/gdbus/method-invocation/return/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_EISOJ3/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_EISOJ3/gdbus/method-invocation/return/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_EISOJ3/gdbus/method-invocation/return/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_EISOJ3/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_EISOJ3/gdbus/method-invocation/return/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_EISOJ3/gdbus/method-invocation/return/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_EISOJ3/gdbus/method-invocation/return/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_EISOJ3/gdbus/method-invocation/return/.dirs/runtime 709s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 709s ok - glib/gdbus-method-invocation.test 709s # Running test: glib/gdbus-export.test 709s # Calling org.freedesktop.DBus.Properties.Get 709s # Calling org.freedesktop.DBus.Properties.Get 709s # Calling org.freedesktop.DBus.Properties.Get 709s # Calling org.freedesktop.DBus.Properties.Set 709s # Calling org.freedesktop.DBus.Properties.GetAll 709s # Calling org.example.Foo.WrongReturnType 709s # Calling org.example.Foo.GetFDs 709s # Calling org.example.Foo.GetFDs 709s # Calling org.example.Foo.ReturnError 709s # Calling org.example.Foo.CloseBeforeReturning 709s ok 1 /gdbus/method-invocation/return 709s # End of method-invocation tests 709s # End of gdbus tests 709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 709s TAP version 14 709s # random seed: R02S98209eafa008ddc068c7e36eecc4411c 709s 1..7 709s # Start of gdbus tests 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration/.dirs/runtime 710s ok 1 /gdbus/object-registration 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures/.dirs/runtime 710s ok 2 /gdbus/object-registration-with-closures 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures2/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures2/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures2/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures2/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures2/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures2/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures2/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_RIZOJ3/gdbus/object-registration-with-closures2/.dirs/runtime 710s ok 3 /gdbus/object-registration-with-closures2 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/registered-interfaces/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/registered-interfaces/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_RIZOJ3/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_RIZOJ3/gdbus/registered-interfaces/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/registered-interfaces/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_RIZOJ3/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_RIZOJ3/gdbus/registered-interfaces/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/registered-interfaces/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/registered-interfaces/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_RIZOJ3/gdbus/registered-interfaces/.dirs/runtime 710s ok 4 /gdbus/registered-interfaces 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/async-properties/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/async-properties/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_RIZOJ3/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_RIZOJ3/gdbus/async-properties/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/async-properties/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_RIZOJ3/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_RIZOJ3/gdbus/async-properties/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/async-properties/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/async-properties/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_RIZOJ3/gdbus/async-properties/.dirs/runtime 710s ok 5 /gdbus/async-properties 710s # Start of threaded-unregistration tests 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/object/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/object/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/object/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/object/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/object/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/object/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/object/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/object/.dirs/runtime 710s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 710s # /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 710s # Executing: glib/gdbus-export.test 710s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 710s # slow test /gdbus/threaded-unregistration/object executed in 0.84 secs 710s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/subtree/.dirs/home 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/subtree/.dirs/cache 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/subtree/.dirs/system-config2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/subtree/.dirs/config 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/subtree/.dirs/system-data2 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/subtree/.dirs/data 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/subtree/.dirs/state 710s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_RIZOJ3/gdbus/threaded-unregistration/subtree/.dirs/runtime 710s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 710s # /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 711s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 711s # slow test /gdbus/threaded-unregistration/subtree executed in 0.82 secs 711s # End of threaded-unregistration tests 711s # End of gdbus tests 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s ok - glib/gdbus-export.test 711s # Running test: glib/mem-overflow.test 711s TAP version 14 711s # random seed: R02S3cd95fb5395f915d6452378d51a9c434 711s 1..2 711s # Start of mem tests 711s ok 1 /mem/overflow 711s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 711s ok 2 /mem/empty-alloc 711s # Start of overflow tests 711s # Start of subprocess tests 711s # End of subprocess tests 711s # End of overflow tests 711s # Start of empty-alloc tests 711s # End of empty-alloc tests 711s # End of mem tests 711s ok - glib/mem-overflow.test 711s # Running test: glib/gapplication.test 711s TAP version 14 711s # random seed: R02S8b3498f4cf35f27e167ab3dd91fd8864 711s 1..25 711s # Start of gapplication tests 711s ok 1 /gapplication/no-dbus 711s ok 2 /gapplication/no-appid 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s ok 3 /gapplication/properties 711s ok 4 /gapplication/app-id 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s ok 5 /gapplication/quit 711s ok 6 /gapplication/registered 711s ok 7 /gapplication/local-actions 711s ok 8 /gapplication/local-command-line 711s ok 9 /gapplication/resource-path 711s ok 10 /gapplication/test-help 711s ok 11 /gapplication/command-line-done 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s ok 12 /gapplication/test-busy 711s ok 13 /gapplication/test-handle-local-options1 711s ok 14 /gapplication/test-handle-local-options2 711s ok 15 /gapplication/test-handle-local-options3 711s ok 16 /gapplication/api 711s ok 17 /gapplication/version 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 711s # launching subprocess 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s ok 18 /gapplication/replace 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 711s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 711s # launching subprocess 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s ok 19 /gapplication/no-replace 712s # slow test /gapplication/no-replace executed in 0.50 secs 712s # Start of command-line tests 712s # /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 712s ok 20 /gapplication/command-line/arguments 712s # End of command-line tests 712s # Start of dbus tests 712s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is 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 # Message 0 712s # Message 1 712s # Message 2 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s ok 21 /gapplication/dbus/activate 712s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is 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 # Message 0 712s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 712s # Message 1 712s # Message 2 712s # Message 3 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s ok 22 /gapplication/dbus/open 712s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is 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 # Message 0 712s # Message 1 712s # Message 2 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s ok 23 /gapplication/dbus/command-line 712s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is 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 # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s ok - glib/gapplication.test 712s # Running test: glib/fdo-notification-backend.test 712s ok 24 /gapplication/dbus/command-line-done 712s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is 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 # Message 0 712s # Message 1 712s # Message 2 712s # Message 3 712s # Message 4 712s # Message 5 712s # Message 6 712s # Message 7 712s # Message 8 712s # Message 9 712s # Message 10 712s # Message 11 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s ok 25 /gapplication/dbus/activate-action 712s # End of dbus tests 712s # End of gapplication tests 712s TAP version 14 712s # random seed: R02S276d045b8a8762d29ca7de06376614f4 712s 1..2 712s # Start of fdo-notification-backend tests 712s # Test constructing a GFdoNotificationBackend 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s ok 1 /fdo-notification-backend/construction 712s # Start of dbus tests 712s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is 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 - glib/fdo-notification-backend.test 712s # Running test: glib/custom-dispatch.test 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s ok 2 /fdo-notification-backend/dbus/activate-action 712s # End of dbus tests 712s # End of fdo-notification-backend tests 712s TAP version 14 712s # random seed: R02S0c4e2ca23766805f149e307510b6c466 712s ok - glib/custom-dispatch.test 712s # Running test: glib/utf8-performance.test 712s ok - glib/utf8-performance.test 712s # Running test: glib/once.test 712s ok - glib/once.test 712s # Running test: glib/gdbus-peer-object-manager.test 712s ok - glib/gdbus-peer-object-manager.test 712s # Running test: glib/volumemonitor.test 712s ok - glib/volumemonitor.test 712s # Running test: glib/signals.test 712s 1..2 712s # Start of properties tests 712s # Start of custom-dispatch tests 712s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 712s ok 1 /properties/custom-dispatch/init 712s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 712s ok 2 /properties/custom-dispatch/set 712s # End of custom-dispatch tests 712s # End of properties tests 712s TAP version 14 712s # random seed: R02S40cf6fc4bb0f25e8302bddfc2cf58a8e 712s 1..36 712s # Start of utf8 tests 712s # Start of perf tests 712s # Start of get_char tests 712s # max perf: 43.0 MB/s 712s ok 1 /utf8/perf/get_char/ascii 712s # max perf: 67.0 MB/s 712s ok 2 /utf8/perf/get_char/latin1 712s # max perf: inf MB/s 712s ok 3 /utf8/perf/get_char/cyrillic 712s # max perf: inf MB/s 712s ok 4 /utf8/perf/get_char/han 712s # End of get_char tests 712s # Start of get_char-backwards tests 712s # max perf: inf MB/s 712s ok 5 /utf8/perf/get_char-backwards/ascii 712s # max perf: inf MB/s 712s ok 6 /utf8/perf/get_char-backwards/latin1 712s # max perf: 160.0 MB/s 712s ok 7 /utf8/perf/get_char-backwards/cyrillic 712s # max perf: inf MB/s 712s ok 8 /utf8/perf/get_char-backwards/han 712s # End of get_char-backwards tests 712s # Start of get_char_validated tests 712s # max perf: inf MB/s 712s ok 9 /utf8/perf/get_char_validated/ascii 712s # max perf: 67.0 MB/s 712s ok 10 /utf8/perf/get_char_validated/latin1 712s # max perf: 160.0 MB/s 712s ok 11 /utf8/perf/get_char_validated/cyrillic 712s # max perf: inf MB/s 712s ok 12 /utf8/perf/get_char_validated/han 712s # End of get_char_validated tests 712s # Start of utf8_to_ucs4 tests 712s # max perf: inf MB/s 712s ok 13 /utf8/perf/utf8_to_ucs4/ascii 712s # max perf: 67.0 MB/s 712s ok 14 /utf8/perf/utf8_to_ucs4/latin1 712s # max perf: 160.0 MB/s 712s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 712s # max perf: 156.0 MB/s 712s ok 16 /utf8/perf/utf8_to_ucs4/han 712s # End of utf8_to_ucs4 tests 712s # Start of utf8_to_ucs4-sized tests 712s # max perf: 43.0 MB/s 712s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 712s # max perf: 67.0 MB/s 712s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 712s # max perf: 160.0 MB/s 712s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 712s # max perf: inf MB/s 712s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 712s # End of utf8_to_ucs4-sized tests 712s # Start of utf8_to_ucs4_fast tests 712s # max perf: inf MB/s 712s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 712s # max perf: 67.0 MB/s 712s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 712s # max perf: inf MB/s 712s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 712s # max perf: inf MB/s 712s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 712s # End of utf8_to_ucs4_fast tests 712s # Start of utf8_to_ucs4_fast-sized tests 712s # max perf: inf MB/s 712s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 712s # max perf: inf MB/s 712s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 712s # max perf: inf MB/s 712s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 712s # max perf: inf MB/s 712s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 712s # End of utf8_to_ucs4_fast-sized tests 712s # Start of utf8_validate tests 712s # max perf: inf MB/s 712s ok 29 /utf8/perf/utf8_validate/ascii 712s # max perf: inf MB/s 712s ok 30 /utf8/perf/utf8_validate/latin1 712s # max perf: inf MB/s 712s ok 31 /utf8/perf/utf8_validate/cyrillic 712s # max perf: 156.0 MB/s 712s ok 32 /utf8/perf/utf8_validate/han 712s # End of utf8_validate tests 712s # Start of utf8_validate-sized tests 712s # max perf: inf MB/s 712s ok 33 /utf8/perf/utf8_validate-sized/ascii 712s # max perf: inf MB/s 712s ok 34 /utf8/perf/utf8_validate-sized/latin1 712s # max perf: inf MB/s 712s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 712s # max perf: 156.0 MB/s 712s ok 36 /utf8/perf/utf8_validate-sized/han 712s # End of utf8_validate-sized tests 712s # End of perf tests 712s # End of utf8 tests 712s TAP version 14 712s # random seed: R02S98d43fa47a65c8de02e0eb499e233c2b 712s 1..5 712s # Start of once tests 712s # /once/single-threaded summary: Test g_once() usage from a single thread 712s ok 1 /once/single-threaded 712s # /once/multi-threaded summary: Test g_once() usage from multiple threads 712s ok 2 /once/multi-threaded 712s # End of once tests 712s # Start of once-init tests 712s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 712s ok 3 /once-init/single-threaded 712s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 712s ok 4 /once-init/multi-threaded 712s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 712s ok 5 /once-init/string 712s # End of once-init tests 712s TAP version 14 712s # random seed: R02S29c21621d7014cca23280f9997b71696 712s 1..2 712s # Start of gdbus tests 712s # Start of peer-object-manager tests 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/normal/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/normal/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/normal/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/normal/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/normal/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/normal/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/normal/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/normal/.dirs/runtime 712s ok 1 /gdbus/peer-object-manager/normal 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/root/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/root/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/root/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/root/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/root/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/root/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/root/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_AH5SJ3/gdbus/peer-object-manager/root/.dirs/runtime 712s ok 2 /gdbus/peer-object-manager/root 712s # End of peer-object-manager tests 712s # End of gdbus tests 712s TAP version 14 712s # random seed: R02Sf89505e838290f3ee4eb176c70bf1cda 712s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 712s 1..3 712s # Start of volumemonitor tests 712s ok 1 /volumemonitor/connected_drives 712s ok 2 /volumemonitor/volumes 712s ok 3 /volumemonitor/mounts 712s # End of volumemonitor tests 712s TAP version 14 712s # random seed: R02Sdae516297d466a0ae90b3a24f4f6275b 712s 1..31 712s # Start of gobject tests 712s # Start of signals tests 712s ok 1 /gobject/signals/all-types 712s ok 2 /gobject/signals/variant 712s ok 3 /gobject/signals/destroy-target-object 712s ok 4 /gobject/signals/generic-marshaller-1 712s ok 5 /gobject/signals/generic-marshaller-2 712s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 712s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 712s ok 8 /gobject/signals/generic-marshaller-int-return 712s ok 9 /gobject/signals/generic-marshaller-uint-return 712s ok 10 /gobject/signals/generic-marshaller-interface-return 712s ok 11 /gobject/signals/custom-marshaller 712s ok 12 /gobject/signals/connect 712s ok 13 /gobject/signals/emission-hook 712s ok 14 /gobject/signals/emitv 712s ok 15 /gobject/signals/accumulator 712s # Signal: accumulator-class-first 712s # Signal: accumulator-class-last 712s # Signal: accumulator-class-cleanup 712s # Signal: accumulator-class-first-last 712s # Signal: accumulator-class-first-last-cleanup 712s # Signal: accumulator-class-last-cleanup 712s ok 16 /gobject/signals/accumulator-class 712s ok 17 /gobject/signals/introspection 712s ok 18 /gobject/signals/block-handler 712s ok 19 /gobject/signals/stop-emission 712s ok 20 /gobject/signals/invocation-hint 712s ok 21 /gobject/signals/test-disconnection-wrong-object 712s ok 22 /gobject/signals/clear-signal-handler 712s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 712s ok 23 /gobject/signals/lookup 712s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 712s ok 24 /gobject/signals/parse-name 712s ok 25 /gobject/signals/is-valid-name 712s ok 26 /gobject/signals/weak-ref-disconnect 712s # Start of lookup tests 712s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 712s ok 27 /gobject/signals/lookup/invalid 712s # End of lookup tests 712s # Start of parse-name tests 712s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 712s # Parser input: 712s # Parser input: 7zip 712s # Parser input: invalid:signal 712s # Parser input: simple-detailed:: 712s # Parser input: simple-detailed: 712s # Parser input: : 712s # Parser input: :: 712s # Parser input: :valid-detail 712s # Parser input: ::valid-detail 712s ok 28 /gobject/signals/parse-name/invalid 712s # End of parse-name tests 712s # Start of invalid-name tests 712s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 712s ok 29 /gobject/signals/invalid-name/colon 712s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 712s ok 30 /gobject/signals/invalid-name/first-char 712s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 712s ok 31 /gobject/signals/invalid-name/empty 712s # End of invalid-name tests 712s # End of signals tests 712s # End of gobject tests 712s ok - glib/signals.test 712s # Running test: glib/cxx-11.test 712s TAP version 14 712s # random seed: R02Sf6dcab9a92750eeef2b19d2c08283877 712s 1..2 712s # Start of gtask tests 712s # 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. 712s ok 1 /gtask/name 712s # Start of name tests 712s # 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. 712s ok 2 /gtask/name/macro-wrapper 712s # End of name tests 712s # End of gtask tests 712s ok - glib/cxx-11.test 712s # Running test: glib/timer.test 712s TAP version 14 712s # random seed: R02Sab06a7660b14aba6a55b1df249fb0bad 712s 1..10 712s # Start of timer tests 712s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 712s ok 2 /timer/stop 712s ok 3 /timer/continue 712s ok 4 /timer/reset 712s ok 5 /timer/is_active 712s # End of timer tests 712s # Start of timeval tests 712s ok 6 /timeval/add 712s ok 7 /timeval/from-iso8601 712s ok 8 /timeval/to-iso8601 712s # Start of to-iso8601 tests 712s ok 9 /timeval/to-iso8601/overflow 712s # End of to-iso8601 tests 712s # End of timeval tests 712s # Start of usleep tests 712s ok 10 /usleep/with-zero-wait 712s # End of usleep tests 712s ok - glib/timer.test 712s # Running test: glib/gdbus-sasl.test 712s TAP version 14 712s # random seed: R02S341a5469a54852970b55367960014749 712s 1..1 712s # Start of gdbus tests 712s # Start of sasl tests 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_XU21J3/gdbus/sasl/server/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_XU21J3/gdbus/sasl/server/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_XU21J3/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_XU21J3/gdbus/sasl/server/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_XU21J3/gdbus/sasl/server/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_XU21J3/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_XU21J3/gdbus/sasl/server/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_XU21J3/gdbus/sasl/server/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_XU21J3/gdbus/sasl/server/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_XU21J3/gdbus/sasl/server/.dirs/runtime 712s # New handshake: EXTERNAL with incorrect initial response 712s # C:“AUTH EXTERNAL 30” 712s # Expect: /^REJECTED.*$/ 712s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 712s # New handshake: EXTERNAL without initial response, failing to authenticate 712s # C:“AUTH EXTERNAL” 712s ok - glib/gdbus-sasl.test 712s # Running test: glib/gdbus-addresses.test 712s ok - glib/gdbus-addresses.test 712s # Running test: glib/dbus-appinfo.test 712s # Expect: /^DATA$/ 712s # S:“DATA” 712s # C:“DATA 30” 712s # Expect: /^REJECTED.*$/ 712s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 712s # New handshake: EXTERNAL with initial response 712s # C:“AUTH EXTERNAL 31303030” 712s # Expect: /^OK [0-9a-f]+$/ 712s # S:“OK d634a61a0a78f2b022f7d0f5697b548e” 712s # New handshake: EXTERNAL without initial response 712s # C:“AUTH EXTERNAL” 712s # Expect: /^DATA$/ 712s # S:“DATA” 712s # C:“DATA 31303030” 712s # Expect: /^OK [0-9a-f]+$/ 712s # S:“OK d634a61a0a78f2b022f7d0f5697b548e” 712s # New handshake: EXTERNAL with empty authorization identity 712s # C:“AUTH EXTERNAL” 712s # Expect: /^DATA$/ 712s # S:“DATA” 712s # C:“DATA” 712s # Expect: /^OK [0-9a-f]+$/ 712s # S:“OK d634a61a0a78f2b022f7d0f5697b548e” 712s # New handshake: EXTERNAL with empty authorization identity and whitespace 712s # C:“AUTH EXTERNAL” 712s # Expect: /^DATA$/ 712s # S:“DATA” 712s # C:“DATA ” 712s # Expect: /^OK [0-9a-f]+$/ 712s # S:“OK d634a61a0a78f2b022f7d0f5697b548e” 712s ok 1 /gdbus/sasl/server 712s # End of sasl tests 712s # End of gdbus tests 712s TAP version 14 712s # random seed: R02S12fb6bbf1616420b5f8488a814037c3d 712s 1..9 712s # Start of gdbus tests 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/empty-address/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/empty-address/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/empty-address/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/empty-address/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/empty-address/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/empty-address/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/empty-address/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BFB2J3/gdbus/empty-address/.dirs/runtime 712s ok 1 /gdbus/empty-address 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/unsupported-address/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/unsupported-address/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/unsupported-address/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/unsupported-address/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/unsupported-address/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/unsupported-address/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/unsupported-address/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BFB2J3/gdbus/unsupported-address/.dirs/runtime 712s ok 2 /gdbus/unsupported-address 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/address-parsing/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/address-parsing/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/address-parsing/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/address-parsing/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/address-parsing/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/address-parsing/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/address-parsing/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BFB2J3/gdbus/address-parsing/.dirs/runtime 712s ok 3 /gdbus/address-parsing 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/unix-address/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/unix-address/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/unix-address/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/unix-address/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/unix-address/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/unix-address/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/unix-address/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BFB2J3/gdbus/unix-address/.dirs/runtime 712s ok 4 /gdbus/unix-address 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/nonce-tcp-address/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/nonce-tcp-address/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/nonce-tcp-address/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/nonce-tcp-address/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/nonce-tcp-address/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/nonce-tcp-address/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/nonce-tcp-address/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BFB2J3/gdbus/nonce-tcp-address/.dirs/runtime 712s ok 5 /gdbus/nonce-tcp-address 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/tcp-address/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/tcp-address/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/tcp-address/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/tcp-address/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/tcp-address/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/tcp-address/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/tcp-address/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BFB2J3/gdbus/tcp-address/.dirs/runtime 712s ok 6 /gdbus/tcp-address 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/autolaunch-address/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/autolaunch-address/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/autolaunch-address/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/autolaunch-address/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/autolaunch-address/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/autolaunch-address/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/autolaunch-address/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BFB2J3/gdbus/autolaunch-address/.dirs/runtime 712s ok 7 /gdbus/autolaunch-address 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/mixed-address/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/mixed-address/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/mixed-address/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/mixed-address/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/mixed-address/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/mixed-address/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/mixed-address/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BFB2J3/gdbus/mixed-address/.dirs/runtime 712s ok 8 /gdbus/mixed-address 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/escape-address/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/escape-address/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/escape-address/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/escape-address/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_BFB2J3/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_BFB2J3/gdbus/escape-address/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/escape-address/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_BFB2J3/gdbus/escape-address/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_BFB2J3/gdbus/escape-address/.dirs/runtime 712s ok 9 /gdbus/escape-address 712s # End of gdbus tests 712s TAP version 14 712s # random seed: R02S0f91ef94f8505e3d15de74957fae77ef 712s 1..7 712s # Start of appinfo tests 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/dbusappinfo/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/dbusappinfo/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_GZ71J3/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_GZ71J3/appinfo/dbusappinfo/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/dbusappinfo/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_GZ71J3/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_GZ71J3/appinfo/dbusappinfo/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/dbusappinfo/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/dbusappinfo/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_GZ71J3/appinfo/dbusappinfo/.dirs/runtime 712s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 712s ok 1 /appinfo/dbusappinfo 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-doc-export/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-doc-export/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-doc-export/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-doc-export/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-doc-export/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-doc-export/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-doc-export/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-doc-export/.dirs/runtime 712s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 712s # Acquired a message bus connection 712s # Acquired the name org.freedesktop.portal.Documents 712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_GZ71J3/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-doc-export/.dirs/config 712s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 712s # fake-document-portal cancelled 712s ok 2 /appinfo/flatpak-doc-export 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-missing-doc-export/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-missing-doc-export/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-missing-doc-export/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-missing-doc-export/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-missing-doc-export/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-missing-doc-export/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-missing-doc-export/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-missing-doc-export/.dirs/runtime 712s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 712s # Acquired a message bus connection 712s # Acquired the name org.freedesktop.portal.Documents 712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-missing-doc-export/.dirs/config 712s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 712s # fake-document-portal cancelled 712s ok 3 /appinfo/flatpak-missing-doc-export 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file/.dirs/runtime 712s # Acquired a message bus connection 712s # Acquired the name org.freedesktop.portal.Desktop 712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_GZ71J3/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file/.dirs/config 712s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 712s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 712s # Response emitted 712s # fake-desktop-portal cancelled 712s ok 4 /appinfo/portal-open-file 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri/.dirs/runtime 712s # Acquired a message bus connection 712s # Acquired the name org.freedesktop.portal.Desktop 712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri/.dirs/config 712s # Got open file request for http://example.com 712s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 712s # Response emitted 712s # fake-desktop-portal cancelled 712s ok 5 /appinfo/portal-open-uri 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file-async/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file-async/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file-async/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file-async/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file-async/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file-async/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file-async/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file-async/.dirs/runtime 712s # Acquired a message bus connection 712s # Acquired the name org.freedesktop.portal.Desktop 712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file-async/.dirs/config 712s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 712s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio1726892057 712s # Response emitted 712s # fake-desktop-portal cancelled 712s ok 6 /appinfo/portal-open-file-async 712s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri-async/.dirs/home 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri-async/.dirs/cache 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri-async/.dirs/system-config2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri-async/.dirs/config 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri-async/.dirs/system-data2 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri-async/.dirs/data 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri-async/.dirs/state 712s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri-async/.dirs/runtime 712s ok - glib/dbus-appinfo.test 712s # Acquired a message bus connection 712s # Acquired the name org.freedesktop.portal.Desktop 712s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_GZ71J3/appinfo/portal-open-uri-async/.dirs/config 712s # Got open file request for http://example.com 712s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio192216284 712s # Response emitted 712s # fake-desktop-portal cancelled 712s ok 7 /appinfo/portal-open-uri-async 712s # End of appinfo tests 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 712s # Running test: glib/strvbuilder.test 712s TAP version 14 712s # random seed: R02S64711f2b5973ef8cde2f9fb9194b0ca7 712s 1..7 712s # Start of strvbuilder tests 712s ok 1 /strvbuilder/empty 712s ok 2 /strvbuilder/add 712s ok 3 /strvbuilder/addv 712s ok 4 /strvbuilder/add_many 712s ok 5 /strvbuilder/take 712s ok 6 /strvbuilder/ref 712s ok 7 /strvbuilder/unref_to_strv 712s # End of strvbuilder tests 712s ok - glib/strvbuilder.test 712s # Running test: glib/socket.test 712s TAP version 14 712s # random seed: R02Sa8cadc9490f2ba6420798bea15989410 712s 1..30 712s # Start of socket tests 713s ok 1 /socket/ipv4_sync 713s # slow test /socket/ipv4_sync executed in 1.00 secs 714s ok 2 /socket/ipv4_async 714s # slow test /socket/ipv4_async executed in 1.00 secs 714s ok 3 /socket/ipv6_sync 714s ok 4 /socket/ipv6_async 714s ok 5 /socket/ipv6_v4mapped 715s ok 6 /socket/close_graceful 715s # slow test /socket/close_graceful executed in 1.00 secs 715s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 715s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 715s ok 8 /socket/fd_reuse 715s ok 9 /socket/address 715s ok 10 /socket/unix-from-fd 715s ok 11 /socket/unix-connection 715s ok 12 /socket/unix-connection-ancillary-data 715s ok 13 /socket/source-postmortem 715s ok 14 /socket/read_write 715s ok 15 /socket/read_writev 715s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 715s # Executing: glib/socket.test 715s ok 16 /socket/receive_bytes 715s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 715s ok 17 /socket/receive_bytes_from 715s # Start of ipv4_sync tests 715s ok 18 /socket/ipv4_sync/datagram 715s # Start of datagram tests 716s ok 19 /socket/ipv4_sync/datagram/timeouts 716s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 716s # End of datagram tests 716s # End of ipv4_sync tests 716s # Start of ipv6_sync tests 716s ok 20 /socket/ipv6_sync/datagram 716s # Start of datagram tests 717s ok 21 /socket/ipv6_sync/datagram/timeouts 717s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 717s # End of datagram tests 717s # End of ipv6_sync tests 717s # Start of reuse tests 717s ok 22 /socket/reuse/tcp 717s ok 23 /socket/reuse/udp 717s # End of reuse tests 717s # Start of get_available tests 717s ok 24 /socket/get_available/datagram 717s ok 25 /socket/get_available/stream 717s # End of get_available tests 717s # Start of credentials tests 717s # Supported on this OS: GCredentials:linux-ucred:pid=0 717s ok 26 /socket/credentials/tcp_client 717s # Supported on this OS: GCredentials:linux-ucred:pid=0 717s ok 27 /socket/credentials/tcp_server 717s # Supported on this OS: GCredentials:linux-ucred:pid=6804,uid=1000,gid=1000 717s ok 28 /socket/credentials/unix_socketpair 717s # End of credentials tests 717s # Start of accept tests 717s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 717s ok 29 /socket/accept/cancelled 717s # End of accept tests 717s # Start of connect tests 717s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 717s ok 30 /socket/connect/cancelled 717s # End of connect tests 717s # End of socket tests 717s ok - glib/socket.test 717s # Running test: glib/scannerapi.test 717s ok - glib/scannerapi.test 717s # Running test: glib/param.test 717s TAP version 14 717s # random seed: R02S0aa39f99be023b5db70e6c01f5214717 717s 1..8 717s # Start of scanner tests 717s ok 1 /scanner/warn 717s ok 2 /scanner/error 717s ok 3 /scanner/symbols 717s ok 4 /scanner/tokens 717s ok 5 /scanner/multiline-comment 717s ok 6 /scanner/int-to-float 717s ok 7 /scanner/fd-input 717s # Start of fd-input tests 717s ok 8 /scanner/fd-input/rewind 717s # End of fd-input tests 717s # End of scanner tests 717s TAP version 14 717s # random seed: R02Sbb27da3beff4d907a3ec036125fd8c0d 717s 1..32 717s # Start of param tests 717s ok 1 /param/value 717s ok 2 /param/strings 717s ok 3 /param/qdata 717s ok 4 /param/validate 717s ok 5 /param/convert 717s ok 6 /param/implement # SKIP Skipping slow /param/implement test 717s ok 7 /param/default 717s ok 8 /param/is-valid-name 717s # Start of invalid-name tests 717s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 717s ok 9 /param/invalid-name/colon 717s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 717s ok 10 /param/invalid-name/first-char 717s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 717s ok 11 /param/invalid-name/empty 717s # End of invalid-name tests 717s # Start of implement tests 717s # Start of subprocess tests 717s # End of subprocess tests 717s # End of implement tests 717s # End of param tests 717s # Start of value tests 717s ok 12 /value/transform 717s # End of value tests 717s # Start of paramspec tests 717s ok 13 /paramspec/char 717s ok 14 /paramspec/uchar 717s ok 15 /paramspec/int 717s ok 16 /paramspec/uint 717s ok 17 /paramspec/long 717s ok 18 /paramspec/ulong 717s ok - glib/param.test 717s # Running test: glib/portal-support-flatpak-gsettings-only.test 717s ok 19 /paramspec/int64 717s ok 20 /paramspec/uint64 717s ok 21 /paramspec/float 717s ok 22 /paramspec/double 717s ok 23 /paramspec/unichar 717s ok 24 /paramspec/param 717s ok 25 /paramspec/null-param 717s ok 26 /paramspec/string 717s ok 27 /paramspec/override 717s ok 28 /paramspec/gtype 717s ok 29 /paramspec/variant 717s ok 30 /paramspec/custom 717s ok 31 /paramspec/pool 717s # Start of variant tests 717s ok 32 /paramspec/variant/cmp 717s # End of variant tests 717s # End of paramspec tests 717s ok - glib/portal-support-flatpak-gsettings-only.test 717s TAP version 14 717s # random seed: R02S46a73dcf71a0fd832523feae1f244054 717s 1..1 717s # Start of portal-support tests 717s # Start of flatpak tests 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_OJNHJ3/portal-support/flatpak/gsettings/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_OJNHJ3/portal-support/flatpak/gsettings/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_OJNHJ3/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_OJNHJ3/portal-support/flatpak/gsettings/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_OJNHJ3/portal-support/flatpak/gsettings/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_OJNHJ3/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_OJNHJ3/portal-support/flatpak/gsettings/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_OJNHJ3/portal-support/flatpak/gsettings/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_OJNHJ3/portal-support/flatpak/gsettings/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_OJNHJ3/portal-support/flatpak/gsettings/.dirs/runtime 717s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_OJNHJ3/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 717s ok 1 /portal-support/flatpak/gsettings 717s # End of flatpak tests 717s # End of portal-support tests 717s # Running test: glib/autoptr-girepository.test 717s TAP version 14 717s # random seed: R02S5d4d9e0092cc22514ca67982d53d09b1 717s 1..24 717s # Start of autoptr tests 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/repository/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/repository/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/repository/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/repository/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/repository/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/repository/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/repository/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/repository/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 1 /autoptr/repository 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/typelib/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/typelib/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/typelib/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/typelib/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/typelib/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/typelib/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/typelib/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/typelib/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 2 /autoptr/typelib 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/base-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/base-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/base-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/base-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/base-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/base-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/base-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/base-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 3 /autoptr/base-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/arg-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/arg-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/arg-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/arg-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/arg-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/arg-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/arg-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/arg-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 4 /autoptr/arg-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/callable-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/callable-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/callable-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/callable-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/callable-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/callable-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/callable-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/callable-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 5 /autoptr/callable-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/callback-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/callback-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/callback-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/callback-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/callback-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/callback-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/callback-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/callback-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 6 /autoptr/callback-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/constant-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/constant-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/constant-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/constant-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/constant-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/constant-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/constant-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/constant-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 7 /autoptr/constant-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/enum-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/enum-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/enum-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/enum-info/.dirs/config 717s ok - glib/autoptr-girepository.test 717s # Running test: glib/repository-search-paths.test 717s ok - glib/repository-search-paths.test 717s # Running test: glib/ir-parser.test 717s ok - glib/ir-parser.test 717s # Running test: glib/singleton.test 717s ok - glib/singleton.test 717s # Running test: glib/testing.test 717s ok - glib/testing.test 717s # Running test: glib/cxx-14.test 717s ok - glib/cxx-14.test 717s # Running test: glib/contenttype.test 717s ok - glib/contenttype.test 717s # Running test: glib/glistmodel.test 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/enum-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/enum-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/enum-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/enum-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 8 /autoptr/enum-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/field-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/field-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/field-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/field-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/field-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/field-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/field-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/field-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 9 /autoptr/field-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/flags-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/flags-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/flags-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/flags-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/flags-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/flags-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/flags-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/flags-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 10 /autoptr/flags-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/function-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/function-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/function-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/function-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/function-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/function-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/function-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/function-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 11 /autoptr/function-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/interface-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/interface-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/interface-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/interface-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/interface-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/interface-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/interface-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/interface-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 12 /autoptr/interface-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/object-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/object-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/object-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/object-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/object-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/object-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/object-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/object-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 13 /autoptr/object-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/property-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/property-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/property-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/property-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/property-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/property-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/property-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/property-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 14 /autoptr/property-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/registered-type-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/registered-type-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/registered-type-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/registered-type-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/registered-type-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/registered-type-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/registered-type-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/registered-type-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 15 /autoptr/registered-type-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/signal-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/signal-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/signal-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/signal-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/signal-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/signal-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/signal-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/signal-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 16 /autoptr/signal-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/struct-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/struct-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/struct-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/struct-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/struct-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/struct-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/struct-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/struct-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 17 /autoptr/struct-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/type-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/type-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/type-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/type-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/type-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/type-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/type-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/type-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 18 /autoptr/type-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/union-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/union-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/union-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/union-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/union-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/union-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/union-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/union-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 19 /autoptr/union-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/value-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/value-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/value-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/value-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/value-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/value-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/value-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/value-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 20 /autoptr/value-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/vfunc-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/vfunc-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/vfunc-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/vfunc-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/autoptr/vfunc-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/vfunc-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/vfunc-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/autoptr/vfunc-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 21 /autoptr/vfunc-info 717s # End of autoptr tests 717s # Start of auto tests 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/auto/arg-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/auto/arg-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/auto/arg-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/auto/arg-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/auto/arg-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/auto/arg-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/auto/arg-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/auto/arg-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 22 /auto/arg-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/auto/type-info/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/auto/type-info/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/auto/type-info/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/auto/type-info/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/auto/type-info/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/auto/type-info/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/auto/type-info/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/auto/type-info/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 23 /auto/type-info 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_5OKHJ3/auto/function-invoker/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/auto/function-invoker/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_5OKHJ3/auto/function-invoker/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_5OKHJ3/auto/function-invoker/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_5OKHJ3/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_5OKHJ3/auto/function-invoker/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_5OKHJ3/auto/function-invoker/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_5OKHJ3/auto/function-invoker/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_5OKHJ3/auto/function-invoker/.dirs/runtime 717s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 717s ok 24 /auto/function-invoker 717s # End of auto tests 717s TAP version 14 717s # random seed: R02S556be2385f197288818d326d5648a82a 717s 1..4 717s # Start of repository tests 717s # Start of search-paths tests 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/default/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/default/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/default/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/default/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/default/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/default/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/default/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/default/.dirs/runtime 717s ok 1 /repository/search-paths/default 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/prepend/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/prepend/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/prepend/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/prepend/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/prepend/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/prepend/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/prepend/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_8Q1GJ3/repository/search-paths/prepend/.dirs/runtime 717s ok 2 /repository/search-paths/prepend 717s # End of search-paths tests 717s # Start of library-paths tests 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/default/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/default/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/default/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/default/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/default/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/default/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/default/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/default/.dirs/runtime 717s ok 3 /repository/library-paths/default 717s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/prepend/.dirs/home 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/prepend/.dirs/cache 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/prepend/.dirs/system-config2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/prepend/.dirs/config 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/prepend/.dirs/system-data2 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/prepend/.dirs/data 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/prepend/.dirs/state 717s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_8Q1GJ3/repository/library-paths/prepend/.dirs/runtime 717s ok 4 /repository/library-paths/prepend 717s # End of library-paths tests 717s # End of repository tests 717s TAP version 14 717s # random seed: R02S4484cd57d694c52b263cb13cbd919dbd 717s 1..1 717s # Start of ir-parser tests 717s # /ir-parser/type-parsing summary: Test parsing different valid and invalid types 717s # GLib-GIRepository-DEBUG: 717s # GLib-GIRepository-DEBUG: pushing node 1 dummy 717s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 717s # GLib-GIRepository-DEBUG: 717s # GLib-GIRepository-DEBUG: 717s # GLib-GIRepository-DEBUG: 717s # GLib-GIRepository-DEBUG: 717s # GLib-GIRepository-DEBUG: popping node 1 dummy 717s # GLib-GIRepository-DEBUG: 717s # GLib-GIRepository-DEBUG: 717s # GLib-GIRepository-DEBUG: 717s # GLib-GIRepository-DEBUG: pushing node 1 dummy 717s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 717s # GLib-GIRepository-DEBUG: 717s # GLib-GIRepository-DEBUG: 717s # GLib-GIRepository-DEBUG: 717s # GLib-GIRepository-DEBUG: 717s # GLib-GIRepository-DEBUG: popping node 1 dummy 717s # GLib-GIRepository-DEBUG: 717s # GLib-GIRepository-DEBUG: 717s # GLib-GIRepository-DEBUG: 717s # GLib-GIRepository-DEBUG: pushing node 1 dummy 717s # GLib-GIRepository-DEBUG: Failed to parse type: 'GLib.Error" 718s # MAIN: call iface print-string on test and derived object: 718s # Iface-FOO: "iface-string-from-test-type" from 0x5e04fea0a870 718s # Iface-BAR: "iface-string-from-derived-type" from 0x5e04fea0a720 718s # chaining: 718s # Iface-FOO: "iface-string-from-derived-type" from 0x5e04fea0a720 718s # private data after initialization: 54321 == 54321 718s ok 1 /gobject/basics 718s # End of gobject tests 718s # Running test: glib/utils.test 718s TAP version 14 718s # random seed: R02S862cc0f56077a5222a9b18f4d1b5b272 718s 1..41 718s # Start of utils tests 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/language-names/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/language-names/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/language-names/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/language-names/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/language-names/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/language-names/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/language-names/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/language-names/.dirs/runtime 718s ok 1 /utils/language-names 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/locale-variants/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/locale-variants/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/locale-variants/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/locale-variants/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/locale-variants/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/locale-variants/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/locale-variants/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/locale-variants/.dirs/runtime 718s # Testing locale ‘en’ 718s # Testing locale ‘sr@latin’ 718s # Testing locale ‘fr_BE’ 718s # Testing locale ‘sr_SR@latin’ 718s # Testing locale ‘sr_SR@latin.UTF-8’ 718s # Testing locale ‘sr@latin_invalid’ 718s # Testing locale ‘sr.UTF-8@latin’ 718s # Testing locale ‘sr.UTF-8_latin’ 718s # Testing locale ‘sr.UTF-8@latin_invalid’ 718s ok 2 /utils/locale-variants 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/version/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/version/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/version/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/version/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/version/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/version/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/version/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/version/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/version/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/version/.dirs/runtime 718s ok 3 /utils/version 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/appname/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/appname/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/appname/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/appname/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/appname/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/appname/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/appname/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/appname/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/appname/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/appname/.dirs/runtime 718s ok 4 /utils/appname 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/prgname-thread-safety/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/prgname-thread-safety/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/prgname-thread-safety/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/prgname-thread-safety/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/prgname-thread-safety/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/prgname-thread-safety/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/prgname-thread-safety/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/prgname-thread-safety/.dirs/runtime 718s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 718s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 718s ok 5 /utils/prgname-thread-safety 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/tmpdir/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/tmpdir/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/tmpdir/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/tmpdir/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/tmpdir/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/tmpdir/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/tmpdir/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/tmpdir/.dirs/runtime 718s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 718s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 718s Unable to clean up temporary directory /tmp/test_utils_NYRPJ3/utils/tmpdir: No such file or directory 718s ok 6 /utils/tmpdir 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/basic_bits/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/basic_bits/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/basic_bits/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/basic_bits/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/basic_bits/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/basic_bits/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/basic_bits/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/basic_bits/.dirs/runtime 718s ok 7 /utils/basic_bits 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/bits/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/bits/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/bits/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/bits/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/bits/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/bits/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/bits/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/bits/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/bits/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/bits/.dirs/runtime 718s ok 8 /utils/bits 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/swap/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/swap/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/swap/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/swap/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/swap/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/swap/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/swap/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/swap/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/swap/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/swap/.dirs/runtime 718s ok 9 /utils/swap 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/find-program/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/find-program/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/find-program/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/find-program/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/find-program/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/find-program/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/find-program/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/find-program/.dirs/runtime 718s ok 10 /utils/find-program 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/find-program-for-path/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/find-program-for-path/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/find-program-for-path/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/find-program-for-path/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/find-program-for-path/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/find-program-for-path/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/find-program-for-path/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/find-program-for-path/.dirs/runtime 718s ok 11 /utils/find-program-for-path 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/debug/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/debug/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/debug/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/debug/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/debug/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/debug/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/debug/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/debug/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/debug/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/debug/.dirs/runtime 718s Unable to clean up temporary directory /tmp/test_utils_NYRPJ3/utils/debug: No such file or directory 718s ok 12 /utils/debug 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/codeset/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/codeset/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/codeset/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/codeset/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/codeset/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/codeset/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/codeset/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/codeset/.dirs/runtime 718s ok 13 /utils/codeset 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/codeset2/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/codeset2/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/codeset2/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/codeset2/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/codeset2/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/codeset2/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/codeset2/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/codeset2/.dirs/runtime 718s Unable to clean up temporary directory /tmp/test_utils_NYRPJ3/utils/codeset2: No such file or directory 718s ok 14 /utils/codeset2 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/console-charset/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/console-charset/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/console-charset/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/console-charset/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/console-charset/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/console-charset/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/console-charset/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/console-charset/.dirs/runtime 718s ok 15 /utils/console-charset 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/gettext/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/gettext/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/gettext/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/gettext/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/gettext/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/gettext/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/gettext/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/gettext/.dirs/runtime 718s ok 16 /utils/gettext 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/username/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/username/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/username/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/username/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/username/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/username/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/username/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/username/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/username/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/username/.dirs/runtime 718s ok 17 /utils/username 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/realname/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/realname/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/realname/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/realname/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/realname/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/realname/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/realname/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/realname/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/realname/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/realname/.dirs/runtime 718s ok 18 /utils/realname 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/hostname/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/hostname/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/hostname/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/hostname/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/hostname/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/hostname/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/hostname/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/hostname/.dirs/runtime 718s ok 19 /utils/hostname 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/os-info/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/os-info/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/os-info/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/os-info/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/os-info/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/os-info/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/os-info/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/os-info/.dirs/runtime 718s # NAME: Ubuntu 718s ok 20 /utils/os-info 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/clear-pointer/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/clear-pointer/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/clear-pointer/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/clear-pointer/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/clear-pointer/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/clear-pointer/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/clear-pointer/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/clear-pointer/.dirs/runtime 718s ok 21 /utils/clear-pointer 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/clear-pointer-cast/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/clear-pointer-cast/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/clear-pointer-cast/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/clear-pointer-cast/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/clear-pointer-cast/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/clear-pointer-cast/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/clear-pointer-cast/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/clear-pointer-cast/.dirs/runtime 718s ok 22 /utils/clear-pointer-cast 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/take-pointer/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/take-pointer/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/take-pointer/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/take-pointer/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/take-pointer/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/take-pointer/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/take-pointer/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/take-pointer/.dirs/runtime 718s ok 23 /utils/take-pointer 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/clear-source/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/clear-source/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/clear-source/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/clear-source/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/clear-source/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/clear-source/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/clear-source/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/clear-source/.dirs/runtime 718s ok 24 /utils/clear-source 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/misc-mem/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/misc-mem/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/misc-mem/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/misc-mem/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/misc-mem/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/misc-mem/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/misc-mem/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/misc-mem/.dirs/runtime 718s ok 25 /utils/misc-mem 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/aligned-mem/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/aligned-mem/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/aligned-mem/.dirs/runtime 718s # /utils/aligned-mem summary: Aligned memory allocator 718s # Alignment must not be zero 718s # Alignment must be a power of two 718s # Alignment must be a multiple of sizeof(void*) 718s ok 26 /utils/aligned-mem 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/free-sized/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/free-sized/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/free-sized/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/free-sized/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/free-sized/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/free-sized/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/free-sized/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/free-sized/.dirs/runtime 718s # /utils/free-sized summary: Check that g_free_sized() works 718s ok 27 /utils/free-sized 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/nullify/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/nullify/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/nullify/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/nullify/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/nullify/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/nullify/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/nullify/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/nullify/.dirs/runtime 718s ok 28 /utils/nullify 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/atexit/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/atexit/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/atexit/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/atexit/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/atexit/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/atexit/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/atexit/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/atexit/.dirs/runtime 718s Unable to clean up temporary directory /tmp/test_utils_NYRPJ3/utils/atexit: No such file or directory 718s ok 29 /utils/atexit 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/check-setuid/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/check-setuid/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/check-setuid/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/check-setuid/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/check-setuid/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/check-setuid/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/check-setuid/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/check-setuid/.dirs/runtime 718s ok 30 /utils/check-setuid 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/int-limits/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/int-limits/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/int-limits/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/int-limits/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/int-limits/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/int-limits/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/int-limits/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/int-limits/.dirs/runtime 718s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 718s ok 31 /utils/int-limits 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/clear-list/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/clear-list/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/clear-list/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/clear-list/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/clear-list/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/clear-list/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/clear-list/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/clear-list/.dirs/runtime 718s ok 32 /utils/clear-list 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/clear-slist/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/clear-slist/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/clear-slist/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/clear-slist/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/clear-slist/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/clear-slist/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/clear-slist/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/clear-slist/.dirs/runtime 718s ok 33 /utils/clear-slist 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/steal-handle-id/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/steal-handle-id/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/steal-handle-id/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/steal-handle-id/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/steal-handle-id/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/steal-handle-id/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/steal-handle-id/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/steal-handle-id/.dirs/runtime 718s ok 34 /utils/steal-handle-id 718s # Start of user-special-dirs tests 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/desktop/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/desktop/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/user-special-dirs/desktop/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/desktop/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/user-special-dirs/desktop/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/desktop/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/desktop/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/desktop/.dirs/runtime 718s ok 35 /utils/user-special-dirs/desktop 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/load-unlocked/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/load-unlocked/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/load-unlocked/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/load-unlocked/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 718s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 718s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 718s Unable to clean up temporary directory /tmp/test_utils_NYRPJ3/utils/user-special-dirs/load-unlocked: No such file or directory 718s ok 36 /utils/user-special-dirs/load-unlocked 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/reload-leaks/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/reload-leaks/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/reload-leaks/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/reload-leaks/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 718s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 718s Unable to clean up temporary directory /tmp/test_utils_NYRPJ3/utils/user-special-dirs/reload-leaks: No such file or directory 718s ok 37 /utils/user-special-dirs/reload-leaks 718s # End of user-special-dirs tests 718s # Start of clear-pointer tests 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/clear-pointer/side-effects/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/clear-pointer/side-effects/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/clear-pointer/side-effects/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/clear-pointer/side-effects/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/clear-pointer/side-effects/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/clear-pointer/side-effects/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/clear-pointer/side-effects/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/clear-pointer/side-effects/.dirs/runtime 718s ok 38 /utils/clear-pointer/side-effects 718s # End of clear-pointer tests 718s # Start of aligned-mem tests 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/alignment/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/alignment/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/aligned-mem/alignment/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/alignment/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/aligned-mem/alignment/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/alignment/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/alignment/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/aligned-mem/alignment/.dirs/runtime 718s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 718s ok 39 /utils/aligned-mem/alignment 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/zeroed/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/zeroed/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/aligned-mem/zeroed/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/zeroed/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/aligned-mem/zeroed/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/zeroed/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/zeroed/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/aligned-mem/zeroed/.dirs/runtime 718s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 718s ok 40 /utils/aligned-mem/zeroed 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/free-sized/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/free-sized/.dirs/cache 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_NYRPJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils_NYRPJ3/utils/aligned-mem/free-sized/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/free-sized/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_NYRPJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils_NYRPJ3/utils/aligned-mem/free-sized/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/free-sized/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_NYRPJ3/utils/aligned-mem/free-sized/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_NYRPJ3/utils/aligned-mem/free-sized/.dirs/runtime 718s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 718s ok 41 /utils/aligned-mem/free-sized 718s # Start of subprocess tests 718s # End of subprocess tests 718s # End of aligned-mem tests 718s # End of utils tests 718s ok - glib/utils.test 718s # Running test: glib/socket-service.test 718s ok - glib/socket-service.test 718s # Running test: glib/gdbus-non-socket.test 718s TAP version 14 718s # random seed: R02S444a56110dc476d1559c2fe754468b78 718s 1..4 718s # Start of socket-service tests 718s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 718s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63b5c1bbc240 and GSocketClientAsyncConnectData 0x63b5c1bb6f00 718s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 718s ok 1 /socket-service/start-stop 718s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63b5c1bc02d0 and GSocketClientAsyncConnectData 0x63b5c1bbff30 718s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 718s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 718s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63b5c1bc0250 for GSocketClientAsyncConnectData 0x63b5c1bb6f00 718s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 718s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 718s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 718s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 718s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 718s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63b5c1bc0250 for GSocketClientAsyncConnectData 0x63b5c1bbff30 718s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 718s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 718s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 718s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 718s ok 2 /socket-service/read_write_async 718s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63b5c1bc02d0 and GSocketClientAsyncConnectData 0x63b5c1bc39f0 718s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 718s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 718s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63b5c1bc2e20 for GSocketClientAsyncConnectData 0x63b5c1bc39f0 718s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 718s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 718s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 718s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 718s ok 3 /socket-service/read_writev_async 718s # Start of threaded tests 718s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 718s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x63b5c1bb4a70 and GSocketClientAsyncConnectData 0x63b5c1bbff30 718s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 718s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 718s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x63b5c1bc4250 for GSocketClientAsyncConnectData 0x63b5c1bbff30 718s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 718s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 718s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 718s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 718s ok 4 /socket-service/threaded/712570 718s # End of threaded tests 718s # End of socket-service tests 718s TAP version 14 718s # random seed: R02Scb44f9ea3544cbfe4bf33a503e7e48b0 718s 1..1 718s # Start of gdbus tests 718s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_1WRQJ3/gdbus/non-socket/.dirs/home 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_1WRQJ3/gdbus/non-socket/.dirs/cache 718s ok - glib/gdbus-non-socket.test 718s # Running test: glib/refstring.test 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_1WRQJ3/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_1WRQJ3/gdbus/non-socket/.dirs/system-config2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_1WRQJ3/gdbus/non-socket/.dirs/config 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_1WRQJ3/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_1WRQJ3/gdbus/non-socket/.dirs/system-data2 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_1WRQJ3/gdbus/non-socket/.dirs/data 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_1WRQJ3/gdbus/non-socket/.dirs/state 718s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_1WRQJ3/gdbus/non-socket/.dirs/runtime 718s ok 1 /gdbus/non-socket 718s # End of gdbus tests 718s TAP version 14 718s # random seed: R02Sf9857009e74f84e241268ed72e729cc5 718s 1..8 718s # Start of refstring tests 718s # s = 'hello, world' (0x5fb4678972c0) 718s ok 1 /refstring/base 718s ok 2 /refstring/length 718s ok 3 /refstring/length-auto 718s ok 4 /refstring/length-nuls 718s # s = 'hello, world' (0x5fb467897160) 718s # p = s = 'hello, world' (0x5fb467897160) 718s # releasing p[0x5fb467897160] ('hello, world') 718s # p = 'goodbye, world' (0x5fb4678972c0) 718s # releasing p[0x5fb4678972c0] ('goodbye, world') 718s # releasing s[0x5fb467897160] ('hello, world') 718s ok 5 /refstring/intern 718s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 718s ok 6 /refstring/hash_equal 718s # /refstring/equal summary: Test g_ref_string_equal() standalone 718s ok 7 /refstring/equal 719s ok - glib/refstring.test 719s ok 8 /refstring/intern-thread-safety 719s # End of refstring tests 719s # Running test: glib/throws.test 719s TAP version 14 719s # random seed: R02S7a2ccadd12de8224b4c6547b8edfde6d 719s 1..3 719s # Start of throws tests 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_F01WJ3/throws/invoke-gerror/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_F01WJ3/throws/invoke-gerror/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_F01WJ3/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_F01WJ3/throws/invoke-gerror/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_F01WJ3/throws/invoke-gerror/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_F01WJ3/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_F01WJ3/throws/invoke-gerror/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_F01WJ3/throws/invoke-gerror/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_F01WJ3/throws/invoke-gerror/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_F01WJ3/throws/invoke-gerror/.dirs/runtime 719s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 719s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 719s ok 1 /throws/invoke-gerror 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_F01WJ3/throws/vfunc-can-throw-gerror/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_F01WJ3/throws/vfunc-can-throw-gerror/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_F01WJ3/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_F01WJ3/throws/vfunc-can-throw-gerror/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_F01WJ3/throws/vfunc-can-throw-gerror/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_F01WJ3/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_F01WJ3/throws/vfunc-can-throw-gerror/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_F01WJ3/throws/vfunc-can-throw-gerror/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_F01WJ3/throws/vfunc-can-throw-gerror/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_F01WJ3/throws/vfunc-can-throw-gerror/.dirs/runtime 719s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 719s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 719s ok 2 /throws/vfunc-can-throw-gerror 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_F01WJ3/throws/callback-can-throw-gerror/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_F01WJ3/throws/callback-can-throw-gerror/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_F01WJ3/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_F01WJ3/throws/callback-can-throw-gerror/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_F01WJ3/throws/callback-can-throw-gerror/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_F01WJ3/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_F01WJ3/throws/callback-can-throw-gerror/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_F01WJ3/throws/callback-can-throw-gerror/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_F01WJ3/throws/callback-can-throw-gerror/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_F01WJ3/throws/callback-can-throw-gerror/.dirs/runtime 719s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 719s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 719s ok 3 /throws/callback-can-throw-gerror 719s ok - glib/throws.test 719s # End of throws tests 719s # Running test: glib/gdbus-test-codegen.test 719s TAP version 14 719s # random seed: R02Sfea31aeaafc4641193c3e67aaab453c1 719s 1..8 719s # Start of gdbus tests 719s # Start of codegen tests 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/annotations/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/annotations/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/annotations/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/annotations/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/annotations/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/annotations/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/annotations/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/annotations/.dirs/runtime 719s ok 1 /gdbus/codegen/annotations 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/interface_stability/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/interface_stability/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/interface_stability/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/interface_stability/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/interface_stability/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/interface_stability/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/interface_stability/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/interface_stability/.dirs/runtime 719s ok 2 /gdbus/codegen/interface_stability 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/object-manager/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/object-manager/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/object-manager/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/object-manager/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/object-manager/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/object-manager/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/object-manager/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/object-manager/.dirs/runtime 719s ok 3 /gdbus/codegen/object-manager 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/property-naming/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/property-naming/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/property-naming/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/property-naming/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/property-naming/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/property-naming/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/property-naming/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/property-naming/.dirs/runtime 719s ok 4 /gdbus/codegen/property-naming 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/autocleanups/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/autocleanups/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/autocleanups/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/autocleanups/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/autocleanups/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/autocleanups/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/autocleanups/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/autocleanups/.dirs/runtime 719s ok 5 /gdbus/codegen/autocleanups 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/deprecations/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/deprecations/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/deprecations/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/deprecations/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/deprecations/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/deprecations/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/deprecations/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/deprecations/.dirs/runtime 719s ok 6 /gdbus/codegen/deprecations 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/standalone-interface-info/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/standalone-interface-info/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/standalone-interface-info/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/standalone-interface-info/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/standalone-interface-info/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/standalone-interface-info/.dirs/runtime 719s ok 7 /gdbus/codegen/standalone-interface-info 719s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/unix-fd-list/.dirs/home 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/unix-fd-list/.dirs/cache 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/unix-fd-list/.dirs/system-config2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/unix-fd-list/.dirs/config 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/unix-fd-list/.dirs/system-data2 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/unix-fd-list/.dirs/data 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/unix-fd-list/.dirs/state 719s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_2RZWJ3/gdbus/codegen/unix-fd-list/.dirs/runtime 719s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 719s ok 8 /gdbus/codegen/unix-fd-list 719s # End of codegen tests 719s # End of gdbus tests 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 719s ok - glib/gdbus-test-codegen.test 719s # Running test: glib/tls-bindings.test 719s TAP version 14 719s # random seed: R02Saf3a3ccfbe4764b474015524e071a886 719s 1..2 719s # Start of tls-connection tests 719s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 719s ok 1 /tls-connection/get-tls-channel-binding 719s ok - glib/tls-bindings.test 719s ok 2 /tls-connection/get-dtls-channel-binding 719s # End of tls-connection tests 719s # Running test: glib/markup-escape.test 719s ok - glib/markup-escape.test 719s TAP version 14 719s # random seed: R02S8e969db59eeb461fef2c0900b8ed5479 719s 1..41 719s # Start of markup tests 719s ok 1 /markup/format 719s # Start of escape-text tests 719s ok 2 /markup/escape-text/0 719s ok 3 /markup/escape-text/1 719s ok 4 /markup/escape-text/2 719s ok 5 /markup/escape-text/3 719s ok 6 /markup/escape-text/4 719s ok 7 /markup/escape-text/5 719s ok 8 /markup/escape-text/6 719s ok 9 /markup/escape-text/7 719s ok 10 /markup/escape-text/8 719s ok 11 /markup/escape-text/9 719s ok 12 /markup/escape-text/10 719s ok 13 /markup/escape-text/11 719s ok 14 /markup/escape-text/12 719s ok 15 /markup/escape-text/13 719s ok 16 /markup/escape-text/14 719s ok 17 /markup/escape-text/15 719s ok 18 /markup/escape-text/16 719s ok 19 /markup/escape-text/17 719s ok 20 /markup/escape-text/18 719s ok 21 /markup/escape-text/19 719s ok 22 /markup/escape-text/20 719s ok 23 /markup/escape-text/21 719s ok 24 /markup/escape-text/22 719s # End of escape-text tests 719s # Start of escape-unichar tests 719s ok 25 /markup/escape-unichar/0 719s ok 26 /markup/escape-unichar/1 719s ok 27 /markup/escape-unichar/2 719s ok 28 /markup/escape-unichar/3 719s ok 29 /markup/escape-unichar/4 719s ok 30 /markup/escape-unichar/5 719s ok 31 /markup/escape-unichar/6 719s ok 32 /markup/escape-unichar/7 719s ok 33 /markup/escape-unichar/8 719s ok 34 /markup/escape-unichar/9 719s ok 35 /markup/escape-unichar/10 719s ok 36 /markup/escape-unichar/11 719s ok 37 /markup/escape-unichar/12 719s ok 38 /markup/escape-unichar/13 719s ok 39 /markup/escape-unichar/14 719s ok 40 /markup/escape-unichar/15 719s ok 41 /markup/escape-unichar/16 719s # End of escape-unichar tests 719s # End of markup tests 719s # Running test: glib/module-test-library.test 719s TAP version 14 719s # random seed: R02S3a9548a460ecc874aec6c5b002f0daf9 719s 1..3 719s # Start of module tests 719s ok 1 /module/basics 719s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 719s ok 2 /module/invalid-libtool-archive 719s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 719s ok - glib/module-test-library.test 719s ok 3 /module/local-binding 719s # End of module tests 719s # Running test: glib/utf8-private.test 719s ok - glib/utf8-private.test 719s TAP version 14 719s # random seed: R02S1556bc053a6ef76a0dbd5fad773955af 719s 1..2 719s # Start of utf8 tests 719s ok 1 /utf8/utf8-to-utf16-make-valid 719s ok 2 /utf8/utf8-to-utf16-make-valid-backtrack 719s # End of utf8 tests 719s # Running test: glib/threadtests.test 719s TAP version 14 719s # random seed: R02S6ba627fd4ca8ebed363dd513e3d8dca4 719s 1..5 719s # Start of GObject tests 719s ok 1 /GObject/threaded-object-init 719s ok 2 /GObject/threaded-weak-ref 719s # slow test /GObject/threaded-weak-ref executed in 0.54 secs 719s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 719s # /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 719s ok - glib/threadtests.test 719s ok 3 /GObject/threaded-toggle-notify 719s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 719s # Start of threaded-weak-ref tests 719s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 719s # /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. 719s ok 5 /GObject/threaded-weak-ref/on-finalization 719s # End of threaded-weak-ref tests 719s # End of GObject tests 719s # Running test: glib/memory-monitor-dbus.test 719s TAP version 13 719s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 719s 1..1 719s ok - glib/memory-monitor-dbus.test 719s # Running test: glib/objects-refcount1.test 719s TAP version 14 719s # random seed: R02S66ad92814aa63ad390f04040cbcee9c9 719s 1..1 719s # Start of gobject tests 719s # Start of refcount tests 719s # init 0x64a22a64cd90 719s # 719s # init 0x64a22a64cea0 719s # 720s # Executing: glib/objects-refcount1.test 724s ok - glib/objects-refcount1.test 724s # Running test: glib/vfs.test 724s ok - glib/vfs.test 724s # dispose 0x64a22a64cd90! 724s # 724s # dispose 0x64a22a64cea0! 724s # 724s ok 1 /gobject/refcount/object-basics 724s # slow test /gobject/refcount/object-basics executed in 5.00 secs 724s # End of refcount tests 724s # End of gobject tests 724s TAP version 14 724s # random seed: R02S665d97292ad3b046eb0785389aee0d0e 724s 1..3 724s # Start of gvfs tests 724s ok 1 /gvfs/local 724s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 724s ok 2 /gvfs/register-scheme 724s # Start of resource tests 724s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 724s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 724s ok 3 /gvfs/resource/malformed-escaping 724s # End of resource tests 724s # End of gvfs tests 724s # Running test: glib/gdbus-names.test 724s TAP version 14 724s # random seed: R02S54dd86d7a957064a56a2f73346c03b01 724s 1..10 724s # Start of gdbus tests 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/validate-names/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/validate-names/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/validate-names/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/validate-names/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/validate-names/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/validate-names/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/validate-names/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LZ3QJ3/gdbus/validate-names/.dirs/runtime 724s ok 1 /gdbus/validate-names 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-own-name/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-own-name/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-own-name/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-own-name/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-own-name/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-own-name/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-own-name/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-own-name/.dirs/runtime 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s ok 2 /gdbus/bus-own-name 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name/.dirs/runtime 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s ok 3 /gdbus/bus-watch-name 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start/.dirs/runtime 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s ok 4 /gdbus/bus-watch-name-auto-start 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 724s dbus-daemon[12021]: [session uid=1000 pid=12021 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=12012 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 724s # Acquired a message bus connection 724s dbus-daemon[12021]: [session uid=1000 pid=12021 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 724s # Acquired the name org.gtk.GDBus.FakeService 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures/.dirs/runtime 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s ok 6 /gdbus/bus-watch-name-closures 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s ok 7 /gdbus/bus-watch-name-closures-auto-start 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-different-context/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-different-context/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-different-context/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-different-context/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-different-context/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-different-context/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-different-context/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-watch-different-context/.dirs/runtime 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s ok 8 /gdbus/bus-watch-different-context 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-unwatch-early/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-unwatch-early/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-unwatch-early/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-unwatch-early/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-unwatch-early/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-unwatch-early/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-unwatch-early/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LZ3QJ3/gdbus/bus-unwatch-early/.dirs/runtime 724s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 724s ok - glib/gdbus-names.test 724s # Running test: glib/module-test-plugin.test 724s ok - glib/module-test-plugin.test 724s # Running test: glib/logging.test 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s ok 9 /gdbus/bus-unwatch-early 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/escape-object-path/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/escape-object-path/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/escape-object-path/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/escape-object-path/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_LZ3QJ3/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_LZ3QJ3/gdbus/escape-object-path/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/escape-object-path/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_LZ3QJ3/gdbus/escape-object-path/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_LZ3QJ3/gdbus/escape-object-path/.dirs/runtime 724s ok 10 /gdbus/escape-object-path 724s # End of gdbus tests 724s TAP version 14 724s # random seed: R02S9461ce47e8b9cb12b0a8bf13555c83b9 724s 1..3 724s # Start of module tests 724s ok 1 /module/basics 724s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 724s ok 2 /module/invalid-libtool-archive 724s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 724s ok 3 /module/local-binding 724s # End of module tests 724s TAP version 14 724s # random seed: R02Sd1d3f354f39d00d93a2dbb61fc420549 724s 1..20 724s # Start of logging tests 724s ok 1 /logging/default-handler 724s ok 2 /logging/journald-handler 724s ok 3 /logging/warnings 724s ok 4 /logging/fatal-log-mask 724s ok 5 /logging/always-fatal 724s # bu-DEBUG: message 724s # ba-DEBUG: message 724s # ba-INFO: message 724s ok 6 /logging/set-handler 724s ok 7 /logging/print-handler 724s ok 8 /logging/printerr-handler 724s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 724s # The Log Message Handler 724s # 724s # The Good Fail Message Handler 724s # 724s ok 9 /logging/653052 724s ok 10 /logging/gibberish 724s # Start of default-handler tests 724s # Start of subprocess tests 724s # End of subprocess tests 724s # End of default-handler tests 724s # End of logging tests 724s # Start of structured-logging tests 724s ok 11 /structured-logging/no-state 724s ok 12 /structured-logging/some-state 724s # /structured-logging/recursion-overflow summary: Test that g_log_structured always sets n_fields correctly. 724s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3760 724s ok 13 /structured-logging/recursion-overflow 724s ok 14 /structured-logging/robustness 724s ok 15 /structured-logging/roundtrip1 724s ok 16 /structured-logging/roundtrip2 724s ok 17 /structured-logging/roundtrip3 724s ok 18 /structured-logging/variant1 724s ok 19 /structured-logging/variant2 724s ok - glib/logging.test 724s ok 20 /structured-logging/set-writer-func-twice 724s # End of structured-logging tests 724s # Running test: glib/gdbus-auth.test 724s TAP version 14 724s # random seed: R02S35574321ad2ba57c50387b0246854ac7 724s 1..5 724s # Start of gdbus tests 724s # Start of auth tests 724s # Start of client tests 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/EXTERNAL/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/EXTERNAL/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/EXTERNAL/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/EXTERNAL/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/EXTERNAL/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/EXTERNAL/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/EXTERNAL/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/EXTERNAL/.dirs/runtime 724s ok 1 /gdbus/auth/client/EXTERNAL 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 724s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 724s # End of client tests 724s # Start of server tests 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/ANONYMOUS/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/ANONYMOUS/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/ANONYMOUS/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/ANONYMOUS/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/ANONYMOUS/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/ANONYMOUS/.dirs/runtime 724s ok 3 /gdbus/auth/server/ANONYMOUS 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/EXTERNAL/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/EXTERNAL/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/EXTERNAL/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/EXTERNAL/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/EXTERNAL/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/EXTERNAL/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/EXTERNAL/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/EXTERNAL/.dirs/runtime 724s ok 4 /gdbus/auth/server/EXTERNAL 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_1T8NJ3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 724s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 724s # End of server tests 724s # End of auth tests 724s # End of gdbus tests 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s ok - glib/gdbus-auth.test 724s # Running test: glib/g-icon.test 724s TAP version 14 724s # random seed: R02S9cb6d7a60d5bd759ac9e52c8885f4f64 724s 1..6 724s # Start of icons tests 724s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 724s ok 1 /icons/to-string 724s ok 2 /icons/serialize 724s ok 3 /icons/themed 724s ok 4 /icons/emblemed 724s ok 5 /icons/file 724s ok 6 /icons/bytes 724s # End of icons tests 724s ok - glib/g-icon.test 724s # Running test: glib/gdbus-error.test 724s TAP version 14 724s # random seed: R02S3dc58cb2f77b5bc01b8da593659ccea5 724s 1..4 724s # Start of gdbus tests 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/registered-errors/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/registered-errors/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_XMDPJ3/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_XMDPJ3/gdbus/registered-errors/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/registered-errors/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_XMDPJ3/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_XMDPJ3/gdbus/registered-errors/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/registered-errors/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/registered-errors/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_XMDPJ3/gdbus/registered-errors/.dirs/runtime 724s ok 1 /gdbus/registered-errors 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/unregistered-errors/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/unregistered-errors/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_XMDPJ3/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_XMDPJ3/gdbus/unregistered-errors/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/unregistered-errors/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_XMDPJ3/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_XMDPJ3/gdbus/unregistered-errors/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/unregistered-errors/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/unregistered-errors/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_XMDPJ3/gdbus/unregistered-errors/.dirs/runtime 724s ok 2 /gdbus/unregistered-errors 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/transparent-gerror/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/transparent-gerror/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_XMDPJ3/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_XMDPJ3/gdbus/transparent-gerror/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/transparent-gerror/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_XMDPJ3/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_XMDPJ3/gdbus/transparent-gerror/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/transparent-gerror/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/transparent-gerror/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_XMDPJ3/gdbus/transparent-gerror/.dirs/runtime 724s ok 3 /gdbus/transparent-gerror 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/register-error/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/register-error/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_XMDPJ3/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_XMDPJ3/gdbus/register-error/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/register-error/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_XMDPJ3/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_XMDPJ3/gdbus/register-error/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/register-error/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_XMDPJ3/gdbus/register-error/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_XMDPJ3/gdbus/register-error/.dirs/runtime 724s ok 4 /gdbus/register-error 724s # End of gdbus tests 724s ok - glib/gdbus-error.test 724s # Running test: glib/strfuncs.test 724s TAP version 14 724s # random seed: R02S44b90eee0de91ab63cfc518c84d27b53 724s 1..51 724s # Start of strfuncs tests 724s ok 1 /strfuncs/ascii-strcasecmp 724s ok 2 /strfuncs/ascii_strdown 724s ok 3 /strfuncs/ascii_strdup 724s ok 4 /strfuncs/ascii_strtod 724s ok 5 /strfuncs/bounds-check 724s ok 6 /strfuncs/has-prefix 724s ok 7 /strfuncs/has-prefix-macro 724s ok 8 /strfuncs/has-suffix 724s ok 9 /strfuncs/has-suffix-macro 724s ok 10 /strfuncs/memdup 724s ok 11 /strfuncs/memdup2 724s ok 12 /strfuncs/set_str 724s ok 13 /strfuncs/stpcpy 724s ok 14 /strfuncs/str_match_string 724s ok 15 /strfuncs/str_tokenize_and_fold 724s ok 16 /strfuncs/strcanon 724s ok 17 /strfuncs/strchomp 724s ok 18 /strfuncs/strchug 724s ok 19 /strfuncs/strcompress-strescape 724s ok 20 /strfuncs/strconcat 724s ok 21 /strfuncs/strdelimit 724s ok 22 /strfuncs/strdup 724s ok 23 /strfuncs/strdup-printf 724s ok 24 /strfuncs/strdupv 724s ok 25 /strfuncs/strerror 724s ok 26 /strfuncs/strip-context 724s ok 27 /strfuncs/strjoin 724s ok 28 /strfuncs/strjoinv 724s ok 29 /strfuncs/strlcat 724s ok 30 /strfuncs/strlcpy 724s ok 31 /strfuncs/strncasecmp 724s ok 32 /strfuncs/strndup 724s ok 33 /strfuncs/strnfill 724s ok 34 /strfuncs/strreverse 724s ok 35 /strfuncs/strsignal 724s ok 36 /strfuncs/strsplit 724s ok 37 /strfuncs/strsplit-set 724s ok 38 /strfuncs/strstr 724s ok 39 /strfuncs/strtod 724s ok 40 /strfuncs/strtoull-strtoll 724s ok 41 /strfuncs/strup 724s ok 42 /strfuncs/strv-contains 724s ok 43 /strfuncs/strv-equal 724s ok 44 /strfuncs/strv-length 724s ok 45 /strfuncs/test-is-to-digit 724s ok 46 /strfuncs/transliteration 724s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 724s ok 47 /strfuncs/str-equal 724s ok 48 /strfuncs/str-is-ascii 724s # Start of ascii-string-to-num tests 724s ok 49 /strfuncs/ascii-string-to-num/pathological 724s ok 50 /strfuncs/ascii-string-to-num/usual 724s # End of ascii-string-to-num tests 724s # Start of strdup tests 724s ok 51 /strfuncs/strdup/inline 724s # End of strdup tests 724s # End of strfuncs tests 724s ok - glib/strfuncs.test 724s # Running test: glib/gdbus-close-pending.test 724s TAP version 14 724s # random seed: R02S04d9cdaf7522b5b3ad5abc34d9056488 724s 1..2 724s # Start of gdbus tests 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_LXUOJ3/gdbus/close-pending/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_LXUOJ3/gdbus/close-pending/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_LXUOJ3/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_LXUOJ3/gdbus/close-pending/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_LXUOJ3/gdbus/close-pending/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_LXUOJ3/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_LXUOJ3/gdbus/close-pending/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_LXUOJ3/gdbus/close-pending/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_LXUOJ3/gdbus/close-pending/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_LXUOJ3/gdbus/close-pending/.dirs/runtime 725s ok 1 /gdbus/close-pending 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_LXUOJ3/gdbus/unref-pending/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_LXUOJ3/gdbus/unref-pending/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_LXUOJ3/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_LXUOJ3/gdbus/unref-pending/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_LXUOJ3/gdbus/unref-pending/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_LXUOJ3/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_LXUOJ3/gdbus/unref-pending/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_LXUOJ3/gdbus/unref-pending/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_LXUOJ3/gdbus/unref-pending/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_LXUOJ3/gdbus/unref-pending/.dirs/runtime 725s # Executing: glib/gdbus-close-pending.test 725s ok - glib/gdbus-close-pending.test 725s ok 2 /gdbus/unref-pending 725s # End of gdbus tests 725s # Running test: glib/cache.test 725s TAP version 14 725s # random seed: R02S89b17027f19304721d6b622fc2a635e5 725s 1..1 725s # Start of cache tests 725s ok 1 /cache/basic 725s # End of cache tests 725s ok - glib/cache.test 725s # Running test: glib/unicode-encoding.test 725s TAP version 14 725s # random seed: R02S49a187b4eb25689ce7f12b59d87db7d4 725s 1..1 725s # Start of unicode tests 725s ok 1 /unicode/encoding 725s # End of unicode tests 725s ok - glib/unicode-encoding.test 725s # Running test: glib/hook.test 725s TAP version 14 725s # random seed: R02S22097127a3d8486f823bec8fdde19074 725s 1..2 725s # Start of hook tests 725s ok 1 /hook/basics 725s ok 2 /hook/corner-cases 725s # End of hook tests 725s ok - glib/hook.test 725s # Running test: glib/include.test 725s TAP version 14 725s # random seed: R02Sbab774564423db0e041255da3bd26603 725s 1..1 725s # Start of include tests 725s ok 1 /include/rwlock 725s # End of include tests 725s ok - glib/include.test 725s # Running test: glib/trash.test 725s TAP version 14 725s # random seed: R02Sab80827e681ca5db2fa62dcb2cf52a7a 725s 1..3 725s # Start of trash tests 725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 725s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 725s # File: /tmp/test-trashLCEYJ3 (parent st_dev: 2049) 725s # Home: /home/ubuntu (st_dev: 2049) 725s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 725s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 725s ok 3 /trash/long-filename 725s # End of trash tests 725s ok - glib/trash.test 725s # Running test: glib/cxx-98.test 725s ok - glib/cxx-98.test 725s TAP version 14 725s # random seed: R02Sc48659822549f173b2ba804b93869bef 725s 1..2 725s # Start of gtask tests 725s # 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. 725s ok 1 /gtask/name 725s # Start of name tests 725s # 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. 725s ok 2 /gtask/name/macro-wrapper 725s # End of name tests 725s # End of gtask tests 725s # Running test: glib/properties.test 725s TAP version 14 725s # random seed: R02S6950c8f866a2166a39ac2a9fa04a7f0d 725s 1..14 725s # Start of properties tests 725s ok 1 /properties/install 725s ok 2 /properties/install-many 725s ok 3 /properties/notify 725s ok 4 /properties/notify-queue 725s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 725s ok 5 /properties/construct 725s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 725s # Test g_object_get_property with an initialized value 725s # Test g_object_get_property with an uninitialized value 725s # Test g_object_get_property with a transformable value 725s ok 6 /properties/get-property 725s ok 7 /properties/testv_with_no_properties 725s ok 8 /properties/testv_with_valid_properties 725s ok 9 /properties/testv_with_invalid_property_type 725s ok 10 /properties/testv_with_invalid_property_names 725s ok 11 /properties/testv_getv 725s ok 12 /properties/testv_notify_queue 725s # Start of notify tests 725s ok 13 /properties/notify/too-many-freezes 725s # End of notify tests 725s # Start of set-property tests 725s # Start of variant tests 725s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 725s ok 14 /properties/set-property/variant/floating 725s # End of variant tests 725s # End of set-property tests 725s # End of properties tests 725s ok - glib/properties.test 725s # Running test: glib/live-g-file.test 725s TAP version 14 725s # random seed: R02S6043cd514c818a61b626b62487f3a3a4 725s 1..13 725s # Start of live-g-file tests 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/prep_clean_structure/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/prep_clean_structure/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_AXVXJ3/live-g-file/prep_clean_structure/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/prep_clean_structure/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_AXVXJ3/live-g-file/prep_clean_structure/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/prep_clean_structure/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/prep_clean_structure/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_AXVXJ3/live-g-file/prep_clean_structure/.dirs/runtime 725s # Cleaning target testing structure in '/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file'... 725s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 725s ok 1 /live-g-file/prep_clean_structure 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/create_structure/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/create_structure/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_AXVXJ3/live-g-file/create_structure/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/create_structure/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_AXVXJ3/live-g-file/create_structure/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/create_structure/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/create_structure/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_AXVXJ3/live-g-file/create_structure/.dirs/runtime 725s # 725s # Going to create testing structure in '/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file'... 725s # Creating directory 'dir1'... 725s # Creating directory 'dir1/subdir'... 725s # Creating directory 'dir2'... 725s # Creating directory 'dir-target'... 725s # Creating directory 'dir_no-access'... 725s # Creating directory 'dir_no-write'... 725s # Creating file 'target-file'... 725s # Creating file 'normal_file'... 725s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 725s # Creating file 'executable_file'... 725s # Creating file 'private_file'... 725s # Creating file 'normal_file2'... 725s # Creating file 'readonly_file'... 725s # Creating file 'UTF_příliš z'... 725s # Creating directory 'dir_příliš z'... 725s # Creating symlink 'lost_symlink' --> 'nowhere'... 725s # Creating directory 'dir_hidden'... 725s # Creating file 'dir_hidden/.a-hidden-file'... 725s # Creating file 'dir_hidden/file-in-.hidden1'... 725s # Creating file 'dir_hidden/file-in-.hidden2'... 725s # Creating pattern file... 725s # done. 725s ok 2 /live-g-file/create_structure 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_initial_structure/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_initial_structure/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_initial_structure/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_initial_structure/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_initial_structure/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_initial_structure/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_initial_structure/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_initial_structure/.dirs/runtime 725s # Testing sample structure in '/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file'... 725s # Testing file 'dir1'... 725s # Testing file 'dir1/subdir'... 725s # Testing file 'dir2'... 725s # Testing file 'dir-target'... 725s # Testing file 'dir_no-access'... 725s # Testing file 'dir_no-write'... 725s # Testing file 'target-file'... 725s # Testing file 'normal_file'... 725s # Testing file 'normal_file-symlink'... 725s # Testing file 'executable_file'... 725s # Testing file 'private_file'... 725s # Testing file 'normal_file2'... 725s # Testing file 'readonly_file'... 725s # Testing file 'UTF_příliš z'... 725s # Testing file 'dir_příliš z'... 725s # Testing file 'lost_symlink'... 725s # Testing file 'dir_hidden'... 725s # Testing file 'dir_hidden/.a-hidden-file'... 725s # Testing file 'dir_hidden/file-in-.hidden1'... 725s # Testing file 'dir_hidden/file-in-.hidden2'... 725s # Testing pattern file... 725s # read 65536 bytes, total = 65536 of 65536. 725s ok 3 /live-g-file/test_initial_structure 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_traverse_structure/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_traverse_structure/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_traverse_structure/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_traverse_structure/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_traverse_structure/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_traverse_structure/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_traverse_structure/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_traverse_structure/.dirs/runtime 725s # Traversing through the sample structure in '/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file'... 725s # Found file dir1, relative to root: dir1 725s # Found file subdir, relative to root: dir1/subdir 725s # Found file dir2, relative to root: dir2 725s # Found file dir-target, relative to root: dir-target 725s # Found file dir_no-access, relative to root: dir_no-access 725s # Found file dir_no-write, relative to root: dir_no-write 725s # Found file target-file, relative to root: target-file 725s # Found file normal_file, relative to root: normal_file 725s # Found file normal_file-symlink, relative to root: normal_file-symlink 725s # Found file executable_file, relative to root: executable_file 725s # Found file private_file, relative to root: private_file 725s # Found file normal_file2, relative to root: normal_file2 725s # Found file readonly_file, relative to root: readonly_file 725s # Found file UTF_příliš z, relative to root: UTF_příliš z 725s # Found file dir_příliš z, relative to root: dir_příliš z 725s # Found file lost_symlink, relative to root: lost_symlink 725s # Found file dir_hidden, relative to root: dir_hidden 725s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 725s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 725s # Found file .hidden, relative to root: dir_hidden/.hidden 725s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 725s # Found file pattern_file, relative to root: pattern_file 725s ok 4 /live-g-file/test_traverse_structure 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_enumerate/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_enumerate/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_enumerate/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_enumerate/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_enumerate/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_enumerate/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_enumerate/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_enumerate/.dirs/runtime 725s # Test enumerate '/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file'... 725s # Testing file 'dir_no-access' 725s # Testing file 'normal_file' 725s # Testing file 'normal_file-symlink' 725s # Testing file 'not_exists' 725s # Testing file 'not_exists' 725s # Testing file 'not_exists2' 725s # Testing file 'not_exists3' 725s # Testing file 'not_exists4' 725s # Testing file 'dir_no-execute/file' 725s ok 5 /live-g-file/test_enumerate 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_open/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_open/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_open/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_open/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_open/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_open/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_open/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_open/.dirs/runtime 725s # test_open: 'dir1' 725s # test_open: 'dir_no-access' 725s # test_open: 'target-file' 725s # test_open: 'normal_file-symlink' 725s # test_open: 'executable_file' 725s # test_open: 'private_file' 725s # test_open: 'readonly_file' 725s # test_open: 'UTF_příliš z' 725s # test_open: 'pattern_file' 725s # test_open: 'not_exists' 725s # test_open: 'dir_no-execute/file' 725s # test_open: 'lost_symlink' 725s ok 6 /live-g-file/test_open 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_create/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_create/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_create/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_create/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_create/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_create/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_create/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_create/.dirs/runtime 725s # test_create: 'dir1' 725s # error code 3 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir1”: Is a directory 725s # test_create: 'dir1/subdir' 725s # error code 3 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir1/subdir”: Is a directory 725s # test_create: 'dir2' 725s # error code 2 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir2”: File exists 725s # test_create: 'normal_file' 725s # error code 2 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/normal_file”: File exists 725s # test_create: 'executable_file' 725s # test_create: 'private_file' 725s # test_create: 'normal_file2' 725s # test_create: 'UTF_příliš z' 725s # error code 2 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/UTF_příliš z”: File exists 725s # test_create: 'dir_příliš z' 725s # error code 2 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_příliš z”: File exists 725s # test_create: 'pattern_file' 725s # test_create: 'not_exists2' 725s # test_create: 'not_exists3' 725s # test_create: 'not_exists4' 725s ok 7 /live-g-file/test_create 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_copy_move/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_copy_move/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_copy_move/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_copy_move/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_copy_move/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_copy_move/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_copy_move/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_copy_move/.dirs/runtime 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'dir1/subdir' --> 'dir-target' 725s # res = 0, error code 25 = Can’t recursively copy directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'dir1/subdir' --> '.' 725s # res = 0, error code 2 = Target file exists 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'dir1/subdir' --> 'target-file' 725s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/target-file/dir1/subdir”: Not a directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'dir1/subdir' --> 'not_exists' 725s # res = 0, error code 25 = Can’t recursively copy directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 725s # res = 0, error code 25 = Can’t recursively copy directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 725s # res = 0, error code 25 = Can’t recursively copy directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'dir2' --> 'dir-target' 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'dir-target' --> 'dir-target' 725s # res = 0, error code 25 = Can’t recursively copy directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'dir-target' --> '.' 725s # res = 0, error code 2 = Target file exists 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'dir-target' --> 'target-file' 725s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/target-file/dir-target”: Not a directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'dir-target' --> 'not_exists' 725s # res = 0, error code 25 = Can’t recursively copy directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'dir-target' --> 'dir_no-access' 725s # res = 0, error code 25 = Can’t recursively copy directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'dir-target' --> 'dir_no-write' 725s # res = 0, error code 25 = Can’t recursively copy directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'target-file' --> 'dir-target' 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'target-file' --> '.' 725s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/target-file”: File exists 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'target-file' --> 'target-file' 725s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/target-file/target-file”: Not a directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'target-file' --> 'not_exists' 725s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists/target-file”: No such file or directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'target-file' --> 'dir_no-access' 725s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-access/target-file”: Permission denied 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'target-file' --> 'dir_no-write' 725s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-write/target-file”: Permission denied 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'normal_file-symlink' --> '.' 725s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/normal_file-symlink: File exists 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'normal_file-symlink' --> 'target-file' 725s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 725s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 725s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 725s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'executable_file' --> 'dir-target' 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'executable_file' --> 'dir-target' 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'executable_file' --> '.' 725s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/executable_file”: File exists 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'executable_file' --> 'target-file' 725s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/target-file/executable_file”: Not a directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'executable_file' --> 'not_exists' 725s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists/executable_file”: No such file or directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'executable_file' --> 'dir_no-access' 725s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-access/executable_file”: Permission denied 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'executable_file' --> 'dir_no-write' 725s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-write/executable_file”: Permission denied 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'private_file' --> 'dir-target' 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'private_file' --> 'dir-target' 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'private_file' --> '.' 725s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/private_file”: File exists 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'private_file' --> 'target-file' 725s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/target-file/private_file”: Not a directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'private_file' --> 'not_exists' 725s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists/private_file”: No such file or directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'private_file' --> 'dir_no-access' 725s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-access/private_file”: Permission denied 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'private_file' --> 'dir_no-write' 725s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-write/private_file”: Permission denied 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'normal_file2' --> 'dir-target' 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'normal_file2' --> 'dir-target' 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'normal_file2' --> '.' 725s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/normal_file2”: File exists 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'normal_file2' --> 'target-file' 725s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/target-file/normal_file2”: Not a directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'normal_file2' --> 'not_exists' 725s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists/normal_file2”: No such file or directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'normal_file2' --> 'dir_no-access' 725s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-access/normal_file2”: Permission denied 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'normal_file2' --> 'dir_no-write' 725s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-write/normal_file2”: Permission denied 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'UTF_příliš z' --> '.' 725s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/UTF_příliš z”: File exists 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'UTF_příliš z' --> 'target-file' 725s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/target-file/UTF_příliš z”: Not a directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'UTF_příliš z' --> 'not_exists' 725s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists/UTF_příliš z”: No such file or directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'UTF_příliš z' --> 'dir_no-access' 725s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-access/UTF_příliš z”: Permission denied 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'UTF_příliš z' --> 'dir_no-write' 725s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-write/UTF_příliš z”: Permission denied 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'pattern_file' --> 'dir-target' 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'pattern_file' --> '.' 725s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/pattern_file”: File exists 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'pattern_file' --> 'target-file' 725s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/target-file/pattern_file”: Not a directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'pattern_file' --> 'not_exists' 725s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists/pattern_file”: No such file or directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'pattern_file' --> 'dir_no-access' 725s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-access/pattern_file”: Permission denied 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'pattern_file' --> 'dir_no-write' 725s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-write/pattern_file”: Permission denied 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'not_exists' --> 'dir-target' 725s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists”: No such file or directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'not_exists' --> '.' 725s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists”: No such file or directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'not_exists' --> 'target-file' 725s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists”: No such file or directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'not_exists' --> 'not_exists' 725s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists”: No such file or directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'not_exists' --> 'dir_no-access' 725s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists”: No such file or directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'not_exists' --> 'dir_no-write' 725s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists”: No such file or directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'not_exists' --> 'dir-target' 725s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists: No such file or directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'lost_symlink' --> 'dir-target' 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'lost_symlink' --> '.' 725s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/lost_symlink: File exists 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'lost_symlink' --> 'target-file' 725s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/target-file/lost_symlink: Not a directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'lost_symlink' --> 'not_exists' 725s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 725s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 725s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 725s ok 8 /live-g-file/test_copy_move 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_delete/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_delete/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_delete/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_delete/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_delete/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_delete/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_delete/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_delete/.dirs/runtime 725s # Deleting dir1, path = /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir1 725s # result = 0, error = Error removing file /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir1: Directory not empty 725s # Deleting dir2, path = /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir2 725s # result = 0, error = Error removing file /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir2: No such file or directory 725s # Deleting executable_file, path = /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/executable_file 725s # result = 0, error = Error trashing file /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/executable_file: No such file or directory 725s # Deleting readonly_file, path = /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/readonly_file 725s # Deleting dir_příliš z, path = /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_příliš z 725s # Deleting not_exists, path = /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists 725s # result = 0, error = Error removing file /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists: No such file or directory 725s # Deleting not_exists, path = /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists 725s # result = 0, error = Error trashing file /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/not_exists: No such file or directory 725s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-execute/file 725s # result = 0, error = Error removing file /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/dir_no-execute/file: No such file or directory 725s # Deleting lost_symlink, path = /tmp/test_live-g-file_AXVXJ3/testdir_live-g-file/lost_symlink 725s ok 9 /live-g-file/test_delete 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_make_directory_with_parents/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_make_directory_with_parents/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_make_directory_with_parents/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_make_directory_with_parents/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_make_directory_with_parents/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_make_directory_with_parents/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_make_directory_with_parents/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_make_directory_with_parents/.dirs/runtime 725s # We do not have CAP_DAC_OVERRIDE or equivalent 725s ok 10 /live-g-file/test_make_directory_with_parents 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/final_clean/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/final_clean/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_AXVXJ3/live-g-file/final_clean/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/final_clean/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_AXVXJ3/live-g-file/final_clean/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/final_clean/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/final_clean/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_AXVXJ3/live-g-file/final_clean/.dirs/runtime 725s # Cleaning target testing structure in '/tmp/test_live-g-file_AXVXJ3/testdir_live-g-file'... 725s # deleting 'dir1' 725s # deleting 'subdir' 725s # deleting 'dir-target' 725s # deleting 'dir2' 725s # deleting 'target-file' 725s # deleting 'normal_file-symlink' 725s # deleting 'pattern_file' 725s # deleting 'executable_file' 725s # deleting 'private_file' 725s # deleting 'normal_file2' 725s # deleting 'UTF_příliš z' 725s # deleting 'lost_symlink' 725s # deleting 'dir_no-access' 725s # deleting 'dir_no-write' 725s # deleting 'target-file' 725s # deleting 'normal_file' 725s # deleting 'normal_file-symlink' 725s # deleting 'executable_file~' 725s # deleting 'private_file' 725s # deleting 'normal_file2~' 725s # deleting 'a' 725s # deleting 'UTF_příliš z' 725s # deleting 'dir_hidden' 725s # deleting '.a-hidden-file' 725s # deleting 'file-in-.hidden1' 725s # deleting '.hidden' 725s # deleting 'file-in-.hidden2' 725s # deleting 'pattern_file' 725s # deleting 'executable_file' 725s # deleting 'normal_file2' 725s # deleting 'not_exists2' 725s # deleting 'not_exists3' 725s # deleting 'not_exists4' 725s ok 11 /live-g-file/final_clean 725s ok - glib/live-g-file.test 725s # Running test: glib/unix.test 725s # Start of test_unix_is_mountpoint tests 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 725s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 725s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 725s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_AXVXJ3/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 725s ok 13 /live-g-file/test_unix_is_mountpoint/proc 725s # End of test_unix_is_mountpoint tests 725s # End of live-g-file tests 725s TAP version 14 725s # random seed: R02S499c0cddef2b38b6491014633dfb028f 725s 1..20 725s # Start of glib-unix tests 725s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 725s ok 1 /glib-unix/closefrom 725s ok 2 /glib-unix/pipe 725s # /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 725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 725s ok 3 /glib-unix/pipe-stdio-overwrite 725s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 725s ok 4 /glib-unix/pipe-struct 725s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 725s ok 5 /glib-unix/pipe-struct-auto 725s ok 6 /glib-unix/error 725s ok 7 /glib-unix/nonblocking 726s ok 8 /glib-unix/sighup 726s # slow test /glib-unix/sighup executed in 0.50 secs 726s ok 9 /glib-unix/sigterm 726s # slow test /glib-unix/sigterm executed in 0.50 secs 727s ok 10 /glib-unix/sighup_again 727s # slow test /glib-unix/sighup_again executed in 0.50 secs 727s ok 11 /glib-unix/sighup_add_remove 727s ok 12 /glib-unix/sighup_nested 729s ok 13 /glib-unix/callback_after_signal 729s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 729s ok 14 /glib-unix/child-wait 729s # Start of closefrom tests 729s # Start of subprocess tests 729s # End of subprocess tests 729s # End of closefrom tests 729s # Start of pipe tests 729s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 729s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 729s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 729s ok 15 /glib-unix/pipe/fd-cloexec 729s # End of pipe tests 729s # Start of sighup tests 730s ok 16 /glib-unix/sighup/alternate-stack 730s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 730s # End of sighup tests 730s # Start of sigterm tests 730s # Executing: glib/unix.test 731s ok 17 /glib-unix/sigterm/alternate-stack 731s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 731s # End of sigterm tests 731s # Start of sighup_again tests 732s ok - glib/unix.test 732s # Running test: glib/search-utils.test 732s ok 18 /glib-unix/sighup_again/alternate-stack 732s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 732s # End of sighup_again tests 732s # Start of get-passwd-entry tests 732s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 732s ok 19 /glib-unix/get-passwd-entry/root 732s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 732s ok 20 /glib-unix/get-passwd-entry/nonexistent 732s # End of get-passwd-entry tests 732s # End of glib-unix tests 732s TAP version 14 732s # random seed: R02S1f691e76a85b91b6a4fad49bf1c2a0c9 732s # GLib-DEBUG: Current user locale: C.UTF-8 732s 1..6 732s # Start of search tests 732s # GLib-DEBUG: Started 732s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 732s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 732s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 732s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 732s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 732s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 732s ok 1 /search/basic 732s # GLib-DEBUG: Started 732s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 732s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 732s # GLib-DEBUG: 'ele' - 'élève' should match: OK 732s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 732s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 732s ok 2 /search/composed 732s # GLib-DEBUG: Started 732s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 732s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 732s ok 3 /search/decomposed 732s # GLib-DEBUG: Started 732s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 732s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 732s ok 4 /search/turkish 732s # GLib-DEBUG: Started 732s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 732s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 732s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 732s ok 5 /search/c_locale_unicode 732s # GLib-DEBUG: Started 732s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 732s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 732s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 732s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 732s ok 6 /search/multi_words 732s # End of search tests 732s ok - glib/search-utils.test 732s # Running test: glib/ifaceproperties.test 732s TAP version 14 732s # random seed: R02S0dd43502867c8d77dd2c5d5778790ddd 732s 1..7 732s # Start of interface tests 732s # Start of properties tests 732s ok 1 /interface/properties/set 732s ok 2 /interface/properties/notify 732s ok 3 /interface/properties/find-overridden 732s ok 4 /interface/properties/list-overridden 732s ok 5 /interface/properties/find-interface 732s ok 6 /interface/properties/list-interface 732s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 732s ok 7 /interface/properties/not-overridden 732s # End of properties tests 732s # End of interface tests 732s TAP version 14 732s # random seed: R02Scbc9d63c62255ff70b6583d6c24dd99c 732s 1..1 732s # Start of portal-support tests 732s # Start of flatpak tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_DE6VJ3/portal-support/flatpak/none/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_DE6VJ3/portal-support/flatpak/none/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_DE6VJ3/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_DE6VJ3/portal-support/flatpak/none/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_DE6VJ3/portal-support/flatpak/none/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_DE6VJ3/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_DE6VJ3/portal-support/flatpak/none/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_DE6VJ3/portal-support/flatpak/none/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_DE6VJ3/portal-support/flatpak/none/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_DE6VJ3/portal-support/flatpak/none/.dirs/runtime 732s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_DE6VJ3/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 732s ok 1 /portal-support/flatpak/none 732s # End of flatpak tests 732s # End of portal-support tests 732s TAP version 14 732s # random seed: R02Sf84ce94c2597c3d0bb55b4bf02388221 732s 1..7 732s # Start of file-thumbnail tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/fail/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/fail/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_917VJ3/file-thumbnail/fail/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/fail/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_917VJ3/file-thumbnail/fail/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/fail/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/fail/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/fail/.dirs/runtime 732s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 732s # Created test thumbnail at /tmp/test_file-thumbnail_917VJ3/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 732s ok 1 /file-thumbnail/fail 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/size-priority/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/size-priority/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_917VJ3/file-thumbnail/size-priority/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/size-priority/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_917VJ3/file-thumbnail/size-priority/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/size-priority/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/size-priority/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/size-priority/.dirs/runtime 732s # Created test thumbnail at /tmp/test_file-thumbnail_917VJ3/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 732s # Created test thumbnail at /tmp/test_file-thumbnail_917VJ3/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 732s # Created test thumbnail at /tmp/test_file-thumbnail_917VJ3/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 732s # Created test thumbnail at /tmp/test_file-thumbnail_917VJ3/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 732s # Created test thumbnail at /tmp/test_file-thumbnail_917VJ3/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 732s ok - glib/ifaceproperties.test 732s # Running test: glib/portal-support-flatpak-none.test 732s ok - glib/portal-support-flatpak-none.test 732s # Running test: glib/file-thumbnail.test 732s ok 2 /file-thumbnail/size-priority 732s # Start of valid tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/normal/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/normal/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/normal/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/normal/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/normal/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/normal/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/normal/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/normal/.dirs/runtime 732s # Created test thumbnail at /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 732s ok 3 /file-thumbnail/valid/normal 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/large/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/large/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/large/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/large/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/large/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/large/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/large/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/large/.dirs/runtime 732s # Created test thumbnail at /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 732s ok 4 /file-thumbnail/valid/large 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/x-large/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/x-large/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/x-large/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/x-large/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/x-large/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/x-large/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/x-large/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/x-large/.dirs/runtime 732s # Created test thumbnail at /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 732s ok 5 /file-thumbnail/valid/x-large 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/xx-large/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/xx-large/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/xx-large/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/xx-large/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/xx-large/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/xx-large/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/xx-large/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/xx-large/.dirs/runtime 732s # Created test thumbnail at /tmp/test_file-thumbnail_917VJ3/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 732s ok 6 /file-thumbnail/valid/xx-large 732s # End of valid tests 732s # Start of unknown tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/unknown/super-large/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/unknown/super-large/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_917VJ3/file-thumbnail/unknown/super-large/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/unknown/super-large/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_917VJ3/file-thumbnail/unknown/super-large/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/unknown/super-large/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/unknown/super-large/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_917VJ3/file-thumbnail/unknown/super-large/.dirs/runtime 732s # Created test thumbnail at /tmp/test_file-thumbnail_917VJ3/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 732s ok 7 /file-thumbnail/unknown/super-large 732s # End of unknown tests 732s # End of file-thumbnail tests 732s ok - glib/file-thumbnail.test 732s # Running test: glib/memory-monitor-portal.test 732s TAP version 13 732s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 732s 1..1 732s ok - glib/memory-monitor-portal.test 732s # Running test: glib/resolver-parsing.test 732s TAP version 14 732s # random seed: R02S1ffdbaa766592385fcbe60cf912ca9d8 732s 1..21 732s # Start of gresolver tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/invalid-header/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/invalid-header/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/invalid-header/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/invalid-header/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/invalid-header/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/invalid-header/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/invalid-header/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/invalid-header/.dirs/runtime 732s ok 1 /gresolver/invalid-header 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/record-ownership/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/record-ownership/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/record-ownership/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/record-ownership/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/record-ownership/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/record-ownership/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/record-ownership/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/record-ownership/.dirs/runtime 732s ok 2 /gresolver/record-ownership 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/unknown-record-type/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/unknown-record-type/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/unknown-record-type/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/unknown-record-type/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/unknown-record-type/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/unknown-record-type/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/unknown-record-type/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/unknown-record-type/.dirs/runtime 732s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 732s ok 3 /gresolver/unknown-record-type 732s # Start of mx tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/valid/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/valid/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/mx/valid/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/valid/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/mx/valid/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/valid/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/valid/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/valid/.dirs/runtime 732s ok 4 /gresolver/mx/valid 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/.dirs/runtime 732s ok 5 /gresolver/mx/invalid 732s # Start of invalid tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short/.dirs/runtime 732s ok 6 /gresolver/mx/invalid/too-short 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short2/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short2/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short2/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short2/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short2/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short2/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short2/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/mx/invalid/too-short2/.dirs/runtime 732s ok 7 /gresolver/mx/invalid/too-short2 732s # End of invalid tests 732s # End of mx tests 732s # Start of ns tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/ns/valid/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/ns/valid/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/ns/valid/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/ns/valid/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/ns/valid/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/ns/valid/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/ns/valid/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/ns/valid/.dirs/runtime 732s ok 8 /gresolver/ns/valid 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/ns/invalid/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/ns/invalid/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/ns/invalid/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/ns/invalid/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/ns/invalid/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/ns/invalid/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/ns/invalid/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/ns/invalid/.dirs/runtime 732s ok 9 /gresolver/ns/invalid 732s # End of ns tests 732s # Start of soa tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/valid/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/valid/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/soa/valid/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/valid/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/soa/valid/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/valid/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/valid/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/valid/.dirs/runtime 732s ok 10 /gresolver/soa/valid 732s # Start of invalid tests 732s ok - glib/resolver-parsing.test 732s # Running test: glib/collate.test 732s ok - glib/collate.test 732s # Running test: glib/onceinit.test 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/mname/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/mname/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/mname/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/mname/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/mname/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/mname/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/mname/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/mname/.dirs/runtime 732s ok 11 /gresolver/soa/invalid/mname 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/rname/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/rname/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/rname/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/rname/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/rname/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/rname/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/rname/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/rname/.dirs/runtime 732s ok 12 /gresolver/soa/invalid/rname 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/too-short/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/too-short/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/too-short/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/too-short/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/too-short/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/too-short/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/too-short/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/soa/invalid/too-short/.dirs/runtime 732s ok 13 /gresolver/soa/invalid/too-short 732s # End of invalid tests 732s # End of soa tests 732s # Start of srv tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/valid/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/valid/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/srv/valid/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/valid/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/srv/valid/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/valid/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/valid/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/valid/.dirs/runtime 732s ok 14 /gresolver/srv/valid 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/.dirs/runtime 732s ok 15 /gresolver/srv/invalid 732s # Start of invalid tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short/.dirs/runtime 732s ok 16 /gresolver/srv/invalid/too-short 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short2/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short2/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short2/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short2/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short2/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short2/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short2/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/srv/invalid/too-short2/.dirs/runtime 732s ok 17 /gresolver/srv/invalid/too-short2 732s # End of invalid tests 732s # End of srv tests 732s # Start of txt tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/.dirs/runtime 732s ok 18 /gresolver/txt/valid 732s # Start of valid tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/multiple-strings/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/multiple-strings/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/multiple-strings/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/multiple-strings/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/multiple-strings/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/multiple-strings/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/multiple-strings/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/valid/multiple-strings/.dirs/runtime 732s ok 19 /gresolver/txt/valid/multiple-strings 732s # End of valid tests 732s # Start of invalid tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/empty/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/empty/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/empty/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/empty/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/empty/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/empty/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/empty/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/empty/.dirs/runtime 732s ok 20 /gresolver/txt/invalid/empty 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/overflow/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/overflow/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/overflow/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/overflow/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/overflow/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/overflow/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/overflow/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_NZA3J3/gresolver/txt/invalid/overflow/.dirs/runtime 732s ok 21 /gresolver/txt/invalid/overflow 732s # End of invalid tests 732s # End of txt tests 732s # End of gresolver tests 732s TAP version 14 732s # random seed: R02Sa9b5a70f9c3620ce5f49c2eebfd1d09b 732s 1..9 732s # Start of unicode tests 732s # Start of collate tests 732s ok 1 /unicode/collate/0 732s ok 2 /unicode/collate/1 732s ok 3 /unicode/collate/2 732s # End of collate tests 732s # Start of collate-key tests 732s ok 4 /unicode/collate-key/0 732s ok 5 /unicode/collate-key/1 732s ok 6 /unicode/collate-key/2 732s # End of collate-key tests 732s # Start of collate-filename tests 732s ok 7 /unicode/collate-filename/0 732s ok 8 /unicode/collate-filename/1 732s ok 9 /unicode/collate-filename/2 732s # End of collate-filename tests 732s # End of unicode tests 732s TAP version 14 732s # random seed: R02Scde23a6047a11fbd99df8b9a59bc8b14 732s 1..1 732s # Start of thread tests 732s ok 1 /thread/onceinit 732s # End of thread tests 732s ok - glib/onceinit.test 732s # Running test: glib/gdbus-proxy-well-known-name.test 732s TAP version 14 732s # random seed: R02Sa28d9cb39c60579625ad3d05361776b2 732s 1..1 732s # Start of gdbus tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_1LOZJ3/gdbus/proxy-well-known-name/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_1LOZJ3/gdbus/proxy-well-known-name/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_1LOZJ3/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_1LOZJ3/gdbus/proxy-well-known-name/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_1LOZJ3/gdbus/proxy-well-known-name/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_1LOZJ3/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_1LOZJ3/gdbus/proxy-well-known-name/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_1LOZJ3/gdbus/proxy-well-known-name/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_1LOZJ3/gdbus/proxy-well-known-name/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_1LOZJ3/gdbus/proxy-well-known-name/.dirs/runtime 732s ok - glib/gdbus-proxy-well-known-name.test 732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 732s ok 1 /gdbus/proxy-well-known-name 732s # End of gdbus tests 732s TAP version 14 732s # random seed: R02Sc6073143d14db7fe57eaf1c9f464a98d 732s 1..1 732s # Start of utils tests 732s ok 1 /utils/xdgdirs 732s # End of utils tests 732s # Running test: glib/utils-unisolated.test 732s ok - glib/utils-unisolated.test 732s # Running test: glib/defaultvalue.test 732s TAP version 14 732s # random seed: R02S79a8036a794a8c78461bb53c38072fc3 732s 1..84 732s # Start of Default Values tests 732s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 732s ok 2 /Default Values/GAppLaunchContext 732s ok 3 /Default Values/GApplicationCommandLine 732s # skipping GApplication:is-remote 732s ok 4 /Default Values/GApplication 732s ok 5 /Default Values/GBinding # SKIP mandatory construct params 732s ok 6 /Default Values/GBindingGroup 732s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 732s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 732s ok 9 /Default Values/GBytesIcon 732s ok 10 /Default Values/GCancellable 732s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 732s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 732s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 732s ok 14 /Default Values/GCredentials 732s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 732s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 732s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 732s ok 18 /Default Values/GDBusAuthObserver 732s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 732s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 732s ok 21 /Default Values/GDBusMessage 732s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 732s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 732s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 732s ok 25 /Default Values/GDBusObjectProxy 732s ok 26 /Default Values/GDBusObjectSkeleton 732s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 732s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 732s ok 29 /Default Values/GEmblem 732s ok 30 /Default Values/GEmblemedIcon 732s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 732s ok 32 /Default Values/GFileInfo 732s ok 33 /Default Values/GFileInputStream 732s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 732s ok 35 /Default Values/GFileOutputStream 732s ok 36 /Default Values/GFilenameCompleter 732s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 732s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 732s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 732s ok 40 /Default Values/GInitiallyUnowned 732s ok 41 /Default Values/GIOModule 732s ok 42 /Default Values/GListStore 732s ok 43 /Default Values/GMemoryInputStream 732s ok 44 /Default Values/GMemoryOutputStream 732s ok 45 /Default Values/GMenu 732s ok 46 /Default Values/GMenuItem 732s ok 47 /Default Values/GMountOperation 732s ok 48 /Default Values/GNativeSocketAddress 732s ok 49 /Default Values/GNetworkAddress 732s ok 50 /Default Values/GNetworkService 732s ok 51 /Default Values/GNotification 732s ok 52 /Default Values/GObject 732s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 732s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 732s # skipping GProxyAddressEnumerator:proxy-resolver 732s ok 54 /Default Values/GProxyAddressEnumerator 732s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 732s ok 56 /Default Values/GSettings # SKIP mandatory construct params 732s ok 57 /Default Values/GSignalGroup 732s ok 58 /Default Values/GSimpleAction 732s ok 59 /Default Values/GSimpleActionGroup 732s ok 60 /Default Values/GSimpleAsyncResult 732s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 732s ok 62 /Default Values/GSimplePermission 732s ok 63 /Default Values/GSimpleProxyResolver 732s # skipping GSocketClient:proxy-resolver 732s ok 64 /Default Values/GSocketClient 732s ok - glib/defaultvalue.test 732s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 732s ok 66 /Default Values/GSocket # SKIP initialization failed 732s ok 67 /Default Values/GSocketListener 732s ok 68 /Default Values/GSocketService 732s ok 69 /Default Values/GSubprocess # SKIP initialization failed 732s ok 70 /Default Values/GSubprocessLauncher 732s # GLib-GIO-DEBUG: GTask 0x56b02e213b00 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 732s ok 71 /Default Values/GTask 732s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 732s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 732s ok 74 /Default Values/GTestDBus 732s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 732s ok 76 /Default Values/GThreadedSocketService 732s ok 77 /Default Values/GTlsInteraction 732s ok 78 /Default Values/GTlsPassword 732s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 732s ok 80 /Default Values/GUnixFDList 732s ok 81 /Default Values/GVfs 732s ok 82 /Default Values/GVolumeMonitor 732s ok 83 /Default Values/GZlibCompressor 732s ok 84 /Default Values/GZlibDecompressor 732s # End of Default Values tests 732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 732s # Running test: glib/gobject-private.test 732s TAP version 14 732s # random seed: R02Sfae5a991b53387169ef259eeef63a37d 732s 1..3 732s # Start of private tests 732s ok 1 /private/instance 732s ok 2 /private/derived-instance 732s ok 3 /private/mixed-derived-instance 732s # End of private tests 732s ok - glib/gobject-private.test 732s # Running test: glib/reference.test 732s TAP version 14 732s # random seed: R02S2c61dfb7a3024d799e01c5ed011bf41e 732s 1..29 732s # Start of type tests 732s ok 1 /type/fundamentals 732s ok 2 /type/qdata 732s ok 3 /type/query 732s ok 4 /type/class-private 732s # End of type tests 732s # Start of object tests 732s ok 5 /object/clear 732s ok 6 /object/clear-function 732s ok 7 /object/set 732s ok 8 /object/set-function 732s ok 9 /object/value 732s ok 10 /object/initially-unowned 732s ok 11 /object/weak-pointer 732s ok 12 /object/weak-ref 732s ok 13 /object/toggle-ref 732s ok 14 /object/qdata 732s ok 15 /object/qdata2 732s # Start of set tests 732s # /object/set/derived-type summary: Check that g_set_object() doesn’t give strict aliasing warnings when used on types derived from GObject 732s ok 16 /object/set/derived-type 732s # End of set tests 732s # Start of weak-pointer tests 732s ok 17 /object/weak-pointer/clear 732s ok 18 /object/weak-pointer/clear-function 732s ok 19 /object/weak-pointer/set 732s ok 20 /object/weak-pointer/set-function 732s # End of weak-pointer tests 732s # Start of weak-ref tests 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 732s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 732s ok 21 /object/weak-ref/on-dispose 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 732s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 732s ok 22 /object/weak-ref/on-run-dispose 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 732s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 732s ok 23 /object/weak-ref/on-toggle-notify 732s ok 24 /object/weak-ref/in-toggle-notify 732s ok 25 /object/weak-ref/many 732s # Start of concurrent tests 732s ok 26 /object/weak-ref/concurrent/0 732s ok - glib/reference.test 732s ok 27 /object/weak-ref/concurrent/1 732s # End of concurrent tests 732s # End of weak-ref tests 732s # Start of toggle-ref tests 732s ok 28 /object/toggle-ref/ref-on-dispose 732s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 732s # End of toggle-ref tests 732s # End of object tests 732s # Running test: glib/init.test 732s TAP version 14 732s # random seed: R02S6b3f8be670674a1e87862fec90165fc4 732s 1..2 732s # Start of thread tests 732s # Start of deprecated tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_WFF0J3/thread/deprecated/init/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_WFF0J3/thread/deprecated/init/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_WFF0J3/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_WFF0J3/thread/deprecated/init/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_WFF0J3/thread/deprecated/init/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_WFF0J3/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_WFF0J3/thread/deprecated/init/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_WFF0J3/thread/deprecated/init/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_WFF0J3/thread/deprecated/init/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_WFF0J3/thread/deprecated/init/.dirs/runtime 732s ok 1 /thread/deprecated/init 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_WFF0J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_WFF0J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_WFF0J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_WFF0J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_WFF0J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_WFF0J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_WFF0J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_WFF0J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_WFF0J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_WFF0J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 732s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 732s # End of deprecated tests 732s # End of thread tests 732s ok - glib/init.test 732s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 732s TAP version 14 732s # random seed: R02Scd46b62c1bd218b262128c37e763c1da 732s 1..8 732s # Start of gdbus tests 732s # Start of codegen tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/annotations/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/annotations/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/annotations/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/annotations/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/annotations/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/annotations/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/annotations/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/annotations/.dirs/runtime 732s ok 1 /gdbus/codegen/annotations 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/interface_stability/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/interface_stability/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/interface_stability/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/interface_stability/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/interface_stability/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/interface_stability/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/interface_stability/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/interface_stability/.dirs/runtime 732s ok 2 /gdbus/codegen/interface_stability 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/object-manager/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/object-manager/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/object-manager/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/object-manager/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/object-manager/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/object-manager/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/object-manager/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/object-manager/.dirs/runtime 732s ok 3 /gdbus/codegen/object-manager 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/property-naming/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/property-naming/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/property-naming/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/property-naming/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/property-naming/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/property-naming/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/property-naming/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/property-naming/.dirs/runtime 732s ok 4 /gdbus/codegen/property-naming 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/autocleanups/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/autocleanups/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/autocleanups/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/autocleanups/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/autocleanups/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/autocleanups/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/autocleanups/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/autocleanups/.dirs/runtime 732s ok 5 /gdbus/codegen/autocleanups 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/deprecations/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/deprecations/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/deprecations/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/deprecations/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/deprecations/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/deprecations/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/deprecations/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/deprecations/.dirs/runtime 732s ok 6 /gdbus/codegen/deprecations 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/standalone-interface-info/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/standalone-interface-info/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/standalone-interface-info/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/standalone-interface-info/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/standalone-interface-info/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/standalone-interface-info/.dirs/runtime 732s ok 7 /gdbus/codegen/standalone-interface-info 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/unix-fd-list/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/unix-fd-list/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/unix-fd-list/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/unix-fd-list/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/unix-fd-list/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/unix-fd-list/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/unix-fd-list/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_61A0J3/gdbus/codegen/unix-fd-list/.dirs/runtime 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 732s ok 8 /gdbus/codegen/unix-fd-list 732s # End of codegen tests 732s # End of gdbus tests 732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 732s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 732s ok - glib/gdbus-test-codegen-min-required-2-64.test 732s # Running test: glib/tree.test 732s TAP version 14 732s # random seed: R02S4f4a43b70dca2c7d5aef86ce2c814799 732s 1..7 732s # Start of tree tests 732s ok 1 /tree/search 732s ok 2 /tree/remove 732s ok - glib/tree.test 732s ok 3 /tree/destroy 732s ok 4 /tree/traverse 732s ok 5 /tree/insert 732s ok 6 /tree/bounds 732s ok 7 /tree/remove-all 732s # End of tree tests 732s # Running test: glib/macros-c-89.test 732s ok - glib/macros-c-89.test 732s TAP version 14 732s # random seed: R02S1a428fa4fcf8f86196750e5894d42b3f 732s 1..4 732s # Start of C tests 732s ok 1 /C/standard-89 732s # End of C tests 732s # Start of alignof tests 732s ok 2 /alignof/fallback 732s # End of alignof tests 732s # Start of assert tests 732s ok 3 /assert/static 732s # End of assert tests 732s # Start of struct tests 732s ok 4 /struct/sizeof_member 732s # End of struct tests 732s # Running test: glib/mainloop.test 732s TAP version 14 732s # random seed: R02S35124c0178cbac8ca2d25b1ca7bfe624 732s 1..47 732s # Start of maincontext tests 732s ok 1 /maincontext/basic 732s # Add same-priority sources: 9 732s # Find each source: 1 732s # Remove in random order: 9 732s ok 2 /maincontext/nsources_same_priority 732s # Add different-priority sources: 10 732s # Find each source: 1 732s # Remove in random order: 13 732s ok 3 /maincontext/nsources_different_priority 732s # Add sources from threads: 37 732s # Remove sources from threads: 48 732s ok 4 /maincontext/nsources_threadpool 732s ok 5 /maincontext/source_finalization 732s # /maincontext/idle-once summary: Test g_idle_add_once() works 732s ok 6 /maincontext/idle-once 732s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 732s ok 7 /maincontext/timeout-once 732s # /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. 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 732s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 732s # Start of source_finalization_from_source tests 732s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 732s ok 9 /maincontext/source_finalization_from_source/0 732s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 732s ok 10 /maincontext/source_finalization_from_source/1 732s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 732s ok 11 /maincontext/source_finalization_from_source/2 732s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 732s ok 12 /maincontext/source_finalization_from_source/3 732s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 732s ok 13 /maincontext/source_finalization_from_source/4 732s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 732s ok 14 /maincontext/source_finalization_from_source/5 732s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 732s ok 15 /maincontext/source_finalization_from_source/6 732s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 732s ok 16 /maincontext/source_finalization_from_source/7 732s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 732s ok 17 /maincontext/source_finalization_from_source/8 732s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 732s ok 18 /maincontext/source_finalization_from_source/9 732s # End of source_finalization_from_source tests 732s # Start of source_finalization_from_dispatch tests 732s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 732s ok 19 /maincontext/source_finalization_from_dispatch/0 732s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 732s ok 20 /maincontext/source_finalization_from_dispatch/1 732s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 732s ok 21 /maincontext/source_finalization_from_dispatch/2 732s # End of source_finalization_from_dispatch tests 732s # End of maincontext tests 732s # Start of mainloop tests 732s ok 22 /mainloop/basic 732s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 732s ok 24 /mainloop/priorities 733s ok 25 /mainloop/invoke 733s # slow test /mainloop/invoke executed in 0.50 secs 734s ok 26 /mainloop/child_sources 734s # slow test /mainloop/child_sources executed in 1.17 secs 735s # Executing: glib/mainloop.test 736s ok 27 /mainloop/recursive_child_sources 736s # slow test /mainloop/recursive_child_sources executed in 2.14 secs 736s ok 28 /mainloop/recursive_loop_child_sources 736s ok 29 /mainloop/swapping_child_sources 736s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 736s ok 30 /mainloop/blocked_child_sources 737s ok 31 /mainloop/source_time 737s # slow test /mainloop/source_time executed in 1.00 secs 737s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 737s ok 32 /mainloop/overflow 738s ok 33 /mainloop/ready-time 738s # slow test /mainloop/ready-time executed in 0.50 secs 738s ok 34 /mainloop/wakeup 738s ok 35 /mainloop/remove-invalid 738s ok 36 /mainloop/unref-while-pending 738s ok 37 /mainloop/unix-fd 738s ok 38 /mainloop/unix-fd-source 738s ok 39 /mainloop/source-unix-fd-api 738s ok 40 /mainloop/wait 738s ok 41 /mainloop/unix-file-poll 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 738s ok 42 /mainloop/unix-fd-priority 738s ok 43 /mainloop/nfds 738s ok 44 /mainloop/steal-fd 739s ok 45 /mainloop/simultaneous-source-context-destruction 739s # slow test /mainloop/simultaneous-source-context-destruction executed in 0.54 secs 739s # Start of ownerless-polling tests 739s ok 46 /mainloop/ownerless-polling/attach-first 739s ok 47 /mainloop/ownerless-polling/pop-first 739s # End of ownerless-polling tests 739s # End of mainloop tests 739s ok - glib/mainloop.test 739s # Running test: glib/shell.test 739s TAP version 14 739s # random seed: R02S19a39c18372e8399c63b11524759b56e 739s 1..52 739s # Start of shell tests 739s # Start of cmdline tests 739s test cmdline: foo bar 739s ok 1 /shell/cmdline/0 739s test cmdline: foo 'bar' 739s ok 2 /shell/cmdline/1 739s test cmdline: foo "bar" 739s ok 3 /shell/cmdline/2 739s test cmdline: foo '' 'bar' 739s ok 4 /shell/cmdline/3 739s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 739s ok 5 /shell/cmdline/4 739s test cmdline: foo blah foo bar baz 739s ok 6 /shell/cmdline/5 739s test cmdline: foo ' spaces more spaces lots of spaces in this ' 739s ok 7 /shell/cmdline/6 739s test cmdline: foo \ 739s bar 739s ok 8 /shell/cmdline/7 739s test cmdline: foo '' '' 739s ok 9 /shell/cmdline/8 739s test cmdline: foo \" la la la 739s ok 10 /shell/cmdline/9 739s test cmdline: foo \ foo woo woo\ 739s ok 11 /shell/cmdline/10 739s test cmdline: foo "yada yada \$\"" 739s ok 12 /shell/cmdline/11 739s test cmdline: foo "c:\\" 739s ok 13 /shell/cmdline/12 739s test cmdline: foo # bla bla bla 739s bar 739s ok 14 /shell/cmdline/13 739s test cmdline: foo a#b 739s ok 15 /shell/cmdline/14 739s test cmdline: #foo 739s ok 16 /shell/cmdline/15 739s test cmdline: foo bar \ 739s ok 17 /shell/cmdline/16 739s test cmdline: foo 'bar baz 739s ok 18 /shell/cmdline/17 739s test cmdline: foo '"bar" baz 739s ok 19 /shell/cmdline/18 739s test cmdline: 739s ok 20 /shell/cmdline/19 739s test cmdline: 739s ok 21 /shell/cmdline/20 739s test cmdline: # foo bar 739s ok 22 /shell/cmdline/21 739s test cmdline: # 739s ok 23 /shell/cmdline/22 739s test cmdline: foo '/bar/summer'\''09 tours.pdf' 739s ok 24 /shell/cmdline/23 739s # End of cmdline tests 739s # Start of quote tests 739s ok 25 /shell/quote/0 739s ok 26 /shell/quote/1 739s ok 27 /shell/quote/2 739s ok 28 /shell/quote/3 739s ok 29 /shell/quote/4 739s ok 30 /shell/quote/5 739s ok 31 /shell/quote/6 739s # End of quote tests 739s # Start of unquote tests 739s ok 32 /shell/unquote/0 739s ok 33 /shell/unquote/1 739s ok 34 /shell/unquote/2 739s ok 35 /shell/unquote/3 739s ok 36 /shell/unquote/4 739s ok 37 /shell/unquote/5 739s ok 38 /shell/unquote/6 739s ok 39 /shell/unquote/7 739s ok 40 /shell/unquote/8 739s ok 41 /shell/unquote/9 739s ok 42 /shell/unquote/10 739s ok 43 /shell/unquote/11 739s ok 44 /shell/unquote/12 739s ok 45 /shell/unquote/13 739s ok 46 /shell/unquote/14 739s ok 47 /shell/unquote/15 739s ok 48 /shell/unquote/16 739s ok 49 /shell/unquote/17 739s ok 50 /shell/unquote/18 739s ok 51 /shell/unquote/19 739s ok 52 /shell/unquote/20 739s # End of unquote tests 739s # End of shell tests 739s ok - glib/shell.test 739s # Running test: glib/atomic-c-17.test 739s TAP version 14 739s # random seed: R02Scf44e08122a3cfeb452429df01f8e1a5 739s 1..2 739s # Start of atomic tests 739s ok 1 /atomic/types 739s ok 2 /atomic/threaded 739s # End of atomic tests 739s ok - glib/atomic-c-17.test 739s # Running test: glib/async-close-output-stream.test 739s TAP version 14 739s # random seed: R02Sc484bf533da61a88cbd4fd004e76cf56 739s 1..3 739s # Start of close-async tests 739s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 739s ok 1 /close-async/without-flush 739s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 739s ok 2 /close-async/with-flush 739s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 739s ok - glib/async-close-output-stream.test 739s ok 3 /close-async/with-async-flush 739s # End of close-async tests 739s # Running test: glib/accumulator.test 739s TAP version 14 739s # random seed: R02S9f5ebea109d5e745d0d6e9ea6836f827 739s 1..1 739s # Start of gobject tests 739s ok 1 /gobject/accumulator 739s # End of gobject tests 739s ok - glib/accumulator.test 739s # Running test: glib/giomodule.test 739s TAP version 14 739s # random seed: R02S75ffbe694c3f48c622def01289dadb2d 739s 1..3 739s # Start of giomodule tests 739s ok 1 /giomodule/extension-point 739s ok 2 /giomodule/module-scan-all 739s ok - glib/giomodule.test 739s # Running test: glib/credentials.test 739s ok - glib/credentials.test 739s # Running test: glib/gdbus-subscribe.test 739s ok 3 /giomodule/module-scan-all-with-scope 739s # End of giomodule tests 739s TAP version 14 739s # random seed: R02Sf75d3eb7140d1b319271171a78801c91 739s 1..1 739s # Start of credentials tests 739s # GCredentials:linux-ucred:pid=36310,uid=1000,gid=1000 739s # GCredentials:linux-ucred:pid=36310,uid=0,gid=1000 739s ok 1 /credentials/basic 739s # End of credentials tests 739s TAP version 14 739s # random seed: R02S221f3c770c65d3e3d282c6fa052e8dac 739s 1..24 739s # Start of gdbus tests 739s # Start of subscribe tests 739s # Start of conn tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/simple/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/simple/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/simple/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/simple/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/simple/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/simple/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/simple/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/simple/.dirs/runtime 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 739s # Step 0: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 1: adding subscription 739s # Sender: (any) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Waiting for AddMatch to be processed 739s # Step 2: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 2 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 1 /gdbus/subscribe/conn/simple 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 739s # Step 0: adding subscription 739s # Sender: (any) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Waiting for AddMatch to be processed 739s # Step 1: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 2: emitting signal 739s # Sender: service 2 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 3: emitting signal 739s # Sender: service 739s # Destination: subscriber :1.0 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 4: emitting signal 739s # Sender: service 2 739s # Destination: subscriber :1.0 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 1 739s # Signal received from service 2 :1.2 739s # Signal received from service 2 :1.2 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 2 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 3 739s # Signal received from service 2 :1.2 739s # Signal received from service 2 :1.2 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 4 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 739s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 739s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 739s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/match_twice/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/match_twice/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/match_twice/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/match_twice/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/match_twice/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/match_twice/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/match_twice/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/match_twice/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 739s # Step 0: adding subscription 739s # Sender: service :1.1 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Waiting for AddMatch to be processed 739s # Step 1: adding subscription 739s # Sender: (any) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: (any) 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Waiting for AddMatch to be processed 739s # Step 2: adding subscription 739s # Sender: (any) 739s # Path: (any) 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Waiting for AddMatch to be processed 739s # Step 3: adding subscription 739s # Sender: service :1.1 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Waiting for AddMatch to be processed 739s # Step 4: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 4 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 4 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 4 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 4 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 3 /gdbus/subscribe/conn/match_twice 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 739s # Step 0: adding subscription 739s # Sender: service :1.1 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Waiting for AddMatch to be processed 739s # Step 1: emitting signal 739s # Sender: attacker 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 2: emitting signal 739s # Sender: attacker 739s # Destination: subscriber :1.0 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 3: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 3 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 739s # Step 0: adding subscription 739s # Sender: :0.this.had.better.not.exist 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Waiting for AddMatch to be processed 739s # Step 1: emitting signal 739s # Sender: attacker 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 2: emitting signal 739s # Sender: attacker 739s # Destination: subscriber :1.0 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /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 739s # Step 0: claiming bus name 739s # Name: org.gtk.Test.AlreadyOwned 739s # Owner: service 739s # Step 1: adding subscription 739s # Sender: org.gtk.Test.AlreadyOwned 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Waiting for AddMatch to be processed 739s # Step 2: adding subscription 739s # Sender: org.gtk.Test.OwnedLater 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Waiting for AddMatch to be processed 739s # Step 3: emitting signal 739s # Sender: attacker 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 4: emitting signal 739s # Sender: attacker 739s # Destination: subscriber :1.0 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 5: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 6: claiming bus name 739s # Name: org.gtk.Test.OwnedLater 739s # Owner: service 739s # Step 7: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 5 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 7 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 7 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 739s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 739s # Step 0: adding subscription 739s # Sender: org.freedesktop.DBus 739s # Path: /org/freedesktop/DBus 739s # Interface: org.freedesktop.DBus 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Waiting for AddMatch to be processed 739s # Step 1: emitting signal 739s # Sender: attacker 739s # Destination: (broadcast) 739s # Path: /org/freedesktop/DBus 739s # Interface: org.freedesktop.DBus 739s # Member: NameOwnerChanged 739s # String argument 0: would I lie to you? 739s # Waiting for signal to reach message bus 739s # Step 2: emitting signal 739s # Sender: attacker 739s # Destination: subscriber :1.0 739s # Path: /org/freedesktop/DBus 739s # Interface: org.freedesktop.DBus 739s # Member: NameOwnerChanged 739s # Waiting for signal to reach message bus 739s # Step 3: claiming bus name 739s # Name: org.gtk.Test.OwnedLater 739s # Owner: service 739s # Signal received from message bus org.freedesktop.DBus 739s # Signal received from (unused) org.freedesktop.DBus via connection 739s # Path: /org/freedesktop/DBus 739s # Interface: org.freedesktop.DBus 739s # Member: NameOwnerChanged 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 739s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 739s # Step 0: claiming bus name 739s # Name: org.gtk.Test.AlreadyOwned 739s # Owner: service 739s # Step 1: adding subscription 739s # Sender: org.gtk.Test.AlreadyOwned 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Immediately unsubscribing 739s # Waiting for AddMatch to be processed 739s # Step 2: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 739s # End of conn tests 739s # Start of proxy tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/simple/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/simple/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/simple/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/simple/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/simple/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/simple/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/simple/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/simple/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 739s # Step 0: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 1: adding subscription 739s # Sender: (any) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Cannot subscribe via proxy: no bus name 739s # Waiting for AddMatch to be processed 739s # Step 2: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 9 /gdbus/subscribe/proxy/simple 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 739s # Step 0: adding subscription 739s # Sender: (any) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Cannot subscribe via proxy: no bus name 739s # Waiting for AddMatch to be processed 739s # Step 1: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 2: emitting signal 739s # Sender: service 2 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 3: emitting signal 739s # Sender: service 739s # Destination: subscriber :1.0 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 4: emitting signal 739s # Sender: service 2 739s # Destination: subscriber :1.0 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/match_twice/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/match_twice/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/match_twice/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/match_twice/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/match_twice/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/match_twice/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 739s # Step 0: adding subscription 739s # Sender: service :1.1 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via proxy 739s # Waiting for AddMatch to be processed 739s # Step 1: adding subscription 739s # Sender: (any) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: (any) 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Cannot subscribe via proxy: no bus name 739s # Waiting for AddMatch to be processed 739s # Step 2: adding subscription 739s # Sender: (any) 739s # Path: (any) 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Cannot subscribe via proxy: no bus name 739s # Waiting for AddMatch to be processed 739s # Step 3: adding subscription 739s # Sender: service :1.1 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via proxy 739s # Waiting for AddMatch to be processed 739s # Step 4: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via proxy 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 4 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via proxy 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 4 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 11 /gdbus/subscribe/proxy/match_twice 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 739s # Step 0: adding subscription 739s # Sender: service :1.1 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via proxy 739s # Waiting for AddMatch to be processed 739s # Step 1: emitting signal 739s # Sender: attacker 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 2: emitting signal 739s # Sender: attacker 739s # Destination: subscriber :1.0 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 3: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via proxy 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 3 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 739s # Step 0: adding subscription 739s # Sender: :0.this.had.better.not.exist 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via proxy 739s # Waiting for AddMatch to be processed 739s # Step 1: emitting signal 739s # Sender: attacker 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 2: emitting signal 739s # Sender: attacker 739s # Destination: subscriber :1.0 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /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 739s # Step 0: claiming bus name 739s # Name: org.gtk.Test.AlreadyOwned 739s # Owner: service 739s # Step 1: adding subscription 739s # Sender: org.gtk.Test.AlreadyOwned 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via proxy 739s # Waiting for AddMatch to be processed 739s # Step 2: adding subscription 739s # Sender: org.gtk.Test.OwnedLater 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via proxy 739s # Waiting for AddMatch to be processed 739s # Step 3: emitting signal 739s # Sender: attacker 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 4: emitting signal 739s # Sender: attacker 739s # Destination: subscriber :1.0 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 5: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 6: claiming bus name 739s # Name: org.gtk.Test.OwnedLater 739s # Owner: service 739s # Step 7: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via proxy 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 5 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via proxy 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 7 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via proxy 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 7 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 739s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 739s # Step 0: adding subscription 739s # Sender: org.freedesktop.DBus 739s # Path: /org/freedesktop/DBus 739s # Interface: org.freedesktop.DBus 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via proxy 739s # Waiting for AddMatch to be processed 739s # Step 1: emitting signal 739s # Sender: attacker 739s # Destination: (broadcast) 739s # Path: /org/freedesktop/DBus 739s # Interface: org.freedesktop.DBus 739s # Member: NameOwnerChanged 739s # String argument 0: would I lie to you? 739s # Waiting for signal to reach message bus 739s # Step 2: emitting signal 739s # Sender: attacker 739s # Destination: subscriber :1.0 739s # Path: /org/freedesktop/DBus 739s # Interface: org.freedesktop.DBus 739s # Member: NameOwnerChanged 739s # Waiting for signal to reach message bus 739s # Step 3: claiming bus name 739s # Name: org.gtk.Test.OwnedLater 739s # Owner: service 739s # Signal received from message bus org.freedesktop.DBus 739s # Signal received from (unused) org.freedesktop.DBus via proxy 739s # Path: /org/freedesktop/DBus 739s # Interface: org.freedesktop.DBus 739s # Member: NameOwnerChanged 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 739s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 739s # Step 0: claiming bus name 739s # Name: org.gtk.Test.AlreadyOwned 739s # Owner: service 739s # Step 1: adding subscription 739s # Sender: org.gtk.Test.AlreadyOwned 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via proxy 739s # Waiting for AddMatch to be processed 739s # Step 2: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via proxy 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 2 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 739s # End of proxy tests 739s # Start of parallel tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/simple/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/simple/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/simple/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/simple/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/simple/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/simple/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/simple/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/simple/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 739s # Step 0: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 1: adding subscription 739s # Sender: (any) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Cannot subscribe via proxy: no bus name 739s # Waiting for AddMatch to be processed 739s # Step 2: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 2 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 739s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 17 /gdbus/subscribe/parallel/simple 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 739s # Step 0: adding subscription 739s # Sender: (any) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Cannot subscribe via proxy: no bus name 739s # Waiting for AddMatch to be processed 739s # Step 1: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 2: emitting signal 739s # Sender: service 2 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 3: emitting signal 739s # Sender: service 739s # Destination: subscriber :1.0 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 4: emitting signal 739s # Sender: service 2 739s # Destination: subscriber :1.0 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 1 739s # Signal received from service 2 :1.2 739s # Signal received from service 2 :1.2 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 2 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 3 739s # Signal received from service 2 :1.2 739s # Signal received from service 2 :1.2 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 4 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 739s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 739s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 739s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 739s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/match_twice/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/match_twice/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/match_twice/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/match_twice/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/match_twice/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/match_twice/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 739s # Step 0: adding subscription 739s # Sender: service :1.1 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Subscribing via proxy 739s # Waiting for AddMatch to be processed 739s # Step 1: adding subscription 739s # Sender: (any) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: (any) 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Cannot subscribe via proxy: no bus name 739s # Waiting for AddMatch to be processed 739s # Step 2: adding subscription 739s # Sender: (any) 739s # Path: (any) 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Cannot subscribe via proxy: no bus name 739s # Waiting for AddMatch to be processed 739s # Step 3: adding subscription 739s # Sender: service :1.1 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Subscribing via proxy 739s # Waiting for AddMatch to be processed 739s # Step 4: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 4 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via proxy 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 4 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 4 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via proxy 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 4 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 4 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 4 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 739s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 19 /gdbus/subscribe/parallel/match_twice 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 739s # Step 0: adding subscription 739s # Sender: service :1.1 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Subscribing via proxy 739s # Waiting for AddMatch to be processed 739s # Step 1: emitting signal 739s # Sender: attacker 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 2: emitting signal 739s # Sender: attacker 739s # Destination: subscriber :1.0 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 3: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 3 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via proxy 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 3 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 739s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 739s # Step 0: adding subscription 739s # Sender: :0.this.had.better.not.exist 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Subscribing via proxy 739s # Waiting for AddMatch to be processed 739s # Step 1: emitting signal 739s # Sender: attacker 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 2: emitting signal 739s # Sender: attacker 739s # Destination: subscriber :1.0 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /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 739s # Step 0: claiming bus name 739s # Name: org.gtk.Test.AlreadyOwned 739s # Owner: service 739s # Step 1: adding subscription 739s # Sender: org.gtk.Test.AlreadyOwned 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Subscribing via proxy 739s # Waiting for AddMatch to be processed 739s # Step 2: adding subscription 739s # Sender: org.gtk.Test.OwnedLater 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Subscribing via proxy 739s # Waiting for AddMatch to be processed 739s # Step 3: emitting signal 739s # Sender: attacker 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 4: emitting signal 739s # Sender: attacker 739s # Destination: subscriber :1.0 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 5: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Step 6: claiming bus name 739s # Name: org.gtk.Test.OwnedLater 739s # Owner: service 739s # Step 7: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 5 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via proxy 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 5 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 7 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via proxy 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 7 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via connection 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 7 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via proxy 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 7 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 739s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 739s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 739s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 739s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 739s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 739s # Step 0: adding subscription 739s # Sender: org.freedesktop.DBus 739s # Path: /org/freedesktop/DBus 739s # Interface: org.freedesktop.DBus 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Subscribing via proxy 739s # Waiting for AddMatch to be processed 739s # Step 1: emitting signal 739s # Sender: attacker 739s # Destination: (broadcast) 739s # Path: /org/freedesktop/DBus 739s # Interface: org.freedesktop.DBus 739s # Member: NameOwnerChanged 739s # String argument 0: would I lie to you? 739s # Waiting for signal to reach message bus 739s # Step 2: emitting signal 739s # Sender: attacker 739s # Destination: subscriber :1.0 739s # Path: /org/freedesktop/DBus 739s # Interface: org.freedesktop.DBus 739s # Member: NameOwnerChanged 739s # Waiting for signal to reach message bus 739s # Step 3: claiming bus name 739s # Name: org.gtk.Test.OwnedLater 739s # Owner: service 739s # Signal received from message bus org.freedesktop.DBus 739s # Signal received from (unused) org.freedesktop.DBus via connection 739s # Path: /org/freedesktop/DBus 739s # Interface: org.freedesktop.DBus 739s # Member: NameOwnerChanged 739s # Signal received from message bus org.freedesktop.DBus 739s # Signal received from (unused) org.freedesktop.DBus via proxy 739s # Path: /org/freedesktop/DBus 739s # Interface: org.freedesktop.DBus 739s # Member: NameOwnerChanged 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 739s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 739s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W0LUJ3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 739s # subscriber is :1.0 739s # service is :1.1 739s # service 2 is :1.2 739s # attacker is :1.3 739s # Waiting for AddMatch to be processed 739s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 739s # Step 0: claiming bus name 739s # Name: org.gtk.Test.AlreadyOwned 739s # Owner: service 739s # Step 1: adding subscription 739s # Sender: org.gtk.Test.AlreadyOwned 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: (any) 739s # String argument 0: (any) 739s # Flags: 0 739s # Subscribing via connection 739s # Immediately unsubscribing 739s # Subscribing via proxy 739s # Waiting for AddMatch to be processed 739s ok - glib/gdbus-subscribe.test 739s # Running test: glib/cxx-17.test 739s ok - glib/cxx-17.test 739s # Running test: glib/completion.test 739s # Step 2: emitting signal 739s # Sender: service 739s # Destination: (broadcast) 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Waiting for signal to reach message bus 739s # Signal received from service :1.1 739s # Signal received from service :1.1 via proxy 739s # Path: /org/gtk/GDBus/ExampleInterface 739s # Interface: org.gtk.GDBus.ExampleInterface 739s # Member: Foo 739s # Argument 0: (not a string) 739s # Sent in step: 2 739s # Received Finished signal from subscriber :1.0 739s # Received Finished signal from service :1.1 739s # Received Finished signal from service 2 :1.2 739s # Received Finished signal from attacker :1.3 739s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 739s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 739s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 739s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 739s # End of parallel tests 739s # End of subscribe tests 739s # End of gdbus tests 739s TAP version 14 739s # random seed: R02Sbdd566d89db3d40f8d5bde0c8a072079 739s 1..2 739s # Start of gtask tests 739s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 739s ok 1 /gtask/name 739s # Start of name tests 739s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 739s ok 2 /gtask/name/macro-wrapper 739s # End of name tests 739s # End of gtask tests 739s ok - glib/completion.test 739s TAP version 14 739s # random seed: R02S21865393da3bd6350e9a99d3f9c5c777 739s 1..1 739s # Start of completion tests 739s ok 1 /completion/test-completion 739s # End of completion tests 739s # Running test: glib/network-address.test 739s TAP version 14 739s # random seed: R02Sd75f31197db009095e0c276cd58c4ab4 739s 1..72 739s # Start of network-address tests 739s ok 1 /network-address/basic 739s ok 2 /network-address/scope-id 739s ok 3 /network-address/uri-scope-id 739s ok 4 /network-address/to-string 739s # Start of parse-host tests 739s ok 5 /network-address/parse-host/0 739s ok 6 /network-address/parse-host/1 739s ok 7 /network-address/parse-host/2 739s ok 8 /network-address/parse-host/3 739s ok 9 /network-address/parse-host/4 739s ok 10 /network-address/parse-host/5 739s ok 11 /network-address/parse-host/6 739s ok 12 /network-address/parse-host/7 739s ok 13 /network-address/parse-host/8 739s ok 14 /network-address/parse-host/9 739s ok 15 /network-address/parse-host/10 739s ok 16 /network-address/parse-host/11 739s ok 17 /network-address/parse-host/12 739s ok 18 /network-address/parse-host/13 739s # End of parse-host tests 739s # Start of parse-uri tests 739s ok 19 /network-address/parse-uri/0 739s ok 20 /network-address/parse-uri/1 739s ok 21 /network-address/parse-uri/2 739s ok 22 /network-address/parse-uri/3 739s ok 23 /network-address/parse-uri/4 739s ok 24 /network-address/parse-uri/5 739s ok 25 /network-address/parse-uri/6 739s ok 26 /network-address/parse-uri/7 739s ok 27 /network-address/parse-uri/8 739s ok 28 /network-address/parse-uri/9 739s # End of parse-uri tests 739s # Start of resolve-address tests 739s # Input: 192.168.1.2 739s ok 29 /network-address/resolve-address/0 739s # Input: fe80::42 739s ok 30 /network-address/resolve-address/1 739s # Input: 192.168.1.2:80 739s ok 31 /network-address/resolve-address/2 739s # Input: [fe80::42] 739s ok 32 /network-address/resolve-address/3 739s # Input: [fe80::42]:80 739s ok 33 /network-address/resolve-address/4 739s # Input: 192.168.258 739s ok 34 /network-address/resolve-address/5 739s # Input: 192.11010306 739s ok 35 /network-address/resolve-address/6 739s # Input: 3232235778 739s ok 36 /network-address/resolve-address/7 739s # Input: 0300.0250.0001.0001 739s ok 37 /network-address/resolve-address/8 739s # Input: 0xC0.0xA8.0x01.0x02 739s ok 38 /network-address/resolve-address/9 739s # Input: 0xc0.0xa8.0x01.0x02 739s ok 39 /network-address/resolve-address/10 739s # Input: 0xc0a80102 739s ok 40 /network-address/resolve-address/11 739s # End of resolve-address tests 739s # Start of loopback tests 739s ok 41 /network-address/loopback/basic 739s ok 42 /network-address/loopback/sync 739s ok 43 /network-address/loopback/async 739s # End of loopback tests 739s # Start of localhost tests 739s ok 44 /network-address/localhost/async 739s ok 45 /network-address/localhost/sync 739s # End of localhost tests 739s # Start of happy-eyeballs tests 739s ok 46 /network-address/happy-eyeballs/basic 739s ok 47 /network-address/happy-eyeballs/parallel 739s ok 48 /network-address/happy-eyeballs/slow-ipv4 739s ok 49 /network-address/happy-eyeballs/slow-ipv6 739s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 740s # Executing: glib/network-address.test 740s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 740s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 740s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 740s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 740s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 740s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 740s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 740s # /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. 740s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 740s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 740s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 740s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 740s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 740s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 740s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 740s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 740s ok 57 /network-address/happy-eyeballs/both-error 740s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 740s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 740s ok 58 /network-address/happy-eyeballs/both-error-delays-1 740s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 740s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 740s ok 59 /network-address/happy-eyeballs/both-error-delays-2 740s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 740s ok 60 /network-address/happy-eyeballs/both-error-delays-3 740s # End of happy-eyeballs tests 740s # End of network-address tests 740s # Start of gresolver tests 740s # Start of resolve-address tests 740s # Input: 192.168.1.2 740s ok 61 /gresolver/resolve-address/0 740s # Input: fe80::42 740s ok 62 /gresolver/resolve-address/1 740s # Input: 192.168.1.2:80 740s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 192.168.1.2:80 740s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 740s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 740s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 740s # Error: Error resolving “192.168.1.2:80”: Name or service not known 740s ok 63 /gresolver/resolve-address/2 740s # Input: [fe80::42] 740s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42] 740s # Error: Error resolving “[fe80::42]”: Name or service not known 740s ok 64 /gresolver/resolve-address/3 740s # Input: [fe80::42]:80 740s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]:80 740s # Error: Error resolving “[fe80::42]:80”: Name or service not known 740s ok 65 /gresolver/resolve-address/4 740s # Input: 192.168.258 740s # Error: Error resolving “192.168.258”: Name or service not known 740s ok 66 /gresolver/resolve-address/5 740s # Input: 192.11010306 740s # Error: Error resolving “192.11010306”: Name or service not known 740s ok 67 /gresolver/resolve-address/6 740s # Input: 3232235778 740s # Error: Error resolving “3232235778”: Name or service not known 740s ok 68 /gresolver/resolve-address/7 740s # Input: 0300.0250.0001.0001 740s # Error: Error resolving “0300.0250.0001.0001”: Name or service not known 740s ok 69 /gresolver/resolve-address/8 740s # Input: 0xC0.0xA8.0x01.0x02 740s # Error: Error resolving “0xC0.0xA8.0x01.0x02”: Name or service not known 740s ok 70 /gresolver/resolve-address/9 740s # Input: 0xc0.0xa8.0x01.0x02 740s # Error: Error resolving “0xc0.0xa8.0x01.0x02”: Name or service not known 740s ok 71 /gresolver/resolve-address/10 740s # Input: 0xc0a80102 740s # Error: Error resolving “0xc0a80102”: Name or service not known 740s ok 72 /gresolver/resolve-address/11 740s # End of resolve-address tests 740s # End of gresolver tests 740s ok - glib/network-address.test 740s # Running test: glib/macros-c-11.test 740s ok - glib/macros-c-11.test 740s TAP version 14 740s # random seed: R02Sd8610c52e539d84d6af84d04c1efc64d 740s 1..4 740s # Start of C tests 740s ok 1 /C/standard-11 740s # End of C tests 740s # Start of alignof tests 740s ok 2 /alignof/fallback 740s # End of alignof tests 740s # Start of assert tests 740s ok 3 /assert/static 740s # End of assert tests 740s # Start of struct tests 740s ok 4 /struct/sizeof_member 740s # End of struct tests 740s # Running test: glib/private.test 740s TAP version 14 740s # random seed: R02S6d29879e8e9d74ec9c4ffb96f83b43c1 740s 1..8 740s # Start of thread tests 740s ok 1 /thread/private1 741s ok 2 /thread/private2 741s # slow test /thread/private2 executed in 1.07 secs 741s ok 3 /thread/private3 741s ok 4 /thread/staticprivate1 741s ok 5 /thread/staticprivate2 741s ok 6 /thread/staticprivate3 743s ok 7 /thread/staticprivate4 743s # slow test /thread/staticprivate4 executed in 1.07 secs 743s ok - glib/private.test 743s ok 8 /thread/staticprivate5 743s # End of thread tests 743s # Running test: glib/inet-address.test 743s TAP version 14 743s # random seed: R02Sad69c726d77dd55c2ac3a12cc47a67ff 743s 1..11 743s # Start of inet-address tests 743s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::1::2 743s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 2001:1:2:3:4:5:6:7] 743s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7 743s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7] 743s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]:80 743s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 0:1:2:3:4:5:6:7:8:9 743s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::FFFFFFF 743s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 204.152.189.116:80 743s ok 1 /inet-address/parse 743s ok 2 /inet-address/any 743s ok 3 /inet-address/loopback 743s ok 4 /inet-address/bytes 743s ok 5 /inet-address/property 743s # End of inet-address tests 743s # Start of socket-address tests 743s ok 6 /socket-address/basic 743s ok 7 /socket-address/to-string 743s # End of socket-address tests 743s # Start of address-mask tests 743s ok 8 /address-mask/parse 743s ok 9 /address-mask/property 743s ok 10 /address-mask/equal 743s ok 11 /address-mask/match 743s # End of address-mask tests 743s ok - glib/inet-address.test 743s # Running test: glib/utils-isolated.test 743s TAP version 14 743s # random seed: R02S6076064c3a212290d80fd918e33ad0a0 743s 1..11 743s # Start of utils-isolated tests 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/tmp-dir/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/tmp-dir/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_183WJ3/utils-isolated/tmp-dir/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/tmp-dir/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_183WJ3/utils-isolated/tmp-dir/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/tmp-dir/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/tmp-dir/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_183WJ3/utils-isolated/tmp-dir/.dirs/runtime 743s ok 1 /utils-isolated/tmp-dir 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/home-dir/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/home-dir/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_183WJ3/utils-isolated/home-dir/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/home-dir/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_183WJ3/utils-isolated/home-dir/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/home-dir/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/home-dir/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_183WJ3/utils-isolated/home-dir/.dirs/runtime 743s ok 2 /utils-isolated/home-dir 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-cache-dir/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-cache-dir/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_183WJ3/utils-isolated/user-cache-dir/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-cache-dir/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_183WJ3/utils-isolated/user-cache-dir/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-cache-dir/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-cache-dir/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-cache-dir/.dirs/runtime 743s ok 3 /utils-isolated/user-cache-dir 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/system-config-dirs/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/system-config-dirs/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_183WJ3/utils-isolated/system-config-dirs/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/system-config-dirs/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_183WJ3/utils-isolated/system-config-dirs/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/system-config-dirs/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/system-config-dirs/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_183WJ3/utils-isolated/system-config-dirs/.dirs/runtime 743s ok 4 /utils-isolated/system-config-dirs 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-config-dir/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-config-dir/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_183WJ3/utils-isolated/user-config-dir/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-config-dir/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_183WJ3/utils-isolated/user-config-dir/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-config-dir/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-config-dir/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-config-dir/.dirs/runtime 743s ok 5 /utils-isolated/user-config-dir 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/system-data-dirs/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/system-data-dirs/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_183WJ3/utils-isolated/system-data-dirs/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/system-data-dirs/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_183WJ3/utils-isolated/system-data-dirs/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/system-data-dirs/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/system-data-dirs/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_183WJ3/utils-isolated/system-data-dirs/.dirs/runtime 743s ok 6 /utils-isolated/system-data-dirs 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-data-dir/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-data-dir/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_183WJ3/utils-isolated/user-data-dir/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-data-dir/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_183WJ3/utils-isolated/user-data-dir/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-data-dir/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-data-dir/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-data-dir/.dirs/runtime 743s ok 7 /utils-isolated/user-data-dir 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-state-dir/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-state-dir/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_183WJ3/utils-isolated/user-state-dir/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-state-dir/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_183WJ3/utils-isolated/user-state-dir/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-state-dir/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-state-dir/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-state-dir/.dirs/runtime 743s ok 8 /utils-isolated/user-state-dir 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-runtime-dir/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-runtime-dir/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_183WJ3/utils-isolated/user-runtime-dir/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-runtime-dir/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_183WJ3/utils-isolated/user-runtime-dir/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-runtime-dir/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-runtime-dir/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_183WJ3/utils-isolated/user-runtime-dir/.dirs/runtime 743s ok 9 /utils-isolated/user-runtime-dir 743s # Start of cleanup tests 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/handles-errors/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/handles-errors/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/handles-errors/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/handles-errors/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/handles-errors/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/handles-errors/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/handles-errors/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/handles-errors/.dirs/runtime 743s Unable to clean up temporary directory /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 743s Unable to clean up temporary directory /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 743s Unable to clean up temporary directory /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/handles-errors: Directory not empty 743s ok 10 /utils-isolated/cleanup/handles-errors 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 743s Unable to clean up temporary directory /tmp/test_utils-isolated_183WJ3/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 743s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 743s # End of cleanup tests 743s # End of utils-isolated tests 743s TAP version 14 743s # random seed: R02Se1c92fb739bf8ae67392f65149ef404b 743s 1..1 743s # Start of permission tests 743s ok 1 /permission/simple 743s # End of permission tests 743s TAP version 14 743s # random seed: R02S3a1a0c1e3d66994b094e4219c6f61ca6 743s 1..3 743s # Start of slice tests 743s ok 1 /slice/copy 743s ok 2 /slice/chain 743s ok - glib/utils-isolated.test 743s # Running test: glib/permission.test 743s ok - glib/permission.test 743s # Running test: glib/slice.test 743s ok 3 /slice/allocate 743s # End of slice tests 743s ok - glib/slice.test 743s # Running test: glib/utils-c-17.test 743s TAP version 14 743s # random seed: R02S23480b521cfa7731c5a81e6e6c8b6950 743s 1..41 743s # Start of utils tests 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/language-names/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/language-names/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/language-names/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/language-names/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/language-names/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/language-names/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/language-names/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/language-names/.dirs/runtime 743s ok 1 /utils/language-names 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/locale-variants/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/locale-variants/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/locale-variants/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/locale-variants/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/locale-variants/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/locale-variants/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/locale-variants/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/locale-variants/.dirs/runtime 743s # Testing locale ‘en’ 743s # Testing locale ‘sr@latin’ 743s # Testing locale ‘fr_BE’ 743s # Testing locale ‘sr_SR@latin’ 743s # Testing locale ‘sr_SR@latin.UTF-8’ 743s # Testing locale ‘sr@latin_invalid’ 743s # Testing locale ‘sr.UTF-8@latin’ 743s # Testing locale ‘sr.UTF-8_latin’ 743s # Testing locale ‘sr.UTF-8@latin_invalid’ 743s ok 2 /utils/locale-variants 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/version/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/version/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/version/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/version/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/version/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/version/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/version/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/version/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/version/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/version/.dirs/runtime 743s ok 3 /utils/version 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/appname/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/appname/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/appname/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/appname/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/appname/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/appname/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/appname/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/appname/.dirs/runtime 743s ok 4 /utils/appname 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/prgname-thread-safety/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/prgname-thread-safety/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/prgname-thread-safety/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/prgname-thread-safety/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/prgname-thread-safety/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/prgname-thread-safety/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/prgname-thread-safety/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/prgname-thread-safety/.dirs/runtime 743s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 743s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 743s ok 5 /utils/prgname-thread-safety 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/tmpdir/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/tmpdir/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/tmpdir/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/tmpdir/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/tmpdir/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/tmpdir/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/tmpdir/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/tmpdir/.dirs/runtime 743s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 743s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 743s Unable to clean up temporary directory /tmp/test_utils-c-17_KKVVJ3/utils/tmpdir: No such file or directory 743s ok 6 /utils/tmpdir 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/basic_bits/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/basic_bits/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/basic_bits/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/basic_bits/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/basic_bits/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/basic_bits/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/basic_bits/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/basic_bits/.dirs/runtime 743s ok 7 /utils/basic_bits 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/bits/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/bits/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/bits/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/bits/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/bits/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/bits/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/bits/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/bits/.dirs/runtime 743s ok 8 /utils/bits 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/swap/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/swap/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/swap/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/swap/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/swap/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/swap/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/swap/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/swap/.dirs/runtime 743s ok 9 /utils/swap 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/find-program/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/find-program/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/find-program/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/find-program/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/find-program/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/find-program/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/find-program/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/find-program/.dirs/runtime 743s ok 10 /utils/find-program 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/find-program-for-path/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/find-program-for-path/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/find-program-for-path/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/find-program-for-path/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/find-program-for-path/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/find-program-for-path/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/find-program-for-path/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/find-program-for-path/.dirs/runtime 743s ok 11 /utils/find-program-for-path 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/debug/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/debug/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/debug/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/debug/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/debug/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/debug/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/debug/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/debug/.dirs/runtime 743s Unable to clean up temporary directory /tmp/test_utils-c-17_KKVVJ3/utils/debug: No such file or directory 743s ok 12 /utils/debug 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/codeset/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/codeset/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/codeset/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/codeset/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/codeset/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/codeset/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/codeset/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/codeset/.dirs/runtime 743s ok 13 /utils/codeset 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/codeset2/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/codeset2/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/codeset2/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/codeset2/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/codeset2/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/codeset2/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/codeset2/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/codeset2/.dirs/runtime 743s Unable to clean up temporary directory /tmp/test_utils-c-17_KKVVJ3/utils/codeset2: No such file or directory 743s ok 14 /utils/codeset2 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/console-charset/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/console-charset/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/console-charset/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/console-charset/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/console-charset/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/console-charset/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/console-charset/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/console-charset/.dirs/runtime 743s ok 15 /utils/console-charset 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/gettext/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/gettext/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/gettext/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/gettext/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/gettext/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/gettext/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/gettext/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/gettext/.dirs/runtime 743s ok 16 /utils/gettext 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/username/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/username/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/username/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/username/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/username/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/username/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/username/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/username/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/username/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/username/.dirs/runtime 743s ok 17 /utils/username 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/realname/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/realname/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/realname/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/realname/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/realname/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/realname/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/realname/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/realname/.dirs/runtime 743s ok 18 /utils/realname 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/hostname/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/hostname/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/hostname/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/hostname/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/hostname/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/hostname/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/hostname/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/hostname/.dirs/runtime 743s ok 19 /utils/hostname 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/os-info/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/os-info/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/os-info/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/os-info/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/os-info/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/os-info/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/os-info/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/os-info/.dirs/runtime 743s # NAME: Ubuntu 743s ok 20 /utils/os-info 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/.dirs/runtime 743s ok 21 /utils/clear-pointer 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer-cast/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer-cast/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer-cast/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer-cast/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer-cast/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer-cast/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer-cast/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer-cast/.dirs/runtime 743s ok 22 /utils/clear-pointer-cast 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/take-pointer/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/take-pointer/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/take-pointer/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/take-pointer/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/take-pointer/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/take-pointer/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/take-pointer/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/take-pointer/.dirs/runtime 743s ok 23 /utils/take-pointer 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-source/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-source/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/clear-source/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-source/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/clear-source/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-source/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-source/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/clear-source/.dirs/runtime 743s ok 24 /utils/clear-source 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/misc-mem/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/misc-mem/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/misc-mem/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/misc-mem/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/misc-mem/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/misc-mem/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/misc-mem/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/misc-mem/.dirs/runtime 743s ok 25 /utils/misc-mem 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/.dirs/runtime 743s # /utils/aligned-mem summary: Aligned memory allocator 743s # Alignment must not be zero 743s # Alignment must be a power of two 743s # Alignment must be a multiple of sizeof(void*) 743s ok 26 /utils/aligned-mem 743s ok - glib/utils-c-17.test 743s # Running test: glib/protocol.test 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/free-sized/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/free-sized/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/free-sized/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/free-sized/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/free-sized/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/free-sized/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/free-sized/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/free-sized/.dirs/runtime 743s # /utils/free-sized summary: Check that g_free_sized() works 743s ok 27 /utils/free-sized 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/nullify/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/nullify/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/nullify/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/nullify/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/nullify/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/nullify/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/nullify/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/nullify/.dirs/runtime 743s ok 28 /utils/nullify 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/atexit/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/atexit/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/atexit/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/atexit/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/atexit/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/atexit/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/atexit/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/atexit/.dirs/runtime 743s Unable to clean up temporary directory /tmp/test_utils-c-17_KKVVJ3/utils/atexit: No such file or directory 743s ok 29 /utils/atexit 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/check-setuid/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/check-setuid/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/check-setuid/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/check-setuid/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/check-setuid/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/check-setuid/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/check-setuid/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/check-setuid/.dirs/runtime 743s ok 30 /utils/check-setuid 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/int-limits/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/int-limits/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/int-limits/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/int-limits/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/int-limits/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/int-limits/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/int-limits/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/int-limits/.dirs/runtime 743s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 743s ok 31 /utils/int-limits 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-list/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-list/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/clear-list/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-list/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/clear-list/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-list/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-list/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/clear-list/.dirs/runtime 743s ok 32 /utils/clear-list 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-slist/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-slist/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/clear-slist/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-slist/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/clear-slist/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-slist/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-slist/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/clear-slist/.dirs/runtime 743s ok 33 /utils/clear-slist 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/steal-handle-id/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/steal-handle-id/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/steal-handle-id/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/steal-handle-id/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/steal-handle-id/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/steal-handle-id/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/steal-handle-id/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/steal-handle-id/.dirs/runtime 743s ok 34 /utils/steal-handle-id 743s # Start of user-special-dirs tests 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/desktop/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/desktop/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/desktop/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/desktop/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/desktop/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/desktop/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/desktop/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/desktop/.dirs/runtime 743s ok 35 /utils/user-special-dirs/desktop 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/load-unlocked/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/load-unlocked/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/load-unlocked/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/load-unlocked/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 743s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 743s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 743s Unable to clean up temporary directory /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/load-unlocked: No such file or directory 743s ok 36 /utils/user-special-dirs/load-unlocked 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/reload-leaks/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/reload-leaks/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/reload-leaks/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/reload-leaks/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 743s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 743s Unable to clean up temporary directory /tmp/test_utils-c-17_KKVVJ3/utils/user-special-dirs/reload-leaks: No such file or directory 743s ok 37 /utils/user-special-dirs/reload-leaks 743s # End of user-special-dirs tests 743s # Start of clear-pointer tests 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/side-effects/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/side-effects/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/side-effects/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/side-effects/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/side-effects/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/side-effects/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/side-effects/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/clear-pointer/side-effects/.dirs/runtime 743s ok 38 /utils/clear-pointer/side-effects 743s # End of clear-pointer tests 743s # Start of aligned-mem tests 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/alignment/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/alignment/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/alignment/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/alignment/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/alignment/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/alignment/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/alignment/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/alignment/.dirs/runtime 743s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 743s ok 39 /utils/aligned-mem/alignment 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/zeroed/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/zeroed/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/zeroed/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/zeroed/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/zeroed/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/zeroed/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/zeroed/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/zeroed/.dirs/runtime 743s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 743s ok 40 /utils/aligned-mem/zeroed 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/free-sized/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/free-sized/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/free-sized/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/free-sized/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/free-sized/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/free-sized/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/free-sized/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_KKVVJ3/utils/aligned-mem/free-sized/.dirs/runtime 743s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 743s ok 41 /utils/aligned-mem/free-sized 743s # Start of subprocess tests 743s # End of subprocess tests 743s # End of aligned-mem tests 743s # End of utils tests 743s TAP version 14 743s # random seed: R02S121a79aca068b66c532f274aecffa0cc 743s 1..9 743s # Start of glib tests 743s # Start of testing tests 743s # Start of protocol tests 743s ok 1 /glib/testing/protocol/debug 743s ok 2 /glib/testing/protocol/info 743s ok 3 /glib/testing/protocol/message 743s ok 4 /glib/testing/protocol/warning 743s ok 5 /glib/testing/protocol/critical 743s ok 6 /glib/testing/protocol/error 743s ok 7 /glib/testing/protocol/gtest-message 743s ok 8 /glib/testing/protocol/test-message 743s ok - glib/protocol.test 743s ok 9 /glib/testing/protocol/test-error 743s # End of protocol tests 743s # End of testing tests 743s # End of glib tests 743s # Running test: glib/dynamictype.test 743s ok - glib/dynamictype.test 743s TAP version 14 743s # random seed: R02Sae5e4e91f4bc414b3726a84526a3aa6f 743s 1..2 743s # Start of gobject tests 743s ok 1 /gobject/dynamic-type 743s # Start of dynamic-type tests 743s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 743s ok 2 /gobject/dynamic-type/query 743s # End of dynamic-type tests 743s # End of gobject tests 743s # Running test: glib/string.test 743s TAP version 14 743s # random seed: R02S4bafd991b1e02850a51e599aca2a71a9 743s 1..25 743s # Start of string tests 743s ok 1 /string/chunks 743s ok 2 /string/chunk-insert 743s ok 3 /string/new 743s ok 4 /string/printf 743s ok 5 /string/assign 743s ok 6 /string/append-c 743s ok 7 /string/append 743s ok 8 /string/append-vprintf 743s ok 9 /string/prepend-c 743s ok 10 /string/prepend 743s ok 11 /string/insert 743s ok 12 /string/insert-unichar 743s ok 13 /string/equal 743s ok 14 /string/truncate 743s ok 15 /string/overwrite 743s ok 16 /string/nul-handling 743s ok 17 /string/up-down 743s ok 18 /string/set-size 743s ok 19 /string/to-bytes 743s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 743s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 743s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 743s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 743s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 743s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 743s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 743s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 743s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 743s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 743s # 5: Replacing "o" with "" (limit 0) in "food for foals" 743s # -> 4 replacements, "fd fr fals" 743s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 743s # -> 3 replacements, "aaaaaaaaa" 743s # 7: Replacing "a" with "" (limit 0) in "aaa" 743s # -> 3 replacements, "" 743s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 743s # -> 1 replacements, "bba" 743s # 9: Replacing "" with "bar" (limit 0) in "foo" 743s # -> 4 replacements, "barfbarobarobar" 743s # 10: Replacing "" with "bar" (limit 1) in "foo" 743s # -> 1 replacements, "barfoo" 743s # 11: Replacing "" with "bar" (limit 2) in "foo" 743s # -> 2 replacements, "barfbaroo" 743s # 12: Replacing "" with "bar" (limit 3) in "foo" 743s # -> 3 replacements, "barfbarobaro" 743s # 13: Replacing "" with "bar" (limit 4) in "foo" 743s # -> 4 replacements, "barfbarobarobar" 743s # 14: Replacing "" with "bar" (limit 5) in "foo" 743s # -> 4 replacements, "barfbarobarobar" 743s # 15: Replacing "" with "x" (limit 0) in "" 743s # -> 1 replacements, "x" 743s # 16: Replacing "" with "" (limit 0) in "" 743s # -> 1 replacements, "" 743s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 743s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 743s ok 20 /string/replace 743s ok 21 /string/steal 743s ok 22 /string/new-take 743s ok 23 /string/copy 743s ok 24 /string/sized-new 743s # Start of new-take tests 743s ok 25 /string/new-take/null 743s # End of new-take tests 743s ok - glib/string.test 743s # Running test: glib/gdbus-connection-slow.test 743s # End of string tests 743s TAP version 14 743s # random seed: R02S9e02df6750548313ad84afd164b3e46e 743s 1..2 743s # Start of gdbus tests 743s # Start of connection tests 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/flush/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/flush/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/flush/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/flush/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/flush/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/flush/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/flush/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/flush/.dirs/runtime 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s ok 1 /gdbus/connection/flush 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/large_message/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/large_message/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/large_message/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/large_message/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/large_message/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/large_message/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/large_message/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_KFVTJ3/gdbus/connection/large_message/.dirs/runtime 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 743s ok 2 /gdbus/connection/large_message 743s # End of connection tests 743s # End of gdbus tests 743s ok - glib/gdbus-connection-slow.test 743s # Running test: glib/type.test 743s TAP version 14 743s # random seed: R02Sd68ec1eac60d38eae3c0d554d8359517 743s 1..6 743s # Start of type tests 743s ok 1 /type/registration-serial 743s ok 2 /type/interface-prerequisite 743s ok 3 /type/interface-check 743s ok 4 /type/next-base 743s ok 5 /type/is-a 743s # Invalid types can’t be queried. 743s # Unclassed types can’t be queried. 743s ok 6 /type/query 743s # End of type tests 743s ok - glib/type.test 743s # Running test: glib/cxx-20.test 743s ok - glib/cxx-20.test 743s TAP version 14 743s # random seed: R02S36e24626c86c85f4c6eca7116c8858bd 743s 1..2 743s # Start of gtask tests 743s # 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. 743s ok 1 /gtask/name 743s # Start of name tests 743s # 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. 743s ok 2 /gtask/name/macro-wrapper 743s # End of name tests 743s # End of gtask tests 743s # Running test: glib/option-argv0.test 743s ok - glib/option-argv0.test 743s TAP version 14 743s # random seed: R02Sa0b14a70ed8c9cb16939f861b568c061 743s 1..1 743s # Start of option tests 743s ok 1 /option/argv0 743s # End of option tests 743s # Running test: glib/memory-monitor-psi.test 743s TAP version 14 743s ok - glib/memory-monitor-psi.test 743s # random seed: R02S92e1198c09e1c2e827617ad968280fcd 743s 1..1 743s # Start of memory-monitor-psi tests 743s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_memory-monitor-psi_OY5ZJ3/memory-monitor-psi/receive-signal/.dirs/home 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_memory-monitor-psi_OY5ZJ3/memory-monitor-psi/receive-signal/.dirs/cache 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_memory-monitor-psi_OY5ZJ3/memory-monitor-psi/receive-signal/.dirs/system-config1:/tmp/test_memory-monitor-psi_OY5ZJ3/memory-monitor-psi/receive-signal/.dirs/system-config2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_memory-monitor-psi_OY5ZJ3/memory-monitor-psi/receive-signal/.dirs/config 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_memory-monitor-psi_OY5ZJ3/memory-monitor-psi/receive-signal/.dirs/system-data1:/tmp/test_memory-monitor-psi_OY5ZJ3/memory-monitor-psi/receive-signal/.dirs/system-data2 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_memory-monitor-psi_OY5ZJ3/memory-monitor-psi/receive-signal/.dirs/data 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_memory-monitor-psi_OY5ZJ3/memory-monitor-psi/receive-signal/.dirs/state 743s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_memory-monitor-psi_OY5ZJ3/memory-monitor-psi/receive-signal/.dirs/runtime 743s # GLib-GIO-DEBUG: Write trigger some 70000 2000000 743s # GLib-GIO-DEBUG: Write trigger some 100000 2000000 743s # GLib-GIO-DEBUG: Write trigger full 100000 2000000 743s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 743s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 743s ok 1 /memory-monitor-psi/receive-signal 743s # End of memory-monitor-psi tests 743s # Running test: glib/io-channel-basic.test 743s TAP version 14 743s # random seed: R02Se9a0a0978dc3c028907f7b40b0bf51ec 743s 1..1 743s # Start of gio tests 743s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 743s # random seed: R02S5a260d8b0d2c47b5cbf1f7b72fba28c9 743s # GLib-DEBUG: io-channel-basic: child writing 8+3302 bytes to 6 743s # GLib-DEBUG: io-channel-basic: ...from 5: IN 743s # GLib-DEBUG: io-channel-basic: ...from 5: 3302 bytes 743s # GLib-DEBUG: io-channel-basic: ...from 5: OK 744s # GLib-DEBUG: io-channel-basic: child writing 8+4485 bytes to 6 744s # GLib-DEBUG: io-channel-basic: ...from 5: IN 744s # GLib-DEBUG: io-channel-basic: ...from 5: 4485 bytes 744s # GLib-DEBUG: io-channel-basic: ...from 5: OK 744s # GLib-DEBUG: io-channel-basic: child writing 8+121 bytes to 6 744s # GLib-DEBUG: io-channel-basic: ...from 5: IN 744s # GLib-DEBUG: io-channel-basic: ...from 5: 121 bytes 744s # GLib-DEBUG: io-channel-basic: ...from 5: OK 744s # GLib-DEBUG: io-channel-basic: child writing 8+1414 bytes to 6 744s # GLib-DEBUG: io-channel-basic: ...from 5: IN 744s # GLib-DEBUG: io-channel-basic: ...from 5: 1414 bytes 744s # GLib-DEBUG: io-channel-basic: ...from 5: OK 744s # GLib-DEBUG: io-channel-basic: child writing 8+4362 bytes to 6 744s # GLib-DEBUG: io-channel-basic: ...from 5: IN 744s # GLib-DEBUG: io-channel-basic: ...from 5: 4362 bytes 744s # GLib-DEBUG: io-channel-basic: ...from 5: OK 745s # GLib-DEBUG: io-channel-basic: child writing 8+3705 bytes to 6 745s # GLib-DEBUG: io-channel-basic: ...from 5: IN 745s # GLib-DEBUG: io-channel-basic: ...from 5: 3705 bytes 745s # GLib-DEBUG: io-channel-basic: ...from 5: OK 745s # GLib-DEBUG: io-channel-basic: child writing 8+3381 bytes to 6 745s # GLib-DEBUG: io-channel-basic: ...from 5: IN 745s # GLib-DEBUG: io-channel-basic: ...from 5: 3381 bytes 745s # GLib-DEBUG: io-channel-basic: ...from 5: OK 745s # Executing: glib/io-channel-basic.test 745s # GLib-DEBUG: io-channel-basic: child writing 8+4833 bytes to 6 745s # GLib-DEBUG: io-channel-basic: ...from 5: IN 745s # GLib-DEBUG: io-channel-basic: ...from 5: 4833 bytes 745s # GLib-DEBUG: io-channel-basic: ...from 5: OK 745s # GLib-DEBUG: io-channel-basic: child writing 8+3892 bytes to 6 745s # GLib-DEBUG: io-channel-basic: ...from 5: IN 745s # GLib-DEBUG: io-channel-basic: ...from 5: 3892 bytes 745s # GLib-DEBUG: io-channel-basic: ...from 5: OK 746s # GLib-DEBUG: io-channel-basic: child writing 8+293 bytes to 6 746s # GLib-DEBUG: io-channel-basic: ...from 5: IN 746s # GLib-DEBUG: io-channel-basic: ...from 5: 293 bytes 746s # GLib-DEBUG: io-channel-basic: ...from 5: OK 746s # GLib-DEBUG: io-channel-basic: child writing 8+1309 bytes to 6 746s # GLib-DEBUG: io-channel-basic: ...from 5: IN 746s # GLib-DEBUG: io-channel-basic: ...from 5: 1309 bytes 746s # GLib-DEBUG: io-channel-basic: ...from 5: OK 746s # GLib-DEBUG: io-channel-basic: child writing 8+2204 bytes to 6 746s # GLib-DEBUG: io-channel-basic: ...from 5: IN 746s # GLib-DEBUG: io-channel-basic: ...from 5: 2204 bytes 746s # GLib-DEBUG: io-channel-basic: ...from 5: OK 746s # GLib-DEBUG: io-channel-basic: child writing 8+4135 bytes to 6 746s # GLib-DEBUG: io-channel-basic: ...from 5: IN 746s # GLib-DEBUG: io-channel-basic: ...from 5: 4135 bytes 746s # GLib-DEBUG: io-channel-basic: ...from 5: OK 747s # GLib-DEBUG: io-channel-basic: child writing 8+4504 bytes to 6 747s # GLib-DEBUG: io-channel-basic: ...from 5: IN 747s # GLib-DEBUG: io-channel-basic: ...from 5: 4504 bytes 747s # GLib-DEBUG: io-channel-basic: ...from 5: OK 747s # GLib-DEBUG: io-channel-basic: child writing 8+2070 bytes to 6 747s # GLib-DEBUG: io-channel-basic: ...from 5: IN 747s # GLib-DEBUG: io-channel-basic: ...from 5: 2070 bytes 747s # GLib-DEBUG: io-channel-basic: ...from 5: OK 747s # GLib-DEBUG: io-channel-basic: child writing 8+4254 bytes to 6 747s # GLib-DEBUG: io-channel-basic: ...from 5: IN 747s # GLib-DEBUG: io-channel-basic: ...from 5: 4254 bytes 747s # GLib-DEBUG: io-channel-basic: ...from 5: OK 747s # GLib-DEBUG: io-channel-basic: child writing 8+2605 bytes to 6 747s # GLib-DEBUG: io-channel-basic: ...from 5: IN 747s # GLib-DEBUG: io-channel-basic: ...from 5: 2605 bytes 747s # GLib-DEBUG: io-channel-basic: ...from 5: OK 748s # GLib-DEBUG: io-channel-basic: child writing 8+1684 bytes to 6 748s # GLib-DEBUG: io-channel-basic: ...from 5: IN 748s # GLib-DEBUG: io-channel-basic: ...from 5: 1684 bytes 748s # GLib-DEBUG: io-channel-basic: ...from 5: OK 748s # GLib-DEBUG: io-channel-basic: child writing 8+3699 bytes to 6 748s # GLib-DEBUG: io-channel-basic: ...from 5: IN 748s # GLib-DEBUG: io-channel-basic: ...from 5: 3699 bytes 748s # GLib-DEBUG: io-channel-basic: ...from 5: OK 748s # GLib-DEBUG: io-channel-basic: child writing 8+3333 bytes to 6 748s # GLib-DEBUG: io-channel-basic: ...from 5: IN 748s # GLib-DEBUG: io-channel-basic: ...from 5: 3333 bytes 748s # GLib-DEBUG: io-channel-basic: ...from 5: OK 749s # GLib-DEBUG: io-channel-basic: child writing 8+3155 bytes to 6 749s # GLib-DEBUG: io-channel-basic: ...from 5: IN 749s # GLib-DEBUG: io-channel-basic: ...from 5: 3155 bytes 749s # GLib-DEBUG: io-channel-basic: ...from 5: OK 749s # GLib-DEBUG: io-channel-basic: child writing 8+1893 bytes to 6 749s # GLib-DEBUG: io-channel-basic: ...from 5: IN 749s # GLib-DEBUG: io-channel-basic: ...from 5: 1893 bytes 749s # GLib-DEBUG: io-channel-basic: ...from 5: OK 749s # GLib-DEBUG: io-channel-basic: child writing 8+2546 bytes to 6 749s # GLib-DEBUG: io-channel-basic: ...from 5: IN 749s # GLib-DEBUG: io-channel-basic: ...from 5: 2546 bytes 749s # GLib-DEBUG: io-channel-basic: ...from 5: OK 749s # GLib-DEBUG: io-channel-basic: child writing 8+1350 bytes to 6 749s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 749s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 749s # GLib-DEBUG: io-channel-basic: ...from 5: 1350 bytes 749s # GLib-DEBUG: io-channel-basic: ...from 5: OK 749s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 749s # random seed: R02S4211e43cfda399ad2d341c9e5ada5793 749s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 749s # random seed: R02S68e6df88b271a0334f936ef0c0722bfa 749s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 749s # random seed: R02Scd4f2b8ec9c21a50e903982a74afd92a 749s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 749s # random seed: R02Sf339f10e250b8e745f9a693a455508b9 749s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 749s # random seed: R02S8d9d479e631367d872ef687103a9b9c2 750s # GLib-DEBUG: io-channel-basic: child writing 8+1725 bytes to 11 750s # GLib-DEBUG: io-channel-basic: ...from 10: IN 750s # GLib-DEBUG: io-channel-basic: ...from 10: 1725 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 10: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+2384 bytes to 13 750s # GLib-DEBUG: io-channel-basic: ...from 12: IN 750s # GLib-DEBUG: io-channel-basic: ...from 12: 2384 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 12: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+4798 bytes to 15 750s # GLib-DEBUG: io-channel-basic: ...from 14: IN 750s # GLib-DEBUG: io-channel-basic: ...from 14: 4798 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 14: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+2317 bytes to 17 750s # GLib-DEBUG: io-channel-basic: ...from 16: IN 750s # GLib-DEBUG: io-channel-basic: ...from 16: 2317 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 16: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+4559 bytes to 9 750s # GLib-DEBUG: io-channel-basic: ...from 8: IN 750s # GLib-DEBUG: io-channel-basic: ...from 8: 4559 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 8: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+3777 bytes to 13 750s # GLib-DEBUG: io-channel-basic: ...from 12: IN 750s # GLib-DEBUG: io-channel-basic: ...from 12: 3777 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 12: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+2602 bytes to 15 750s # GLib-DEBUG: io-channel-basic: ...from 14: IN 750s # GLib-DEBUG: io-channel-basic: ...from 14: 2602 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 14: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+1652 bytes to 11 750s # GLib-DEBUG: io-channel-basic: ...from 10: IN 750s # GLib-DEBUG: io-channel-basic: ...from 10: 1652 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 10: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+4352 bytes to 17 750s # GLib-DEBUG: io-channel-basic: ...from 16: IN 750s # GLib-DEBUG: io-channel-basic: ...from 16: 4352 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 16: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+3289 bytes to 9 750s # GLib-DEBUG: io-channel-basic: ...from 8: IN 750s # GLib-DEBUG: io-channel-basic: ...from 8: 3289 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 8: OK 750s # Executing: glib/io-channel-basic.test 750s # GLib-DEBUG: io-channel-basic: child writing 8+2845 bytes to 13 750s # GLib-DEBUG: io-channel-basic: ...from 12: IN 750s # GLib-DEBUG: io-channel-basic: ...from 12: 2845 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 12: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+648 bytes to 15 750s # GLib-DEBUG: io-channel-basic: ...from 14: IN 750s # GLib-DEBUG: io-channel-basic: ...from 14: 648 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 14: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+2525 bytes to 17 750s # GLib-DEBUG: io-channel-basic: ...from 16: IN 750s # GLib-DEBUG: io-channel-basic: ...from 16: 2525 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 16: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+1445 bytes to 9 750s # GLib-DEBUG: io-channel-basic: ...from 8: IN 750s # GLib-DEBUG: io-channel-basic: ...from 8: 1445 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 8: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+466 bytes to 11 750s # GLib-DEBUG: io-channel-basic: ...from 10: IN 750s # GLib-DEBUG: io-channel-basic: ...from 10: 466 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 10: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+4139 bytes to 13 750s # GLib-DEBUG: io-channel-basic: ...from 12: IN 750s # GLib-DEBUG: io-channel-basic: ...from 12: 4139 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 12: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+918 bytes to 17 750s # GLib-DEBUG: io-channel-basic: ...from 16: IN 750s # GLib-DEBUG: io-channel-basic: ...from 16: 918 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 16: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+1947 bytes to 15 750s # GLib-DEBUG: io-channel-basic: ...from 14: IN 750s # GLib-DEBUG: io-channel-basic: ...from 14: 1947 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 14: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+1075 bytes to 9 750s # GLib-DEBUG: io-channel-basic: ...from 8: IN 750s # GLib-DEBUG: io-channel-basic: ...from 8: 1075 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 8: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+3800 bytes to 11 750s # GLib-DEBUG: io-channel-basic: ...from 10: IN 750s # GLib-DEBUG: io-channel-basic: ...from 10: 3800 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 10: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+2233 bytes to 13 751s # GLib-DEBUG: io-channel-basic: ...from 12: IN 751s # GLib-DEBUG: io-channel-basic: ...from 12: 2233 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 12: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+3019 bytes to 17 751s # GLib-DEBUG: io-channel-basic: ...from 16: IN 751s # GLib-DEBUG: io-channel-basic: ...from 16: 3019 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 16: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+964 bytes to 9 751s # GLib-DEBUG: io-channel-basic: ...from 8: IN 751s # GLib-DEBUG: io-channel-basic: ...from 8: 964 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 8: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+4662 bytes to 15 751s # GLib-DEBUG: io-channel-basic: ...from 14: IN 751s # GLib-DEBUG: io-channel-basic: ...from 14: 4662 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 14: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+2548 bytes to 11 751s # GLib-DEBUG: io-channel-basic: ...from 10: IN 751s # GLib-DEBUG: io-channel-basic: ...from 10: 2548 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 10: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+1047 bytes to 13 751s # GLib-DEBUG: io-channel-basic: ...from 12: IN 751s # GLib-DEBUG: io-channel-basic: ...from 12: 1047 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 12: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+4478 bytes to 17 751s # GLib-DEBUG: io-channel-basic: ...from 16: IN 751s # GLib-DEBUG: io-channel-basic: ...from 16: 4478 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 16: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+2259 bytes to 15 751s # GLib-DEBUG: io-channel-basic: ...from 14: IN 751s # GLib-DEBUG: io-channel-basic: ...from 14: 2259 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 14: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+4432 bytes to 9 751s # GLib-DEBUG: io-channel-basic: ...from 8: IN 751s # GLib-DEBUG: io-channel-basic: ...from 8: 4432 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 8: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+3970 bytes to 11 751s # GLib-DEBUG: io-channel-basic: ...from 10: IN 751s # GLib-DEBUG: io-channel-basic: ...from 10: 3970 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 10: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+32 bytes to 13 751s # GLib-DEBUG: io-channel-basic: ...from 12: IN 751s # GLib-DEBUG: io-channel-basic: ...from 12: 32 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 12: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+3649 bytes to 17 751s # GLib-DEBUG: io-channel-basic: ...from 16: IN 751s # GLib-DEBUG: io-channel-basic: ...from 16: 3649 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 16: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+1013 bytes to 11 751s # GLib-DEBUG: io-channel-basic: ...from 10: IN 751s # GLib-DEBUG: io-channel-basic: ...from 10: 1013 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 10: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+4153 bytes to 15 751s # GLib-DEBUG: io-channel-basic: ...from 14: IN 751s # GLib-DEBUG: io-channel-basic: ...from 14: 4153 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 14: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+3502 bytes to 9 751s # GLib-DEBUG: io-channel-basic: ...from 8: IN 751s # GLib-DEBUG: io-channel-basic: ...from 8: 3502 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 8: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+3295 bytes to 17 751s # GLib-DEBUG: io-channel-basic: ...from 16: IN 751s # GLib-DEBUG: io-channel-basic: ...from 16: 3295 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 16: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+3648 bytes to 13 751s # GLib-DEBUG: io-channel-basic: ...from 12: IN 751s # GLib-DEBUG: io-channel-basic: ...from 12: 3648 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 12: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+3728 bytes to 11 751s # GLib-DEBUG: io-channel-basic: ...from 10: IN 751s # GLib-DEBUG: io-channel-basic: ...from 10: 3728 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 10: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+2860 bytes to 9 751s # GLib-DEBUG: io-channel-basic: ...from 8: IN 751s # GLib-DEBUG: io-channel-basic: ...from 8: 2860 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 8: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+2671 bytes to 15 751s # GLib-DEBUG: io-channel-basic: ...from 14: IN 751s # GLib-DEBUG: io-channel-basic: ...from 14: 2671 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 14: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+2896 bytes to 17 752s # GLib-DEBUG: io-channel-basic: ...from 16: IN 752s # GLib-DEBUG: io-channel-basic: ...from 16: 2896 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 16: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+1297 bytes to 11 752s # GLib-DEBUG: io-channel-basic: ...from 10: IN 752s # GLib-DEBUG: io-channel-basic: ...from 10: 1297 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 10: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+1957 bytes to 13 752s # GLib-DEBUG: io-channel-basic: ...from 12: IN 752s # GLib-DEBUG: io-channel-basic: ...from 12: 1957 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 12: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+126 bytes to 9 752s # GLib-DEBUG: io-channel-basic: ...from 8: IN 752s # GLib-DEBUG: io-channel-basic: ...from 8: 126 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 8: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+1763 bytes to 15 752s # GLib-DEBUG: io-channel-basic: ...from 14: IN 752s # GLib-DEBUG: io-channel-basic: ...from 14: 1763 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 14: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+3837 bytes to 9 752s # GLib-DEBUG: io-channel-basic: ...from 8: IN 752s # GLib-DEBUG: io-channel-basic: ...from 8: 3837 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 8: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+2107 bytes to 17 752s # GLib-DEBUG: io-channel-basic: ...from 16: IN 752s # GLib-DEBUG: io-channel-basic: ...from 16: 2107 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 16: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+3790 bytes to 13 752s # GLib-DEBUG: io-channel-basic: ...from 12: IN 752s # GLib-DEBUG: io-channel-basic: ...from 12: 3790 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 12: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+2985 bytes to 11 752s # GLib-DEBUG: io-channel-basic: ...from 10: IN 752s # GLib-DEBUG: io-channel-basic: ...from 10: 2985 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 10: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+843 bytes to 15 752s # GLib-DEBUG: io-channel-basic: ...from 14: IN 752s # GLib-DEBUG: io-channel-basic: ...from 14: 843 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 14: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+967 bytes to 9 752s # GLib-DEBUG: io-channel-basic: ...from 8: IN 752s # GLib-DEBUG: io-channel-basic: ...from 8: 967 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 8: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+3841 bytes to 17 752s # GLib-DEBUG: io-channel-basic: ...from 16: IN 752s # GLib-DEBUG: io-channel-basic: ...from 16: 3841 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 16: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+822 bytes to 13 752s # GLib-DEBUG: io-channel-basic: ...from 12: IN 752s # GLib-DEBUG: io-channel-basic: ...from 12: 822 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 12: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+3077 bytes to 15 752s # GLib-DEBUG: io-channel-basic: ...from 14: IN 752s # GLib-DEBUG: io-channel-basic: ...from 14: 3077 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 14: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+208 bytes to 11 752s # GLib-DEBUG: io-channel-basic: ...from 10: IN 752s # GLib-DEBUG: io-channel-basic: ...from 10: 208 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 10: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+3851 bytes to 17 752s # GLib-DEBUG: io-channel-basic: ...from 16: IN 752s # GLib-DEBUG: io-channel-basic: ...from 16: 3851 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 16: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+4014 bytes to 9 752s # GLib-DEBUG: io-channel-basic: ...from 8: IN 752s # GLib-DEBUG: io-channel-basic: ...from 8: 4014 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 8: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+1494 bytes to 15 752s # GLib-DEBUG: io-channel-basic: ...from 14: IN 752s # GLib-DEBUG: io-channel-basic: ...from 14: 1494 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 14: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+485 bytes to 13 752s # GLib-DEBUG: io-channel-basic: ...from 12: IN 752s # GLib-DEBUG: io-channel-basic: ...from 12: 485 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 12: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+4986 bytes to 11 752s # GLib-DEBUG: io-channel-basic: ...from 10: IN 752s # GLib-DEBUG: io-channel-basic: ...from 10: 4986 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 10: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+153 bytes to 17 753s # GLib-DEBUG: io-channel-basic: ...from 16: IN 753s # GLib-DEBUG: io-channel-basic: ...from 16: 153 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 16: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+4046 bytes to 9 753s # GLib-DEBUG: io-channel-basic: ...from 8: IN 753s # GLib-DEBUG: io-channel-basic: ...from 8: 4046 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 8: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+1119 bytes to 15 753s # GLib-DEBUG: io-channel-basic: ...from 14: IN 753s # GLib-DEBUG: io-channel-basic: ...from 14: 1119 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 14: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+1088 bytes to 13 753s # GLib-DEBUG: io-channel-basic: ...from 12: IN 753s # GLib-DEBUG: io-channel-basic: ...from 12: 1088 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 12: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+2204 bytes to 11 753s # GLib-DEBUG: io-channel-basic: ...from 10: IN 753s # GLib-DEBUG: io-channel-basic: ...from 10: 2204 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 10: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+4396 bytes to 17 753s # GLib-DEBUG: io-channel-basic: ...from 16: IN 753s # GLib-DEBUG: io-channel-basic: ...from 16: 4396 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 16: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+742 bytes to 9 753s # GLib-DEBUG: io-channel-basic: ...from 8: IN 753s # GLib-DEBUG: io-channel-basic: ...from 8: 742 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 8: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+1195 bytes to 15 753s # GLib-DEBUG: io-channel-basic: ...from 14: IN 753s # GLib-DEBUG: io-channel-basic: ...from 14: 1195 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 14: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+151 bytes to 13 753s # GLib-DEBUG: io-channel-basic: ...from 12: IN 753s # GLib-DEBUG: io-channel-basic: ...from 12: 151 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 12: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+1365 bytes to 11 753s # GLib-DEBUG: io-channel-basic: ...from 10: IN 753s # GLib-DEBUG: io-channel-basic: ...from 10: 1365 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 10: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+72 bytes to 17 753s # GLib-DEBUG: io-channel-basic: ...from 16: IN 753s # GLib-DEBUG: io-channel-basic: ...from 16: 72 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 16: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+3643 bytes to 9 753s # GLib-DEBUG: io-channel-basic: ...from 8: IN 753s # GLib-DEBUG: io-channel-basic: ...from 8: 3643 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 8: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+2243 bytes to 15 753s # GLib-DEBUG: io-channel-basic: ...from 14: IN 753s # GLib-DEBUG: io-channel-basic: ...from 14: 2243 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 14: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+4346 bytes to 11 753s # GLib-DEBUG: io-channel-basic: ...from 10: IN 753s # GLib-DEBUG: io-channel-basic: ...from 10: 4346 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 10: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+3875 bytes to 13 753s # GLib-DEBUG: io-channel-basic: ...from 12: IN 753s # GLib-DEBUG: io-channel-basic: ...from 12: 3875 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 12: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+426 bytes to 17 753s # GLib-DEBUG: io-channel-basic: ...from 16: IN 753s # GLib-DEBUG: io-channel-basic: ...from 16: 426 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 16: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+428 bytes to 9 753s # GLib-DEBUG: io-channel-basic: ...from 8: IN 753s # GLib-DEBUG: io-channel-basic: ...from 8: 428 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 8: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+2171 bytes to 11 754s # GLib-DEBUG: io-channel-basic: ...from 10: IN 754s # GLib-DEBUG: io-channel-basic: ...from 10: 2171 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 10: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+4518 bytes to 15 754s # GLib-DEBUG: io-channel-basic: ...from 14: IN 754s # GLib-DEBUG: io-channel-basic: ...from 14: 4518 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 14: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+4322 bytes to 13 754s # GLib-DEBUG: io-channel-basic: ...from 12: IN 754s # GLib-DEBUG: io-channel-basic: ...from 12: 4322 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 12: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+2608 bytes to 17 754s # GLib-DEBUG: io-channel-basic: ...from 16: IN 754s # GLib-DEBUG: io-channel-basic: ...from 16: 2608 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 16: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+1198 bytes to 9 754s # GLib-DEBUG: io-channel-basic: ...from 8: IN 754s # GLib-DEBUG: io-channel-basic: ...from 8: 1198 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 8: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+744 bytes to 15 754s # GLib-DEBUG: io-channel-basic: ...from 14: IN 754s # GLib-DEBUG: io-channel-basic: ...from 14: 744 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 14: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+4014 bytes to 11 754s # GLib-DEBUG: io-channel-basic: ...from 10: IN 754s # GLib-DEBUG: io-channel-basic: ...from 10: 4014 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 10: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+1240 bytes to 13 754s # GLib-DEBUG: io-channel-basic: ...from 12: IN 754s # GLib-DEBUG: io-channel-basic: ...from 12: 1240 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 12: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+3013 bytes to 17 754s # GLib-DEBUG: io-channel-basic: ...from 16: IN 754s # GLib-DEBUG: io-channel-basic: ...from 16: 3013 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 16: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+259 bytes to 9 754s # GLib-DEBUG: io-channel-basic: ...from 8: IN 754s # GLib-DEBUG: io-channel-basic: ...from 8: 259 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 8: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+3664 bytes to 15 754s # GLib-DEBUG: io-channel-basic: ...from 14: IN 754s # GLib-DEBUG: io-channel-basic: ...from 14: 3664 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 14: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+4180 bytes to 11 754s # GLib-DEBUG: io-channel-basic: ...from 10: IN 754s # GLib-DEBUG: io-channel-basic: ...from 10: 4180 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 10: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+1498 bytes to 13 754s # GLib-DEBUG: io-channel-basic: ...from 12: IN 754s # GLib-DEBUG: io-channel-basic: ...from 12: 1498 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 12: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+3516 bytes to 17 754s # GLib-DEBUG: io-channel-basic: ...from 16: IN 754s # GLib-DEBUG: io-channel-basic: ...from 16: 3516 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 16: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+4691 bytes to 9 754s # GLib-DEBUG: io-channel-basic: ...from 8: IN 754s # GLib-DEBUG: io-channel-basic: ...from 8: 4691 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 8: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+1597 bytes to 15 754s # GLib-DEBUG: io-channel-basic: ...from 14: IN 754s # GLib-DEBUG: io-channel-basic: ...from 14: 1597 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 14: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+3072 bytes to 11 754s # GLib-DEBUG: io-channel-basic: ...from 10: IN 754s # GLib-DEBUG: io-channel-basic: ...from 10: 3072 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 10: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+925 bytes to 13 754s # GLib-DEBUG: io-channel-basic: ...from 12: IN 754s # GLib-DEBUG: io-channel-basic: ...from 12: 925 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 12: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+1872 bytes to 17 754s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 754s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 754s # GLib-DEBUG: io-channel-basic: ...from 16: 1872 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 16: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+3804 bytes to 9 755s # GLib-DEBUG: io-channel-basic: ...from 8: IN 755s # GLib-DEBUG: io-channel-basic: ...from 8: 3804 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 8: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+1760 bytes to 11 755s # GLib-DEBUG: io-channel-basic: ...from 10: IN 755s # GLib-DEBUG: io-channel-basic: ...from 10: 1760 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 10: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+2226 bytes to 15 755s # GLib-DEBUG: io-channel-basic: ...from 14: IN 755s # GLib-DEBUG: io-channel-basic: ...from 14: 2226 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 14: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+311 bytes to 13 755s # GLib-DEBUG: io-channel-basic: ...from 12: IN 755s # GLib-DEBUG: io-channel-basic: ...from 12: 311 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 12: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+1056 bytes to 9 755s # GLib-DEBUG: io-channel-basic: ...from 8: IN 755s # GLib-DEBUG: io-channel-basic: ...from 8: 1056 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 8: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+3769 bytes to 11 755s # GLib-DEBUG: io-channel-basic: ...from 10: IN 755s # GLib-DEBUG: io-channel-basic: ...from 10: 3769 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 10: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+1271 bytes to 15 755s # GLib-DEBUG: io-channel-basic: ...from 14: IN 755s # GLib-DEBUG: io-channel-basic: ...from 14: 1271 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 14: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+1722 bytes to 13 755s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 755s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 755s # GLib-DEBUG: io-channel-basic: ...from 12: 1722 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 12: OK 755s # Executing: glib/io-channel-basic.test 755s # GLib-DEBUG: io-channel-basic: child writing 8+4677 bytes to 11 755s # GLib-DEBUG: io-channel-basic: ...from 10: IN 755s # GLib-DEBUG: io-channel-basic: ...from 10: 4677 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 10: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+4635 bytes to 9 755s # GLib-DEBUG: io-channel-basic: ...from 8: IN 755s # GLib-DEBUG: io-channel-basic: ...from 8: 4635 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 8: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+1645 bytes to 15 755s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 755s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 755s # GLib-DEBUG: io-channel-basic: ...from 14: 1645 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 14: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+224 bytes to 11 755s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 755s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 755s # GLib-DEBUG: io-channel-basic: ...from 10: 224 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 10: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+1920 bytes to 9 755s # GLib-DEBUG: io-channel-basic: ...from 8: IN 755s # GLib-DEBUG: io-channel-basic: ...from 8: 1920 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 8: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+986 bytes to 9 756s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 756s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 756s # GLib-DEBUG: io-channel-basic: ...from 8: 986 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 8: OK 756s ok 1 /gio/io-basics 756s # slow test /gio/io-basics executed in 12.60 secs 756s # End of gio tests 756s ok - glib/io-channel-basic.test 756s # Running test: glib/rec-mutex.test 756s TAP version 14 756s # random seed: R02Seb01bce62f1882a0127bdb2a059dc024 756s 1..29 756s # Start of thread tests 756s ok 1 /thread/rec-mutex1 756s ok 2 /thread/rec-mutex2 756s ok 3 /thread/rec-mutex3 756s ok - glib/rec-mutex.test 756s # Running test: glib/timeout.test 756s ok 4 /thread/rec-mutex4 756s # Start of rec-mutex tests 756s # Start of perf tests 756s # Start of uncontended tests 756s # max perf: 1.000000 mips 756s ok 5 /thread/rec-mutex/perf/uncontended/depth1 756s # max perf: inf mips 756s ok 6 /thread/rec-mutex/perf/uncontended/depth2 756s # max perf: inf mips 756s ok 7 /thread/rec-mutex/perf/uncontended/depth3 756s # max perf: inf mips 756s ok 8 /thread/rec-mutex/perf/uncontended/depth4 756s # max perf: inf mips 756s ok 9 /thread/rec-mutex/perf/uncontended/depth5 756s # End of uncontended tests 756s # Start of contended1 tests 756s # max perf: inf mips 756s ok 10 /thread/rec-mutex/perf/contended1/depth1 756s # max perf: 2.000000 mips 756s ok 11 /thread/rec-mutex/perf/contended1/depth2 756s # max perf: inf mips 756s ok 12 /thread/rec-mutex/perf/contended1/depth3 756s # max perf: inf mips 756s ok 13 /thread/rec-mutex/perf/contended1/depth4 756s # max perf: inf mips 756s ok 14 /thread/rec-mutex/perf/contended1/depth5 756s # End of contended1 tests 756s # Start of contended2 tests 756s # max perf: inf mips 756s ok 15 /thread/rec-mutex/perf/contended2/depth1 756s # max perf: inf mips 756s ok 16 /thread/rec-mutex/perf/contended2/depth2 756s # max perf: inf mips 756s ok 17 /thread/rec-mutex/perf/contended2/depth3 756s # max perf: inf mips 756s ok 18 /thread/rec-mutex/perf/contended2/depth4 756s # max perf: inf mips 756s ok 19 /thread/rec-mutex/perf/contended2/depth5 756s # End of contended2 tests 756s # Start of contended3 tests 756s # max perf: 4.000000 mips 756s ok 20 /thread/rec-mutex/perf/contended3/depth1 756s # max perf: 4.000000 mips 756s ok 21 /thread/rec-mutex/perf/contended3/depth2 756s # max perf: inf mips 756s ok 22 /thread/rec-mutex/perf/contended3/depth3 756s # max perf: 4.000000 mips 756s ok 23 /thread/rec-mutex/perf/contended3/depth4 756s # max perf: 4.000000 mips 756s ok 24 /thread/rec-mutex/perf/contended3/depth5 756s # End of contended3 tests 756s # Start of contended4 tests 756s # max perf: inf mips 756s ok 25 /thread/rec-mutex/perf/contended4/depth1 756s # max perf: inf mips 756s ok 26 /thread/rec-mutex/perf/contended4/depth2 756s # max perf: 5.000000 mips 756s ok 27 /thread/rec-mutex/perf/contended4/depth3 756s # max perf: 5.000000 mips 756s ok 28 /thread/rec-mutex/perf/contended4/depth4 756s # max perf: 2.500000 mips 756s ok 29 /thread/rec-mutex/perf/contended4/depth5 756s # End of contended4 tests 756s # End of perf tests 756s # End of rec-mutex tests 756s # End of thread tests 756s TAP version 14 756s # random seed: R02Sb3fa28304b561131079f4959a36bd26b 756s 1..5 756s # Start of timeout tests 756s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 758s ok 1 /timeout/seconds 758s # slow test /timeout/seconds executed in 2.10 secs 760s ok 2 /timeout/seconds-once 760s # slow test /timeout/seconds-once executed in 2.10 secs 760s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 760s # Executing: glib/timeout.test 762s ok 3 /timeout/weeks-overflow 762s # slow test /timeout/weeks-overflow executed in 2.10 secs 762s ok 4 /timeout/far-future-ready-time 765s # Executing: glib/timeout.test 770s # Executing: glib/timeout.test 772s ok 5 /timeout/rounding 772s # slow test /timeout/rounding executed in 10.04 secs 772s # End of timeout tests 772s ok - glib/timeout.test 772s # Running test: glib/power-profile-monitor.test 772s TAP version 14 772s # random seed: R02Sff7af6178e72813bd5550cb08db5bddb 772s 1..1 772s # Start of power-profile-monitor tests 772s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 772s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’ 772s ok 1 /power-profile-monitor/default 772s # End of power-profile-monitor tests 772s ok - glib/power-profile-monitor.test 772s # Running test: glib/qdata.test 772s TAP version 14 772s # random seed: R02S68b2bf861faa6e2eb2fd5f5ceafa91a7 772s 1..2 772s # Start of qdata tests 772s ok 1 /qdata/threaded 772s ok 2 /qdata/dup 772s # End of qdata tests 772s ok - glib/qdata.test 772s # Running test: glib/regex.test 772s TAP version 14 772s # random seed: R02Sc11ed0960ab0a98fc5a6afe346981c47 772s 1..849 772s # Start of regex tests 772s ok 1 /regex/properties 772s ok 2 /regex/class 772s ok 3 /regex/lookahead 772s ok 4 /regex/lookbehind 772s ok 5 /regex/subpattern 772s ok 6 /regex/condition 772s ok 7 /regex/recursion 772s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 772s ok 8 /regex/multiline 772s ok 9 /regex/explicit-crlf 772s ok 10 /regex/max-lookbehind 772s ok 11 /regex/compile-errors 772s ok 12 /regex/jit-unsupported-matching 772s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 772s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 772s ok 13 /regex/unmatched-named-subpattern 772s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 772s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 772s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 772s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 772s ok 14 /regex/compiled-regex-after-jit-failure 772s # Start of new tests 772s ok 15 /regex/new/1 772s ok 16 /regex/new/2 772s ok 17 /regex/new/3 772s ok 18 /regex/new/4 772s ok 19 /regex/new/5 772s ok 20 /regex/new/6 772s ok 21 /regex/new/7 772s ok 22 /regex/new/8 772s ok 23 /regex/new/9 772s ok 24 /regex/new/10 772s ok 25 /regex/new/11 772s ok 26 /regex/new/12 772s ok 27 /regex/new/13 772s ok 28 /regex/new/14 772s ok 29 /regex/new/15 772s ok 30 /regex/new/16 772s ok 31 /regex/new/17 772s ok 32 /regex/new/18 772s ok 33 /regex/new/19 772s ok 34 /regex/new/71 772s ok 35 /regex/new/81 772s ok 36 /regex/new/83 772s # End of new tests 772s # Start of new-check-flags tests 772s ok 37 /regex/new-check-flags/20 772s ok 38 /regex/new-check-flags/21 772s ok 39 /regex/new-check-flags/22 772s ok 40 /regex/new-check-flags/23 772s ok 41 /regex/new-check-flags/24 772s ok 42 /regex/new-check-flags/25 772s ok 43 /regex/new-check-flags/26 772s ok 44 /regex/new-check-flags/27 772s ok 45 /regex/new-check-flags/28 772s ok 46 /regex/new-check-flags/29 772s ok 47 /regex/new-check-flags/30 772s ok 48 /regex/new-check-flags/31 772s ok 49 /regex/new-check-flags/32 772s ok 50 /regex/new-check-flags/33 772s ok 51 /regex/new-check-flags/34 772s ok 52 /regex/new-check-flags/35 772s ok 53 /regex/new-check-flags/36 772s # End of new-check-flags tests 772s # Start of new-fail tests 772s # Compiling pattern /(/ failed with error: Error while compiling regular expression ‘(’ at char 1: missing terminating ) 772s ok 54 /regex/new-fail/37 772s # Compiling pattern /)/ failed with error: Error while compiling regular expression ‘)’ at char 0: missing terminating ) 772s ok 55 /regex/new-fail/38 772s # Compiling pattern /[/ failed with error: Error while compiling regular expression ‘[’ at char 1: missing terminating ] for character class 772s ok 56 /regex/new-fail/39 772s # Compiling pattern /*/ failed with error: Error while compiling regular expression ‘*’ at char 0: nothing to repeat 772s ok 57 /regex/new-fail/40 772s # Compiling pattern /?/ failed with error: Error while compiling regular expression ‘?’ at char 0: nothing to repeat 772s ok 58 /regex/new-fail/41 772s # Compiling pattern /(?Px)|(?Py)/ failed with error: Error while compiling regular expression ‘(?Px)|(?Py)’ at char 15: two named subpatterns have the same name 772s ok 59 /regex/new-fail/42 772s # Compiling pattern /a\/ failed with error: Error while compiling regular expression ‘a\’ at char 2: \ at end of pattern 772s ok 60 /regex/new-fail/43 772s # Compiling pattern /a\c/ failed with error: Error while compiling regular expression ‘a\c’ at char 3: \c at end of pattern 772s ok 61 /regex/new-fail/44 772s # Compiling pattern /a\l/ failed with error: Error while compiling regular expression ‘a\l’ at char 3: unrecognized character following \ 772s ok 62 /regex/new-fail/45 772s # Compiling pattern /a{4,2}/ failed with error: Error while compiling regular expression ‘a{4,2}’ at char 5: numbers out of order in {} quantifier 772s ok 63 /regex/new-fail/46 772s # Compiling pattern /a{999999,}/ failed with error: Error while compiling regular expression ‘a{999999,}’ at char 8: number too big in {} quantifier 772s ok 64 /regex/new-fail/47 772s # Compiling pattern /[a-z/ failed with error: Error while compiling regular expression ‘[a-z’ at char 4: missing terminating ] for character class 772s ok 65 /regex/new-fail/48 772s # Compiling pattern /[\B]/ failed with error: Error while compiling regular expression ‘[\B]’ at char 2: invalid escape sequence in character class 772s ok 66 /regex/new-fail/49 772s # Compiling pattern /[z-a]/ failed with error: Error while compiling regular expression ‘[z-a]’ at char 3: range out of order in character class 772s ok 67 /regex/new-fail/50 772s # Compiling pattern /^[[:alnum:]-_.]+$/ failed with error: Error while compiling regular expression ‘^[[:alnum:]-_.]+$’ at char 12: invalid range in character class 772s ok 68 /regex/new-fail/51 772s # Compiling pattern /{2,4}/ failed with error: Error while compiling regular expression ‘{2,4}’ at char 4: nothing to repeat 772s ok 69 /regex/new-fail/52 772s # Compiling pattern /a(?u)/ failed with error: Error while compiling regular expression ‘a(?u)’ at char 3: unrecognized character after (? or (?- 772s ok 70 /regex/new-fail/53 772s # Compiling pattern /a(?<$foo)bar/ failed with error: Error while compiling regular expression ‘a(?<$foo)bar’ at char 4: missing subpattern name after (?& 772s ok 71 /regex/new-fail/54 772s # Compiling pattern /a[:alpha:]b/ failed with error: Error while compiling regular expression ‘a[:alpha:]b’ at char 1: POSIX named classes are supported only within a class 772s ok 72 /regex/new-fail/55 772s # Compiling pattern /a(b/ failed with error: Error while compiling regular expression ‘a(b’ at char 3: missing terminating ) 772s ok 73 /regex/new-fail/56 772s # Compiling pattern /a)b/ failed with error: Error while compiling regular expression ‘a)b’ at char 1: missing terminating ) 772s ok 74 /regex/new-fail/57 772s # Compiling pattern /a(?R/ failed with error: Error while compiling regular expression ‘a(?R’ at char 4: missing terminating ) 772s ok 75 /regex/new-fail/58 772s # Compiling pattern /a(?-54/ failed with error: Error while compiling regular expression ‘a(?-54’ at char 6: reference to non-existent subpattern 772s ok 76 /regex/new-fail/59 772s # Compiling pattern /(ab\2)/ failed with error: Error while compiling regular expression ‘(ab\2)’ at char 4: reference to non-existent subpattern 772s ok 77 /regex/new-fail/60 772s # Compiling pattern /a(?#abc/ failed with error: Error while compiling regular expression ‘a(?#abc’ at char 7: missing ) after comment 772s ok 78 /regex/new-fail/61 772s # Compiling pattern /(?<=a+)b/ failed with error: Error while compiling regular expression ‘(?<=a+)b’ at char 0: lookbehind assertion is not fixed length 772s ok 79 /regex/new-fail/62 772s # Compiling pattern /(?(1?)a|b)/ failed with error: Error while compiling regular expression ‘(?(1?)a|b)’ at char 4: malformed number or name after (?( 772s ok 80 /regex/new-fail/63 772s # Compiling pattern /(a)(?(1)a|b|c)/ failed with error: Error while compiling regular expression ‘(a)(?(1)a|b|c)’ at char 3: conditional group contains more than two branches 772s ok 81 /regex/new-fail/64 772s # Compiling pattern /(?(?i))/ failed with error: Error while compiling regular expression ‘(?(?i))’ at char 2: assertion expected after (?( 772s ok 82 /regex/new-fail/65 772s # Compiling pattern /a[[:fubar:]]b/ failed with error: Error while compiling regular expression ‘a[[:fubar:]]b’ at char 11: unknown POSIX class name 772s ok 83 /regex/new-fail/66 772s # Compiling pattern /[[.ch.]]/ failed with error: Error while compiling regular expression ‘[[.ch.]]’ at char 7: POSIX collating elements are not supported 772s ok 84 /regex/new-fail/67 772s # Compiling pattern /\x{110000}/ failed with error: Error while compiling regular expression ‘\x{110000}’ at char 9: character value in \x{...} sequence is too large 772s ok 85 /regex/new-fail/68 772s # Compiling pattern /^(?(0)f|b)oo/ failed with error: Error while compiling regular expression ‘^(?(0)f|b)oo’ at char 5: reference to non-existent subpattern 772s ok 86 /regex/new-fail/69 772s # Compiling pattern /(?<=\C)X/ failed with error: Error while compiling regular expression ‘(?<=\C)X’ at char 0: \C not allowed in lookbehind assertion 772s ok 87 /regex/new-fail/70 772s # Compiling pattern /(?(?foo)\gfoo)\geks)(?Peccs)/ failed with error: Error while compiling regular expression ‘(?Peks)(?Peccs)’ at char 16: two named subpatterns have the same name 772s ok 90 /regex/new-fail/74 772s # Compiling pattern /\666/ failed with error: Error while compiling regular expression ‘\666’ at char 4: octal value is greater than \377 772s ok 91 /regex/new-fail/75 772s # Compiling pattern /^(?(DEFINE) abc | xyz ) / failed with error: Error while compiling regular expression ‘^(?(DEFINE) abc | xyz ) ’ at char 4: DEFINE group contains more than one branch 772s ok 92 /regex/new-fail/76 772s # Compiling pattern /a/ failed with error: Invalid newline flags 772s ok 93 /regex/new-fail/77 772s # Compiling pattern /^(a)\g"3/ failed with error: Error while compiling regular expression ‘^(a)\g"3’ at char 6: \g is not followed by a braced, angle-bracketed, or quoted name or number, or by a plain number 772s ok 94 /regex/new-fail/78 772s # Compiling pattern /^(a)\g{3/ failed with error: Error while compiling regular expression ‘^(a)\g{3’ at char 6: \g is not followed by a braced, angle-bracketed, or quoted name or number, or by a plain number 772s ok 95 /regex/new-fail/79 772s # Compiling pattern /^(a)\g{0}/ failed with error: Error while compiling regular expression ‘^(a)\g{0}’ at char 9: reference to non-existent subpattern 772s ok 96 /regex/new-fail/80 772s # Compiling pattern /a(*FOOBAR)b/ failed with error: Error while compiling regular expression ‘a(*FOOBAR)b’ at char 9: (*VERB) not recognized 772s ok 97 /regex/new-fail/82 772s # Compiling pattern /(?)(?&)/ failed with error: Error while compiling regular expression ‘(?)(?&)’ at char 9: missing subpattern name after (?& 772s ok 98 /regex/new-fail/84 772s # Compiling pattern /(?+-a)/ failed with error: Error while compiling regular expression ‘(?+-a)’ at char 2: a numbered reference must not be zero 772s ok 99 /regex/new-fail/85 772s # Compiling pattern /(?|(?A)|(?B))/ failed with error: Error while compiling regular expression ‘(?|(?A)|(?B))’ at char 16: different names for subpatterns of the same number are not allowed 772s ok 100 /regex/new-fail/86 772s # Compiling pattern /a(*MARK)b/ failed with error: Error while compiling regular expression ‘a(*MARK)b’ at char 7: (*MARK) must have an argument 772s ok 101 /regex/new-fail/87 772s # Compiling pattern /^\c€/ failed with error: Error while compiling regular expression ‘^\c€’ at char 3: \c must be followed by an ASCII character 772s ok 102 /regex/new-fail/88 772s # Compiling pattern /\k/ failed with error: Error while compiling regular expression ‘\k’ at char 2: \k is not followed by a braced, angle-bracketed, or quoted name 772s ok 103 /regex/new-fail/89 772s # Compiling pattern /a[\NB]c/ failed with error: Error while compiling regular expression ‘a[\NB]c’ at char 4: \N is not supported in a class 772s ok 104 /regex/new-fail/90 772s # Compiling pattern /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEFG)XX/ failed with error: Error while compiling regular expression ‘(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEFG)XX’ at char 260: name is too long in (*MARK), (*PRUNE), (*SKIP), or (*THEN) 772s ok 105 /regex/new-fail/91 772s # Compiling pattern /(?i-x)((?:(?i-x)[^\x00\t\n\f\r "'/<=>\x{007F}-\x{009F}\x{FDD0}-\x{FDEF}\x{FFFE}\x{FFFF}\x{1FFFE}\x{1FFFF}\x{2FFFE}\x{2FFFF}\x{3FFFE}\x{3FFFF}\x{4FFFE}\x{4FFFF}\x{5FFFE}\x{5FFFF}\x{6FFFE}\x{6FFFF}\x{7FFFE}\x{7FFFF}\x{8FFFE}\x{8FFFF}\x{9FFFE}\x{9FFFF}\x{AFFFE}\x{AFFFF}\x{BFFFE}\x{BFFFF}\x{CFFFE}\x{CFFFF}\x{DFFFE}\x{DFFFF}\x{EFFFE}\x{EFFFF}\x{FFFFE}\x{FFFFF}\x{10FFFE}\x{10FFFF}]+)\s*=\s*)(\")/ failed with error: Error while compiling regular expression ‘(?i-x)((?:(?i-x)[^\x00\t\n\f\r "'/<=>\x{007F}-\x{009F}\x{FDD0}-\x{FDEF}\x{FFFE}\x{FFFF}\x{1FFFE}\x{1FFFF}\x{2FFFE}\x{2FFFF}\x{3FFFE}\x{3FFFF}\x{4FFFE}\x{4FFFF}\x{5FFFE}\x{5FFFF}\x{6FFFE}\x{6FFFF}\x{7FFFE}\x{7FFFF}\x{8FFFE}\x{8FFFF}\x{9FFFE}\x{9FFFF}\x{AFFFE}\x{AFFFF}\x{BFFFE}\x{BFFFF}\x{CFFFE}\x{CFFFF}\x{DFFFE}\x{DFFFF}\x{EFFFE}\x{EFFFF}\x{FFFFE}\x{FFFFF}\x{10FFFE}\x{10FFFF}]+)\s*=\s*)(\")’ at char 61: character value in \x{...} sequence is too large 772s ok 106 /regex/new-fail/92 772s # End of new-fail tests 772s # Start of match-simple tests 772s ok 107 /regex/match-simple/93 772s ok 108 /regex/match-simple/94 772s ok 109 /regex/match-simple/95 772s ok 110 /regex/match-simple/96 772s ok 111 /regex/match-simple/97 772s ok 112 /regex/match-simple/98 772s ok 113 /regex/match-simple/99 772s ok 114 /regex/match-simple/100 772s ok 115 /regex/match-simple/101 772s ok 116 /regex/match-simple/102 772s ok 117 /regex/match-simple/103 772s ok 118 /regex/match-simple/104 772s ok 119 /regex/match-simple/105 772s ok 120 /regex/match-simple/106 772s ok 121 /regex/match-simple/107 772s ok 122 /regex/match-simple/108 772s ok 123 /regex/match-simple/109 772s ok 124 /regex/match-simple/110 772s ok 125 /regex/match-simple/111 772s ok 126 /regex/match-simple/112 772s ok 127 /regex/match-simple/113 772s ok 128 /regex/match-simple/114 772s ok 129 /regex/match-simple/115 772s ok 130 /regex/match-simple/116 772s ok 131 /regex/match-simple/117 772s ok 132 /regex/match-simple/118 772s ok 133 /regex/match-simple/119 772s ok 134 /regex/match-simple/120 772s ok 135 /regex/match-simple/121 772s ok 136 /regex/match-simple/122 772s ok 137 /regex/match-simple/123 772s ok 138 /regex/match-simple/124 772s ok 139 /regex/match-simple/125 772s ok 140 /regex/match-simple/126 772s ok 141 /regex/match-simple/127 772s ok 142 /regex/match-simple/128 772s ok 143 /regex/match-simple/129 772s ok 144 /regex/match-simple/130 772s ok 145 /regex/match-simple/131 772s ok 146 /regex/match-simple/132 772s ok 147 /regex/match-simple/133 772s ok 148 /regex/match-simple/134 772s ok 149 /regex/match-simple/135 772s ok 150 /regex/match-simple/136 772s ok 151 /regex/match-simple/137 772s ok 152 /regex/match-simple/138 772s ok 153 /regex/match-simple/139 772s ok 154 /regex/match-simple/140 772s ok 155 /regex/match-simple/141 772s ok 156 /regex/match-simple/142 772s ok 157 /regex/match-simple/143 772s ok 158 /regex/match-simple/144 772s ok 159 /regex/match-simple/145 772s ok 160 /regex/match-simple/146 772s ok 161 /regex/match-simple/147 772s ok 162 /regex/match-simple/148 772s ok 163 /regex/match-simple/149 772s ok 164 /regex/match-simple/150 772s ok 165 /regex/match-simple/151 772s ok 166 /regex/match-simple/152 772s ok 167 /regex/match-simple/153 772s ok 168 /regex/match-simple/154 772s ok 169 /regex/match-simple/155 772s ok 170 /regex/match-simple/156 772s ok 171 /regex/match-simple/157 772s ok 172 /regex/match-simple/158 772s ok 173 /regex/match-simple/159 772s ok 174 /regex/match-simple/160 772s ok 175 /regex/match-simple/161 772s ok 176 /regex/match-simple/162 772s ok 177 /regex/match-simple/163 772s ok 178 /regex/match-simple/164 772s ok 179 /regex/match-simple/165 772s # End of match-simple tests 772s # Start of match-simple-optimized tests 772s ok 180 /regex/match-simple-optimized/93 772s ok 181 /regex/match-simple-optimized/94 772s ok 182 /regex/match-simple-optimized/95 772s ok 183 /regex/match-simple-optimized/96 772s ok 184 /regex/match-simple-optimized/97 772s ok 185 /regex/match-simple-optimized/98 772s ok 186 /regex/match-simple-optimized/99 772s ok 187 /regex/match-simple-optimized/100 772s ok 188 /regex/match-simple-optimized/101 772s ok 189 /regex/match-simple-optimized/102 772s ok 190 /regex/match-simple-optimized/103 772s ok 191 /regex/match-simple-optimized/104 772s ok 192 /regex/match-simple-optimized/105 772s ok 193 /regex/match-simple-optimized/106 772s ok 194 /regex/match-simple-optimized/107 772s ok 195 /regex/match-simple-optimized/108 772s ok 196 /regex/match-simple-optimized/109 772s ok 197 /regex/match-simple-optimized/110 772s ok 198 /regex/match-simple-optimized/111 772s ok 199 /regex/match-simple-optimized/112 772s ok 200 /regex/match-simple-optimized/113 772s ok 201 /regex/match-simple-optimized/114 772s ok 202 /regex/match-simple-optimized/115 772s ok 203 /regex/match-simple-optimized/116 772s ok 204 /regex/match-simple-optimized/117 772s ok 205 /regex/match-simple-optimized/118 772s ok 206 /regex/match-simple-optimized/119 772s ok 207 /regex/match-simple-optimized/120 772s ok 208 /regex/match-simple-optimized/121 772s ok 209 /regex/match-simple-optimized/122 772s ok 210 /regex/match-simple-optimized/123 772s ok 211 /regex/match-simple-optimized/124 772s ok 212 /regex/match-simple-optimized/125 772s ok 213 /regex/match-simple-optimized/126 772s ok 214 /regex/match-simple-optimized/127 772s ok 215 /regex/match-simple-optimized/128 772s ok 216 /regex/match-simple-optimized/129 772s ok 217 /regex/match-simple-optimized/130 772s ok 218 /regex/match-simple-optimized/131 772s ok 219 /regex/match-simple-optimized/132 772s ok 220 /regex/match-simple-optimized/133 772s ok 221 /regex/match-simple-optimized/134 772s ok 222 /regex/match-simple-optimized/135 772s ok 223 /regex/match-simple-optimized/136 772s ok 224 /regex/match-simple-optimized/137 772s ok 225 /regex/match-simple-optimized/138 772s ok 226 /regex/match-simple-optimized/139 772s ok 227 /regex/match-simple-optimized/140 772s ok 228 /regex/match-simple-optimized/141 772s ok 229 /regex/match-simple-optimized/142 772s ok 230 /regex/match-simple-optimized/143 772s ok 231 /regex/match-simple-optimized/144 772s ok 232 /regex/match-simple-optimized/145 772s ok 233 /regex/match-simple-optimized/146 772s ok 234 /regex/match-simple-optimized/147 772s ok 235 /regex/match-simple-optimized/148 772s ok 236 /regex/match-simple-optimized/149 772s ok 237 /regex/match-simple-optimized/150 772s ok 238 /regex/match-simple-optimized/151 772s ok 239 /regex/match-simple-optimized/152 772s ok 240 /regex/match-simple-optimized/153 772s ok 241 /regex/match-simple-optimized/154 772s ok 242 /regex/match-simple-optimized/155 772s ok 243 /regex/match-simple-optimized/156 772s ok 244 /regex/match-simple-optimized/157 772s ok 245 /regex/match-simple-optimized/158 772s ok 246 /regex/match-simple-optimized/159 772s ok 247 /regex/match-simple-optimized/160 772s ok 248 /regex/match-simple-optimized/161 772s ok 249 /regex/match-simple-optimized/162 772s ok 250 /regex/match-simple-optimized/163 772s ok 251 /regex/match-simple-optimized/164 772s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 772s ok 252 /regex/match-simple-optimized/165 772s # End of match-simple-optimized tests 772s # Start of match tests 772s ok 253 /regex/match/166 772s ok 254 /regex/match/167 772s ok 255 /regex/match/168 772s ok 256 /regex/match/169 772s ok 257 /regex/match/170 772s ok 258 /regex/match/171 772s ok 259 /regex/match/172 772s ok 260 /regex/match/173 772s ok 261 /regex/match/174 772s ok 262 /regex/match/175 772s ok 263 /regex/match/176 772s ok 264 /regex/match/177 772s ok 265 /regex/match/178 772s ok 266 /regex/match/179 772s ok 267 /regex/match/180 772s ok 268 /regex/match/181 772s ok 269 /regex/match/182 772s ok 270 /regex/match/183 772s ok 271 /regex/match/184 772s ok 272 /regex/match/185 772s ok 273 /regex/match/186 772s ok 274 /regex/match/187 772s ok 275 /regex/match/188 772s ok 276 /regex/match/189 772s ok 277 /regex/match/190 772s ok 278 /regex/match/191 772s ok 279 /regex/match/192 772s ok 280 /regex/match/193 772s ok 281 /regex/match/194 772s ok 282 /regex/match/195 772s ok 283 /regex/match/196 772s ok 284 /regex/match/197 772s ok 285 /regex/match/198 772s ok 286 /regex/match/199 772s ok 287 /regex/match/200 772s ok 288 /regex/match/201 772s ok 289 /regex/match/202 772s ok 290 /regex/match/203 772s ok 291 /regex/match/204 772s ok 292 /regex/match/205 772s ok 293 /regex/match/206 772s ok 294 /regex/match/207 772s ok 295 /regex/match/208 772s ok 296 /regex/match/209 772s ok 297 /regex/match/210 772s ok 298 /regex/match/211 772s ok 299 /regex/match/212 772s ok 300 /regex/match/213 772s ok 301 /regex/match/214 772s ok 302 /regex/match/215 772s ok 303 /regex/match/216 772s ok 304 /regex/match/217 772s ok 305 /regex/match/218 772s ok 306 /regex/match/219 772s ok 307 /regex/match/220 772s ok 308 /regex/match/221 772s ok 309 /regex/match/222 772s ok 310 /regex/match/223 772s ok 311 /regex/match/224 772s ok 312 /regex/match/225 772s ok 313 /regex/match/226 772s ok 314 /regex/match/227 772s ok 315 /regex/match/228 772s ok 316 /regex/match/229 772s ok 317 /regex/match/230 772s ok 318 /regex/match/231 772s ok 319 /regex/match/232 772s ok 320 /regex/match/233 772s ok 321 /regex/match/234 772s ok 322 /regex/match/235 772s ok 323 /regex/match/236 772s ok 324 /regex/match/237 772s ok 325 /regex/match/238 772s ok 326 /regex/match/239 772s ok 327 /regex/match/240 772s ok 328 /regex/match/241 772s ok 329 /regex/match/242 772s ok 330 /regex/match/243 772s ok 331 /regex/match/244 772s ok 332 /regex/match/245 772s ok 333 /regex/match/246 772s ok 334 /regex/match/247 772s ok 335 /regex/match/partial282 772s ok 336 /regex/match/partial283 772s ok 337 /regex/match/partial284 772s ok 338 /regex/match/partial285 772s ok 339 /regex/match/partial286 772s ok 340 /regex/match/partial287 772s ok 341 /regex/match/partial288 772s ok 342 /regex/match/partial289 772s ok 343 /regex/match/partial290 772s ok 344 /regex/match/partial291 772s ok 345 /regex/match/partial292 772s ok 346 /regex/match/partial293 772s ok 347 /regex/match/partial294 772s ok 348 /regex/match/partial295 772s ok 349 /regex/match/partial296 772s ok 350 /regex/match/partial297 772s ok 351 /regex/match/partial298 772s ok 352 /regex/match/partial299 772s ok 353 /regex/match/partial300 772s ok 354 /regex/match/partial301 772s ok 355 /regex/match/partial302 772s ok 356 /regex/match/partial303 772s # Start of next0 tests 772s ok 357 /regex/match/next0/248 772s ok 358 /regex/match/next0/249 772s ok 359 /regex/match/next0/250 772s ok 360 /regex/match/next0/251 772s # End of next0 tests 772s # Start of next1 tests 772s ok 361 /regex/match/next1/252 772s ok 362 /regex/match/next1/253 772s ok 363 /regex/match/next1/254 772s ok 364 /regex/match/next1/255 772s ok 365 /regex/match/next1/256 772s # End of next1 tests 772s # Start of next2 tests 772s ok 366 /regex/match/next2/257 772s ok 367 /regex/match/next2/258 772s ok 368 /regex/match/next2/259 772s ok 369 /regex/match/next2/260 772s ok 370 /regex/match/next2/261 772s ok 371 /regex/match/next2/262 772s ok 372 /regex/match/next2/263 772s ok 373 /regex/match/next2/264 772s # End of next2 tests 772s # Start of next3 tests 772s ok 374 /regex/match/next3/265 772s ok 375 /regex/match/next3/266 772s ok 376 /regex/match/next3/267 772s ok 377 /regex/match/next3/268 772s ok 378 /regex/match/next3/269 772s ok 379 /regex/match/next3/270 772s # End of next3 tests 772s # Start of next4 tests 772s ok 380 /regex/match/next4/271 772s # End of next4 tests 772s # Start of count tests 772s ok 381 /regex/match/count/272 772s ok 382 /regex/match/count/273 772s ok 383 /regex/match/count/274 772s ok 384 /regex/match/count/275 772s ok 385 /regex/match/count/276 772s ok 386 /regex/match/count/277 772s ok 387 /regex/match/count/278 772s ok 388 /regex/match/count/279 772s ok 389 /regex/match/count/280 772s ok 390 /regex/match/count/281 772s # End of count tests 772s # Start of count-optimized tests 772s ok 391 /regex/match/count-optimized/272 772s ok 392 /regex/match/count-optimized/273 772s ok 393 /regex/match/count-optimized/274 772s ok 394 /regex/match/count-optimized/275 772s ok 395 /regex/match/count-optimized/276 772s ok 396 /regex/match/count-optimized/277 772s ok 397 /regex/match/count-optimized/278 772s ok 398 /regex/match/count-optimized/279 772s ok 399 /regex/match/count-optimized/280 772s ok 400 /regex/match/count-optimized/281 772s # End of count-optimized tests 772s # Start of partial-optimized tests 772s ok 401 /regex/match/partial-optimized/282 772s ok 402 /regex/match/partial-optimized/283 772s ok 403 /regex/match/partial-optimized/284 772s ok 404 /regex/match/partial-optimized/285 772s ok 405 /regex/match/partial-optimized/286 772s ok 406 /regex/match/partial-optimized/287 772s ok 407 /regex/match/partial-optimized/288 772s ok 408 /regex/match/partial-optimized/289 772s ok 409 /regex/match/partial-optimized/290 772s ok 410 /regex/match/partial-optimized/291 772s ok 411 /regex/match/partial-optimized/292 772s ok 412 /regex/match/partial-optimized/293 772s ok 413 /regex/match/partial-optimized/294 772s ok 414 /regex/match/partial-optimized/295 772s ok 415 /regex/match/partial-optimized/296 772s ok 416 /regex/match/partial-optimized/297 772s ok 417 /regex/match/partial-optimized/298 772s ok 418 /regex/match/partial-optimized/299 772s ok 419 /regex/match/partial-optimized/300 772s ok 420 /regex/match/partial-optimized/301 772s ok 421 /regex/match/partial-optimized/302 772s ok 422 /regex/match/partial-optimized/303 772s # End of partial-optimized tests 772s # Start of subpattern tests 772s ok 423 /regex/match/subpattern/304 772s ok 424 /regex/match/subpattern/305 772s ok 425 /regex/match/subpattern/306 772s ok 426 /regex/match/subpattern/307 772s ok 427 /regex/match/subpattern/308 772s ok 428 /regex/match/subpattern/309 772s ok 429 /regex/match/subpattern/310 772s ok 430 /regex/match/subpattern/311 772s ok 431 /regex/match/subpattern/312 772s ok 432 /regex/match/subpattern/313 772s ok 433 /regex/match/subpattern/314 772s ok 434 /regex/match/subpattern/315 772s ok 435 /regex/match/subpattern/316 772s # Start of named tests 772s # Start of dupnames tests 772s ok 436 /regex/match/subpattern/named/dupnames/326 772s ok 437 /regex/match/subpattern/named/dupnames/327 772s ok 438 /regex/match/subpattern/named/dupnames/328 772s ok 439 /regex/match/subpattern/named/dupnames/329 772s ok 440 /regex/match/subpattern/named/dupnames/330 772s # End of dupnames tests 772s # End of named tests 772s # End of subpattern tests 772s # Start of subpattern-optimized tests 772s ok 441 /regex/match/subpattern-optimized/304 772s ok 442 /regex/match/subpattern-optimized/305 772s ok 443 /regex/match/subpattern-optimized/306 772s ok 444 /regex/match/subpattern-optimized/307 772s ok 445 /regex/match/subpattern-optimized/308 772s ok 446 /regex/match/subpattern-optimized/309 772s ok 447 /regex/match/subpattern-optimized/310 772s ok 448 /regex/match/subpattern-optimized/311 772s ok 449 /regex/match/subpattern-optimized/312 772s ok 450 /regex/match/subpattern-optimized/313 772s ok 451 /regex/match/subpattern-optimized/314 772s ok 452 /regex/match/subpattern-optimized/315 772s ok 453 /regex/match/subpattern-optimized/316 772s # End of subpattern-optimized tests 772s # Start of named tests 772s # Start of subpattern tests 772s ok 454 /regex/match/named/subpattern/317 772s ok 455 /regex/match/named/subpattern/318 772s ok 456 /regex/match/named/subpattern/319 772s ok 457 /regex/match/named/subpattern/320 772s ok 458 /regex/match/named/subpattern/321 772s ok 459 /regex/match/named/subpattern/322 772s ok 460 /regex/match/named/subpattern/323 772s ok 461 /regex/match/named/subpattern/324 772s ok 462 /regex/match/named/subpattern/325 772s ok 463 /regex/match/named/subpattern/331 772s ok 464 /regex/match/named/subpattern/332 772s ok 465 /regex/match/named/subpattern/333 772s ok 466 /regex/match/named/subpattern/334 772s ok 467 /regex/match/named/subpattern/335 772s # End of subpattern tests 772s # End of named tests 772s # End of match tests 772s # Start of match-optimized tests 772s ok 468 /regex/match-optimized/166 772s ok 469 /regex/match-optimized/167 772s ok 470 /regex/match-optimized/168 772s ok 471 /regex/match-optimized/169 772s ok 472 /regex/match-optimized/170 772s ok 473 /regex/match-optimized/171 772s ok 474 /regex/match-optimized/172 772s ok 475 /regex/match-optimized/173 772s ok 476 /regex/match-optimized/174 772s ok 477 /regex/match-optimized/175 772s ok 478 /regex/match-optimized/176 772s ok 479 /regex/match-optimized/177 772s ok 480 /regex/match-optimized/178 772s ok 481 /regex/match-optimized/179 772s ok 482 /regex/match-optimized/180 772s ok 483 /regex/match-optimized/181 772s ok 484 /regex/match-optimized/182 772s ok 485 /regex/match-optimized/183 772s ok 486 /regex/match-optimized/184 772s ok 487 /regex/match-optimized/185 772s ok 488 /regex/match-optimized/186 772s ok 489 /regex/match-optimized/187 772s ok 490 /regex/match-optimized/188 772s ok 491 /regex/match-optimized/189 772s ok 492 /regex/match-optimized/190 772s ok 493 /regex/match-optimized/191 772s ok 494 /regex/match-optimized/192 772s ok 495 /regex/match-optimized/193 772s ok 496 /regex/match-optimized/194 772s ok 497 /regex/match-optimized/195 772s ok 498 /regex/match-optimized/196 772s ok 499 /regex/match-optimized/197 772s ok 500 /regex/match-optimized/198 772s ok 501 /regex/match-optimized/199 772s ok 502 /regex/match-optimized/200 772s ok 503 /regex/match-optimized/201 772s ok 504 /regex/match-optimized/202 772s ok 505 /regex/match-optimized/203 772s ok 506 /regex/match-optimized/204 772s ok 507 /regex/match-optimized/205 772s ok 508 /regex/match-optimized/206 772s ok 509 /regex/match-optimized/207 772s ok 510 /regex/match-optimized/208 772s ok 511 /regex/match-optimized/209 772s ok 512 /regex/match-optimized/210 772s ok 513 /regex/match-optimized/211 772s ok 514 /regex/match-optimized/212 772s ok 515 /regex/match-optimized/213 772s ok 516 /regex/match-optimized/214 772s ok 517 /regex/match-optimized/215 772s ok 518 /regex/match-optimized/216 772s ok 519 /regex/match-optimized/217 772s ok 520 /regex/match-optimized/218 772s ok 521 /regex/match-optimized/219 772s ok 522 /regex/match-optimized/220 772s ok 523 /regex/match-optimized/221 772s ok 524 /regex/match-optimized/222 772s ok 525 /regex/match-optimized/223 772s ok 526 /regex/match-optimized/224 772s ok 527 /regex/match-optimized/225 772s ok 528 /regex/match-optimized/226 772s ok 529 /regex/match-optimized/227 772s ok 530 /regex/match-optimized/228 772s ok 531 /regex/match-optimized/229 772s ok 532 /regex/match-optimized/230 772s ok 533 /regex/match-optimized/231 772s ok 534 /regex/match-optimized/232 772s ok 535 /regex/match-optimized/233 772s ok 536 /regex/match-optimized/234 772s ok 537 /regex/match-optimized/235 772s ok 538 /regex/match-optimized/236 772s ok 539 /regex/match-optimized/237 772s ok 540 /regex/match-optimized/238 772s ok 541 /regex/match-optimized/239 772s ok 542 /regex/match-optimized/240 772s ok 543 /regex/match-optimized/241 772s ok 544 /regex/match-optimized/242 772s ok 545 /regex/match-optimized/243 772s ok 546 /regex/match-optimized/244 772s ok 547 /regex/match-optimized/245 772s ok 548 /regex/match-optimized/246 772s ok 549 /regex/match-optimized/247 772s # End of match-optimized tests 772s # Start of fetch-all0 tests 772s ok 550 /regex/fetch-all0/336 772s ok 551 /regex/fetch-all0/337 772s # End of fetch-all0 tests 772s # Start of fetch-all1 tests 772s ok 552 /regex/fetch-all1/338 772s ok 553 /regex/fetch-all1/339 772s ok 554 /regex/fetch-all1/340 772s # End of fetch-all1 tests 772s # Start of fetch-all2 tests 772s ok 555 /regex/fetch-all2/341 772s ok 556 /regex/fetch-all2/342 772s ok 557 /regex/fetch-all2/343 772s # End of fetch-all2 tests 772s # Start of fetch-all3 tests 772s ok 558 /regex/fetch-all3/344 772s ok 559 /regex/fetch-all3/345 772s ok 560 /regex/fetch-all3/346 772s ok 561 /regex/fetch-all3/347 772s ok 562 /regex/fetch-all3/348 772s # End of fetch-all3 tests 772s # Start of split tests 772s # Start of simple0 tests 772s ok 563 /regex/split/simple0/349 772s ok 564 /regex/split/simple0/350 772s ok 565 /regex/split/simple0/365 772s ok 566 /regex/split/simple0/366 772s # End of simple0 tests 772s # Start of simple1 tests 772s ok 567 /regex/split/simple1/351 772s ok 568 /regex/split/simple1/352 772s # End of simple1 tests 772s # Start of simple2 tests 772s ok 569 /regex/split/simple2/353 772s ok 570 /regex/split/simple2/359 772s ok 571 /regex/split/simple2/361 772s # End of simple2 tests 772s # Start of simple3 tests 772s ok 572 /regex/split/simple3/354 772s ok 573 /regex/split/simple3/355 772s ok 574 /regex/split/simple3/356 772s ok 575 /regex/split/simple3/357 772s ok 576 /regex/split/simple3/358 772s ok 577 /regex/split/simple3/360 772s ok 578 /regex/split/simple3/362 772s ok 579 /regex/split/simple3/363 772s ok 580 /regex/split/simple3/364 772s # End of simple3 tests 772s # End of split tests 772s # Start of split0 tests 772s ok 581 /regex/split0/367 772s ok 582 /regex/split0/369 772s # End of split0 tests 772s # Start of full-split0 tests 772s ok 583 /regex/full-split0/368 772s ok 584 /regex/full-split0/370 772s ok 585 /regex/full-split0/371 772s ok 586 /regex/full-split0/372 772s ok 587 /regex/full-split0/373 772s # End of full-split0 tests 772s # Start of split1 tests 772s ok 588 /regex/split1/374 772s ok 589 /regex/split1/377 772s # End of split1 tests 772s # Start of full-split1 tests 772s ok 590 /regex/full-split1/375 772s ok 591 /regex/full-split1/376 772s ok 592 /regex/full-split1/378 772s ok 593 /regex/full-split1/379 772s ok 594 /regex/full-split1/405 772s # End of full-split1 tests 772s # Start of split2 tests 772s ok 595 /regex/split2/380 772s ok 596 /regex/split2/384 772s ok 597 /regex/split2/396 772s # End of split2 tests 772s # Start of full-split2 tests 772s ok 598 /regex/full-split2/381 772s ok 599 /regex/full-split2/382 772s ok 600 /regex/full-split2/383 772s ok 601 /regex/full-split2/385 772s ok 602 /regex/full-split2/397 772s ok 603 /regex/full-split2/400 772s ok 604 /regex/full-split2/406 772s # End of full-split2 tests 772s # Start of split3 tests 772s ok 605 /regex/split3/386 772s ok 606 /regex/split3/388 772s ok 607 /regex/split3/390 772s ok 608 /regex/split3/392 772s ok 609 /regex/split3/394 772s ok 610 /regex/split3/398 772s ok 611 /regex/split3/401 772s ok 612 /regex/split3/403 772s # End of split3 tests 772s # Start of full-split3 tests 772s ok 613 /regex/full-split3/387 772s ok 614 /regex/full-split3/389 772s ok 615 /regex/full-split3/391 772s ok 616 /regex/full-split3/393 772s ok 617 /regex/full-split3/395 772s ok 618 /regex/full-split3/399 772s ok 619 /regex/full-split3/402 772s ok 620 /regex/full-split3/404 772s ok 621 /regex/full-split3/407 772s ok 622 /regex/full-split3/408 772s # End of full-split3 tests 772s # Start of check-repacement tests 772s ok 623 /regex/check-repacement/409 772s ok 624 /regex/check-repacement/410 772s ok 625 /regex/check-repacement/411 772s ok 626 /regex/check-repacement/412 772s ok 627 /regex/check-repacement/413 772s ok 628 /regex/check-repacement/414 772s ok 629 /regex/check-repacement/415 772s ok 630 /regex/check-repacement/416 772s # End of check-repacement tests 772s # Start of expand tests 772s ok 631 /regex/expand/417 772s ok 632 /regex/expand/418 772s ok 633 /regex/expand/419 772s ok 634 /regex/expand/420 772s ok 635 /regex/expand/421 772s ok 636 /regex/expand/422 772s ok 637 /regex/expand/423 772s ok 638 /regex/expand/424 772s ok 639 /regex/expand/425 772s ok 640 /regex/expand/426 772s ok 641 /regex/expand/427 772s ok 642 /regex/expand/428 772s ok 643 /regex/expand/429 772s ok 644 /regex/expand/430 772s ok 645 /regex/expand/431 772s ok 646 /regex/expand/432 772s ok 647 /regex/expand/433 772s ok 648 /regex/expand/434 772s ok 649 /regex/expand/435 772s ok 650 /regex/expand/436 772s ok 651 /regex/expand/437 772s ok 652 /regex/expand/438 772s ok 653 /regex/expand/439 772s ok 654 /regex/expand/440 772s ok 655 /regex/expand/441 772s ok 656 /regex/expand/442 772s ok 657 /regex/expand/443 772s ok 658 /regex/expand/444 772s ok 659 /regex/expand/445 772s ok 660 /regex/expand/446 772s ok 661 /regex/expand/447 772s ok 662 /regex/expand/448 772s ok 663 /regex/expand/449 772s ok 664 /regex/expand/450 772s ok 665 /regex/expand/451 772s ok 666 /regex/expand/452 772s ok 667 /regex/expand/453 772s ok 668 /regex/expand/454 772s ok 669 /regex/expand/455 772s ok 670 /regex/expand/456 772s ok 671 /regex/expand/457 772s ok 672 /regex/expand/458 772s ok 673 /regex/expand/459 772s ok 674 /regex/expand/460 772s ok 675 /regex/expand/461 772s ok 676 /regex/expand/462 772s ok 677 /regex/expand/463 772s ok 678 /regex/expand/464 772s ok 679 /regex/expand/465 772s ok 680 /regex/expand/466 772s ok 681 /regex/expand/467 772s ok 682 /regex/expand/468 772s ok 683 /regex/expand/469 772s ok 684 /regex/expand/470 772s ok 685 /regex/expand/471 772s ok 686 /regex/expand/472 772s ok 687 /regex/expand/473 772s ok 688 /regex/expand/474 772s ok 689 /regex/expand/475 772s ok 690 /regex/expand/476 772s ok 691 /regex/expand/477 772s ok 692 /regex/expand/478 772s ok 693 /regex/expand/479 772s ok 694 /regex/expand/480 772s ok 695 /regex/expand/481 772s ok 696 /regex/expand/482 772s # End of expand tests 772s # Start of replace tests 772s ok 697 /regex/replace/483 772s ok 698 /regex/replace/484 772s ok 699 /regex/replace/485 772s ok 700 /regex/replace/486 772s ok 701 /regex/replace/487 772s ok 702 /regex/replace/488 772s ok 703 /regex/replace/489 772s ok 704 /regex/replace/490 772s ok 705 /regex/replace/491 772s ok 706 /regex/replace/492 772s ok 707 /regex/replace/493 772s ok 708 /regex/replace/494 772s ok 709 /regex/replace/495 772s ok 710 /regex/replace/496 772s ok 711 /regex/replace/497 772s ok 712 /regex/replace/498 772s ok 713 /regex/replace/499 772s ok 714 /regex/replace/500 772s ok 715 /regex/replace/501 772s ok 716 /regex/replace/502 772s ok 717 /regex/replace/503 772s ok 718 /regex/replace/504 772s ok 719 /regex/replace/505 772s ok 720 /regex/replace/506 772s ok 721 /regex/replace/507 772s ok 722 /regex/replace/508 772s ok 723 /regex/replace/509 772s ok 724 /regex/replace/510 772s # End of replace tests 772s # Start of replace-optimized tests 772s ok 725 /regex/replace-optimized/483 772s ok 726 /regex/replace-optimized/484 772s ok 727 /regex/replace-optimized/485 772s ok 728 /regex/replace-optimized/486 772s ok 729 /regex/replace-optimized/487 772s ok 730 /regex/replace-optimized/488 772s ok 731 /regex/replace-optimized/489 772s ok 732 /regex/replace-optimized/490 772s ok 733 /regex/replace-optimized/491 772s ok 734 /regex/replace-optimized/492 772s ok 735 /regex/replace-optimized/493 772s ok 736 /regex/replace-optimized/494 772s ok 737 /regex/replace-optimized/495 772s ok 738 /regex/replace-optimized/496 772s ok 739 /regex/replace-optimized/497 772s ok 740 /regex/replace-optimized/498 772s ok 741 /regex/replace-optimized/499 772s ok 742 /regex/replace-optimized/500 772s ok 743 /regex/replace-optimized/501 772s ok 744 /regex/replace-optimized/502 772s ok 745 /regex/replace-optimized/503 772s ok 746 /regex/replace-optimized/504 772s ok 747 /regex/replace-optimized/505 772s ok 748 /regex/replace-optimized/506 772s ok 749 /regex/replace-optimized/507 772s ok 750 /regex/replace-optimized/508 772s ok 751 /regex/replace-optimized/509 772s ok 752 /regex/replace-optimized/510 772s # End of replace-optimized tests 772s # Start of replace-literally tests 772s ok 753 /regex/replace-literally/511 772s ok 754 /regex/replace-literally/512 772s ok 755 /regex/replace-literally/513 772s ok 756 /regex/replace-literally/514 772s ok 757 /regex/replace-literally/515 772s ok 758 /regex/replace-literally/516 772s ok 759 /regex/replace-literally/517 772s ok 760 /regex/replace-literally/518 772s ok 761 /regex/replace-literally/519 772s ok 762 /regex/replace-literally/520 772s ok 763 /regex/replace-literally/521 772s ok 764 /regex/replace-literally/522 772s ok 765 /regex/replace-literally/523 772s ok 766 /regex/replace-literally/524 772s ok 767 /regex/replace-literally/525 772s ok 768 /regex/replace-literally/526 772s ok 769 /regex/replace-literally/527 772s ok 770 /regex/replace-literally/528 772s ok 771 /regex/replace-literally/529 772s ok 772 /regex/replace-literally/530 772s # End of replace-literally tests 772s # Start of string-number tests 772s ok 773 /regex/string-number/531 772s ok 774 /regex/string-number/532 772s ok 775 /regex/string-number/533 772s ok 776 /regex/string-number/534 772s ok 777 /regex/string-number/535 772s ok 778 /regex/string-number/536 772s ok 779 /regex/string-number/537 772s ok 780 /regex/string-number/538 772s ok 781 /regex/string-number/539 772s ok 782 /regex/string-number/540 772s ok 783 /regex/string-number/541 772s ok 784 /regex/string-number/542 772s ok 785 /regex/string-number/543 772s ok 786 /regex/string-number/544 772s ok 787 /regex/string-number/545 772s # End of string-number tests 772s # Start of escape_nul tests 772s ok 788 /regex/escape_nul/546 772s ok 789 /regex/escape_nul/547 772s ok 790 /regex/escape_nul/548 772s ok 791 /regex/escape_nul/549 772s ok 792 /regex/escape_nul/550 772s ok 793 /regex/escape_nul/551 772s ok 794 /regex/escape_nul/552 772s ok - glib/regex.test 772s # Running test: glib/testfilemonitor.test 772s ok - glib/testfilemonitor.test 772s # Running test: glib/assert-msg-test.py.test 772s ok 795 /regex/escape_nul/553 772s ok 796 /regex/escape_nul/554 772s ok 797 /regex/escape_nul/555 772s ok 798 /regex/escape_nul/556 772s ok 799 /regex/escape_nul/557 772s ok 800 /regex/escape_nul/558 772s ok 801 /regex/escape_nul/559 772s ok 802 /regex/escape_nul/560 772s # End of escape_nul tests 772s # Start of escape tests 772s ok 803 /regex/escape/561 772s ok 804 /regex/escape/562 772s ok 805 /regex/escape/563 772s ok 806 /regex/escape/564 772s ok 807 /regex/escape/565 772s ok 808 /regex/escape/566 772s ok 809 /regex/escape/567 772s ok 810 /regex/escape/568 772s ok 811 /regex/escape/569 772s ok 812 /regex/escape/570 772s ok 813 /regex/escape/571 772s ok 814 /regex/escape/572 772s ok 815 /regex/escape/573 772s ok 816 /regex/escape/574 772s ok 817 /regex/escape/575 772s ok 818 /regex/escape/576 772s ok 819 /regex/escape/577 772s ok 820 /regex/escape/578 772s # End of escape tests 772s # Start of match-all0 tests 772s ok 821 /regex/match-all0/579 772s ok 822 /regex/match-all0/581 772s # End of match-all0 tests 772s # Start of match-all-full0 tests 772s ok 823 /regex/match-all-full0/580 772s ok 824 /regex/match-all-full0/582 772s ok 825 /regex/match-all-full0/583 772s ok 826 /regex/match-all-full0/584 772s # End of match-all-full0 tests 772s # Start of match-all1 tests 772s ok 827 /regex/match-all1/585 772s ok 828 /regex/match-all1/587 772s ok 829 /regex/match-all1/592 772s # End of match-all1 tests 772s # Start of match-all-full1 tests 772s ok 830 /regex/match-all-full1/586 772s ok 831 /regex/match-all-full1/588 772s ok 832 /regex/match-all-full1/589 772s ok 833 /regex/match-all-full1/590 772s ok 834 /regex/match-all-full1/591 772s ok 835 /regex/match-all-full1/593 772s # End of match-all-full1 tests 772s # Start of match-all2 tests 772s ok 836 /regex/match-all2/594 772s ok 837 /regex/match-all2/596 772s ok 838 /regex/match-all2/598 772s # End of match-all2 tests 772s # Start of match-all-full2 tests 772s ok 839 /regex/match-all-full2/595 772s ok 840 /regex/match-all-full2/597 772s ok 841 /regex/match-all-full2/599 772s # End of match-all-full2 tests 772s # Start of match-all3 tests 772s ok 842 /regex/match-all3/600 772s ok 843 /regex/match-all3/602 772s # End of match-all3 tests 772s # Start of match-all-full3 tests 772s ok 844 /regex/match-all-full3/601 772s ok 845 /regex/match-all-full3/603 772s # End of match-all-full3 tests 772s # Start of match-notempty tests 772s ok 846 /regex/match-notempty/604 772s # End of match-notempty tests 772s # Start of match-notempty-optimized tests 772s ok 847 /regex/match-notempty-optimized/604 772s # End of match-notempty-optimized tests 772s # Start of match-notempty-atstart tests 772s ok 848 /regex/match-notempty-atstart/605 772s # End of match-notempty-atstart tests 772s # Start of match-notempty-atstart-optimized tests 772s ok 849 /regex/match-notempty-atstart-optimized/605 772s # End of match-notempty-atstart-optimized tests 772s # End of regex tests 772s TAP version 14 772s # random seed: R02Sb3f67a9705d1f5f637d45f14e13e8734 772s 1..8 772s # Start of monitor tests 772s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 772s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 772s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 772s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 772s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 772s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 772s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 772s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 772s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 772s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 772s # Start of file tests 772s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 772s # End of file tests 772s # End of monitor tests 772s TAP version 13 772s ok 1 __main__.TestAssertMessage.test_gassert 772s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 772s # tmpdir: /tmp/tmp0i680mal 772s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 772s # Return code: -6 772s # Output: 772s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 772s # Error: 772s # ** 772s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 772s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 772s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 772s # tmpdir: /tmp/tmp7ix66yn5 772s 1..2 772s ok - glib/assert-msg-test.py.test 772s # Running test: glib/gdbus-connection-loss.test 772s TAP version 14 772s # random seed: R02S760295fa150e691d95fbb7f5513b8d75 772s 1..1 772s # Start of gdbus tests 772s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_2BSIJ3/gdbus/connection-loss/.dirs/home 772s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_2BSIJ3/gdbus/connection-loss/.dirs/cache 772s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_2BSIJ3/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_2BSIJ3/gdbus/connection-loss/.dirs/system-config2 772s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_2BSIJ3/gdbus/connection-loss/.dirs/config 772s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_2BSIJ3/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_2BSIJ3/gdbus/connection-loss/.dirs/system-data2 772s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_2BSIJ3/gdbus/connection-loss/.dirs/data 772s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_2BSIJ3/gdbus/connection-loss/.dirs/state 772s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_2BSIJ3/gdbus/connection-loss/.dirs/runtime 772s ok 1 /gdbus/connection-loss 772s # End of gdbus tests 772s ok - glib/gdbus-connection-loss.test 772s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 772s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 772s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 772s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 772s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 772s # Running test: glib/gdbus-proxy-unique-name.test 772s TAP version 14 772s # random seed: R02Se27cfca6a745ffd7b8c80f14c3cf0581 772s 1..1 772s # Start of gdbus tests 772s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_07THJ3/gdbus/proxy-unique-name/.dirs/home 772s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_07THJ3/gdbus/proxy-unique-name/.dirs/cache 772s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_07THJ3/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_07THJ3/gdbus/proxy-unique-name/.dirs/system-config2 772s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_07THJ3/gdbus/proxy-unique-name/.dirs/config 772s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_07THJ3/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_07THJ3/gdbus/proxy-unique-name/.dirs/system-data2 772s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_07THJ3/gdbus/proxy-unique-name/.dirs/data 772s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_07THJ3/gdbus/proxy-unique-name/.dirs/state 772s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_07THJ3/gdbus/proxy-unique-name/.dirs/runtime 772s ok - glib/gdbus-proxy-unique-name.test 772s # Running test: glib/performance-threaded.test 772s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 772s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 772s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 772s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 772s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 772s ok 1 /gdbus/proxy-unique-name 772s # End of gdbus tests 772s Running test "liststore-is-a" 773s 33732 runs, min/avg/max = 0.028/0.030/0.257 ms 773s Running test "liststore-interface-peek" 774s 57002 runs, min/avg/max = 0.016/0.017/0.238 ms 774s Running test "liststore-interface-peek-same" 775s # Executing: glib/performance-threaded.test 775s 57214 runs, min/avg/max = 0.017/0.017/0.172 ms 775s ok - glib/performance-threaded.test 775s # Running test: glib/data-input-stream.test 775s TAP version 14 775s # random seed: R02S0859a5cd5ffbb39ea4f52101d1a5fbde 775s 1..10 775s # Start of data-input-stream tests 775s ok 1 /data-input-stream/basic 775s ok 2 /data-input-stream/read-lines-LF 775s ok 3 /data-input-stream/read-lines-LF-valid-utf8 775s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 775s ok 5 /data-input-stream/read-lines-CR 775s ok 6 /data-input-stream/read-lines-CR-LF 775s ok 7 /data-input-stream/read-lines-any 775s ok 8 /data-input-stream/read-until 775s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 775s # Test vector 1: {"key": "value"}? and ? 775s ok 9 /data-input-stream/read-upto 775s ok 10 /data-input-stream/read-int 775s # End of data-input-stream tests 775s ok - glib/data-input-stream.test 775s # Running test: glib/types.test 775s ok - glib/types.test 775s TAP version 14 775s # random seed: R02S40c4bc7a9280022c546c5b318e18e444 775s 1..1 775s # Start of types tests 775s ok 1 /types/basic_types 775s # End of types tests 775s # Running test: glib/win32-appinfo.test 775s TAP version 14 775s # random seed: R02Sa5e9643b44719ffa47526d7dfbf3c106 775s 1..5 775s # Start of appinfo tests 775s ok 1 /appinfo/utf16-strfuncs 775s ok 2 /appinfo/win32-extract-executable 775s ok 3 /appinfo/win32-rundll32-fixup 775s ok 4 /appinfo/win32-parse-filename 775s ok 5 /appinfo/win32-utf16-conversion-fail 775s # Start of subprocess tests 775s # End of subprocess tests 775s # End of appinfo tests 775s ok - glib/win32-appinfo.test 775s # Running test: glib/gdbus-test-codegen-old.test 775s TAP version 14 775s # random seed: R02Saae028d1e4ffdc25c922dcb36a8f5c85 775s 1..8 775s # Start of gdbus tests 775s # Start of codegen tests 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/annotations/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/annotations/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/annotations/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/annotations/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/annotations/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/annotations/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/annotations/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/annotations/.dirs/runtime 775s ok 1 /gdbus/codegen/annotations 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/interface_stability/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/interface_stability/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/interface_stability/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/interface_stability/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/interface_stability/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/interface_stability/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/interface_stability/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/interface_stability/.dirs/runtime 775s ok 2 /gdbus/codegen/interface_stability 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/object-manager/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/object-manager/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/object-manager/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/object-manager/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/object-manager/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/object-manager/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/object-manager/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/object-manager/.dirs/runtime 775s ok 3 /gdbus/codegen/object-manager 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/property-naming/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/property-naming/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/property-naming/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/property-naming/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/property-naming/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/property-naming/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/property-naming/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/property-naming/.dirs/runtime 775s ok 4 /gdbus/codegen/property-naming 775s ok - glib/gdbus-test-codegen-old.test 775s # Running test: glib/overflow.test 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/autocleanups/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/autocleanups/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/autocleanups/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/autocleanups/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/autocleanups/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/autocleanups/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/autocleanups/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/autocleanups/.dirs/runtime 775s ok 5 /gdbus/codegen/autocleanups 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/deprecations/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/deprecations/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/deprecations/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/deprecations/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/deprecations/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/deprecations/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/deprecations/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/deprecations/.dirs/runtime 775s ok 6 /gdbus/codegen/deprecations 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/standalone-interface-info/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/standalone-interface-info/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/standalone-interface-info/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/standalone-interface-info/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/standalone-interface-info/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/standalone-interface-info/.dirs/runtime 775s ok 7 /gdbus/codegen/standalone-interface-info 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/unix-fd-list/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/unix-fd-list/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/unix-fd-list/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/unix-fd-list/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/unix-fd-list/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/unix-fd-list/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/unix-fd-list/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_4DDOJ3/gdbus/codegen/unix-fd-list/.dirs/runtime 775s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 775s ok 8 /gdbus/codegen/unix-fd-list 775s # End of codegen tests 775s # End of gdbus tests 775s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 775s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 775s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 775s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 775s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 775s TAP version 14 775s # random seed: R02S914b153e43130725e73129083f342d3a 775s 1..6 775s # Start of glib tests 775s # Start of checked-math tests 775s ok 1 /glib/checked-math/guint-add 775s ok 2 /glib/checked-math/guint-mul 775s ok 3 /glib/checked-math/guint64-add 775s ok 4 /glib/checked-math/guint64-mul 775s ok 5 /glib/checked-math/gsize-add 775s ok 6 /glib/checked-math/gsize-mul 775s # End of checked-math tests 775s # End of glib tests 775s ok - glib/overflow.test 775s # Running test: glib/queue.test 775s TAP version 14 775s # random seed: R02Sbe45abe0154bebfbc66bdcde5ab27f28 775s 1..12 775s # Start of queue tests 775s ok 1 /queue/basic 775s ok 2 /queue/copy 775s ok 3 /queue/off-by-one 775s ok 4 /queue/find-custom 775s ok 5 /queue/static 775s ok 6 /queue/clear 775s ok 7 /queue/free-full 775s ok 8 /queue/clear-full 775s ok 9 /queue/insert-sibling-link 775s ok 10 /queue/push-nth-link 775s # Start of clear-full tests 775s ok 11 /queue/clear-full/noop 775s # End of clear-full tests 775s # Start of random tests 776s ok 12 /queue/random/seed:1311424288 776s # End of random tests 776s # End of queue tests 776s ok - glib/queue.test 776s # Running test: glib/portal-support-env-var.test 776s ok - glib/portal-support-env-var.test 776s TAP version 14 776s # random seed: R02Scd84e06da6f05b7b89d7a25c02bdcff7 776s 1..1 776s # Start of portal-support tests 776s ok 1 /portal-support/env-var 776s # End of portal-support tests 776s # Running test: glib/power-profile-monitor-portal.test 776s TAP version 13 776s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 776s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 776s 1..2 776s ok - glib/power-profile-monitor-portal.test 776s # Running test: glib/utf8-validate.test 776s ok - glib/utf8-validate.test 776s TAP version 14 776s # random seed: R02S9cb1fb69257f0ea423323c1900351453 776s 1..238 776s # Start of utf8 tests 776s # Vector 0 776s # Vector 1 776s # Vector 2 776s # Vector 3 776s # Vector 4 776s # Vector 5 776s # Vector 6 776s # Vector 7 776s # Vector 8 776s # Vector 9 776s # Vector 10 776s # Vector 11 776s # Vector 12 776s # Vector 13 776s # Vector 14 776s # Vector 15 776s # Vector 16 776s # Vector 17 776s # Vector 18 776s # Vector 19 776s # Vector 20 776s # Vector 21 776s # Vector 22 776s # Vector 23 776s # Vector 24 776s # Vector 25 776s # Vector 26 776s # Vector 27 776s ok 1 /utf8/get-char-validated 776s # Start of validate tests 776s ok 2 /utf8/validate/0 776s ok 3 /utf8/validate/1 776s ok 4 /utf8/validate/2 776s ok 5 /utf8/validate/3 776s ok 6 /utf8/validate/4 776s ok 7 /utf8/validate/5 776s ok 8 /utf8/validate/6 776s ok 9 /utf8/validate/7 776s ok 10 /utf8/validate/8 776s ok 11 /utf8/validate/9 776s ok 12 /utf8/validate/10 776s ok 13 /utf8/validate/11 776s ok 14 /utf8/validate/12 776s ok 15 /utf8/validate/13 776s ok 16 /utf8/validate/14 776s ok 17 /utf8/validate/15 776s ok 18 /utf8/validate/16 776s ok 19 /utf8/validate/17 776s ok 20 /utf8/validate/18 776s ok 21 /utf8/validate/19 776s ok 22 /utf8/validate/20 776s ok 23 /utf8/validate/21 776s ok 24 /utf8/validate/22 776s ok 25 /utf8/validate/23 776s ok 26 /utf8/validate/24 776s ok 27 /utf8/validate/25 776s ok 28 /utf8/validate/26 776s ok 29 /utf8/validate/27 776s ok 30 /utf8/validate/28 776s ok 31 /utf8/validate/29 776s ok 32 /utf8/validate/30 776s ok 33 /utf8/validate/31 776s ok 34 /utf8/validate/32 776s ok 35 /utf8/validate/33 776s ok 36 /utf8/validate/34 776s ok 37 /utf8/validate/35 776s ok 38 /utf8/validate/36 776s ok 39 /utf8/validate/37 776s ok 40 /utf8/validate/38 776s ok 41 /utf8/validate/39 776s ok 42 /utf8/validate/40 776s ok 43 /utf8/validate/41 776s ok 44 /utf8/validate/42 776s ok 45 /utf8/validate/43 776s ok 46 /utf8/validate/44 776s ok 47 /utf8/validate/45 776s ok 48 /utf8/validate/46 776s ok 49 /utf8/validate/47 776s ok 50 /utf8/validate/48 776s ok 51 /utf8/validate/49 776s ok 52 /utf8/validate/50 776s ok 53 /utf8/validate/51 776s ok 54 /utf8/validate/52 776s ok 55 /utf8/validate/53 776s ok 56 /utf8/validate/54 776s ok 57 /utf8/validate/55 776s ok 58 /utf8/validate/56 776s ok 59 /utf8/validate/57 776s ok 60 /utf8/validate/58 776s ok 61 /utf8/validate/59 776s ok 62 /utf8/validate/60 776s ok 63 /utf8/validate/61 776s ok 64 /utf8/validate/62 776s ok 65 /utf8/validate/63 776s ok 66 /utf8/validate/64 776s ok 67 /utf8/validate/65 776s ok 68 /utf8/validate/66 776s ok 69 /utf8/validate/67 776s ok 70 /utf8/validate/68 776s ok 71 /utf8/validate/69 776s ok 72 /utf8/validate/70 776s ok 73 /utf8/validate/71 776s ok 74 /utf8/validate/72 776s ok 75 /utf8/validate/73 776s ok 76 /utf8/validate/74 776s ok 77 /utf8/validate/75 776s ok 78 /utf8/validate/76 776s ok 79 /utf8/validate/77 776s ok 80 /utf8/validate/78 776s ok 81 /utf8/validate/79 776s ok 82 /utf8/validate/80 776s ok 83 /utf8/validate/81 776s ok 84 /utf8/validate/82 776s ok 85 /utf8/validate/83 776s ok 86 /utf8/validate/84 776s ok 87 /utf8/validate/85 776s ok 88 /utf8/validate/86 776s ok 89 /utf8/validate/87 776s ok 90 /utf8/validate/88 776s ok 91 /utf8/validate/89 776s ok 92 /utf8/validate/90 776s ok 93 /utf8/validate/91 776s ok 94 /utf8/validate/92 776s ok 95 /utf8/validate/93 776s ok 96 /utf8/validate/94 776s ok 97 /utf8/validate/95 776s ok 98 /utf8/validate/96 776s ok 99 /utf8/validate/97 776s ok 100 /utf8/validate/98 776s ok 101 /utf8/validate/99 776s ok 102 /utf8/validate/100 776s ok 103 /utf8/validate/101 776s ok 104 /utf8/validate/102 776s ok 105 /utf8/validate/103 776s ok 106 /utf8/validate/104 776s ok 107 /utf8/validate/105 776s ok 108 /utf8/validate/106 776s ok 109 /utf8/validate/107 776s ok 110 /utf8/validate/108 776s ok 111 /utf8/validate/109 776s ok 112 /utf8/validate/110 776s ok 113 /utf8/validate/111 776s ok 114 /utf8/validate/112 776s ok 115 /utf8/validate/113 776s ok 116 /utf8/validate/114 776s ok 117 /utf8/validate/115 776s ok 118 /utf8/validate/116 776s ok 119 /utf8/validate/117 776s ok 120 /utf8/validate/118 776s ok 121 /utf8/validate/119 776s ok 122 /utf8/validate/120 776s ok 123 /utf8/validate/121 776s ok 124 /utf8/validate/122 776s ok 125 /utf8/validate/123 776s ok 126 /utf8/validate/124 776s ok 127 /utf8/validate/125 776s ok 128 /utf8/validate/126 776s ok 129 /utf8/validate/127 776s ok 130 /utf8/validate/128 776s ok 131 /utf8/validate/129 776s ok 132 /utf8/validate/130 776s ok 133 /utf8/validate/131 776s ok 134 /utf8/validate/132 776s ok 135 /utf8/validate/133 776s ok 136 /utf8/validate/134 776s ok 137 /utf8/validate/135 776s ok 138 /utf8/validate/136 776s ok 139 /utf8/validate/137 776s ok 140 /utf8/validate/138 776s ok 141 /utf8/validate/139 776s ok 142 /utf8/validate/140 776s ok 143 /utf8/validate/141 776s ok 144 /utf8/validate/142 776s ok 145 /utf8/validate/143 776s ok 146 /utf8/validate/144 776s ok 147 /utf8/validate/145 776s ok 148 /utf8/validate/146 776s ok 149 /utf8/validate/147 776s ok 150 /utf8/validate/148 776s ok 151 /utf8/validate/149 776s ok 152 /utf8/validate/150 776s ok 153 /utf8/validate/151 776s ok 154 /utf8/validate/152 776s ok 155 /utf8/validate/153 776s ok 156 /utf8/validate/154 776s ok 157 /utf8/validate/155 776s ok 158 /utf8/validate/156 776s ok 159 /utf8/validate/157 776s ok 160 /utf8/validate/158 776s ok 161 /utf8/validate/159 776s ok 162 /utf8/validate/160 776s ok 163 /utf8/validate/161 776s ok 164 /utf8/validate/162 776s ok 165 /utf8/validate/163 776s ok 166 /utf8/validate/164 776s ok 167 /utf8/validate/165 776s ok 168 /utf8/validate/166 776s ok 169 /utf8/validate/167 776s ok 170 /utf8/validate/168 776s ok 171 /utf8/validate/169 776s ok 172 /utf8/validate/170 776s ok 173 /utf8/validate/171 776s ok 174 /utf8/validate/172 776s ok 175 /utf8/validate/173 776s ok 176 /utf8/validate/174 776s ok 177 /utf8/validate/175 776s ok 178 /utf8/validate/176 776s ok 179 /utf8/validate/177 776s ok 180 /utf8/validate/178 776s ok 181 /utf8/validate/179 776s ok 182 /utf8/validate/180 776s ok 183 /utf8/validate/181 776s ok 184 /utf8/validate/182 776s ok 185 /utf8/validate/183 776s ok 186 /utf8/validate/184 776s ok 187 /utf8/validate/185 776s ok 188 /utf8/validate/186 776s ok 189 /utf8/validate/187 776s ok 190 /utf8/validate/188 776s ok 191 /utf8/validate/189 776s ok 192 /utf8/validate/190 776s ok 193 /utf8/validate/191 776s ok 194 /utf8/validate/192 776s ok 195 /utf8/validate/193 776s ok 196 /utf8/validate/194 776s ok 197 /utf8/validate/195 776s ok 198 /utf8/validate/196 776s ok 199 /utf8/validate/197 776s ok 200 /utf8/validate/198 776s ok 201 /utf8/validate/199 776s ok 202 /utf8/validate/200 776s ok 203 /utf8/validate/201 776s ok 204 /utf8/validate/202 776s ok 205 /utf8/validate/203 776s ok 206 /utf8/validate/204 776s ok 207 /utf8/validate/205 776s ok 208 /utf8/validate/206 776s ok 209 /utf8/validate/207 776s ok 210 /utf8/validate/208 776s ok 211 /utf8/validate/209 776s ok 212 /utf8/validate/210 776s ok 213 /utf8/validate/211 776s ok 214 /utf8/validate/212 776s ok 215 /utf8/validate/213 776s ok 216 /utf8/validate/214 776s ok 217 /utf8/validate/215 776s ok 218 /utf8/validate/216 776s ok 219 /utf8/validate/217 776s ok 220 /utf8/validate/218 776s ok 221 /utf8/validate/219 776s ok 222 /utf8/validate/220 776s ok 223 /utf8/validate/221 776s ok 224 /utf8/validate/222 776s ok 225 /utf8/validate/223 776s ok 226 /utf8/validate/224 776s ok 227 /utf8/validate/225 776s ok 228 /utf8/validate/226 776s ok 229 /utf8/validate/227 776s ok 230 /utf8/validate/228 776s ok 231 /utf8/validate/229 776s ok 232 /utf8/validate/230 776s ok 233 /utf8/validate/231 776s ok 234 /utf8/validate/232 776s ok 235 /utf8/validate/233 776s ok 236 /utf8/validate/234 776s ok 237 /utf8/validate/235 776s ok 238 /utf8/validate/236 776s # End of validate tests 776s # End of utf8 tests 776s TAP version 14 776s # random seed: R02Sf6778e296bb9270988027742338021f2 776s 1..2 776s # Start of object-info tests 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_ZZY2J3/object-info/find-method-using-interfaces/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_ZZY2J3/object-info/find-method-using-interfaces/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_ZZY2J3/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_ZZY2J3/object-info/find-method-using-interfaces/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_ZZY2J3/object-info/find-method-using-interfaces/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_ZZY2J3/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_ZZY2J3/object-info/find-method-using-interfaces/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_ZZY2J3/object-info/find-method-using-interfaces/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_ZZY2J3/object-info/find-method-using-interfaces/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_ZZY2J3/object-info/find-method-using-interfaces/.dirs/runtime 776s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 776s ok 1 /object-info/find-method-using-interfaces 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_ZZY2J3/object-info/find-vfunc-using-interfaces/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_ZZY2J3/object-info/find-vfunc-using-interfaces/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_ZZY2J3/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_ZZY2J3/object-info/find-vfunc-using-interfaces/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_ZZY2J3/object-info/find-vfunc-using-interfaces/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_ZZY2J3/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_ZZY2J3/object-info/find-vfunc-using-interfaces/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_ZZY2J3/object-info/find-vfunc-using-interfaces/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_ZZY2J3/object-info/find-vfunc-using-interfaces/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_ZZY2J3/object-info/find-vfunc-using-interfaces/.dirs/runtime 776s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 776s ok 2 /object-info/find-vfunc-using-interfaces 776s # End of object-info tests 776s TAP version 14 776s # random seed: R02Sdc2195f6a23f8be4ca4593d99e5b4154 776s 1..7 776s # Start of portal-support tests 776s # Start of snap tests 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/no-snapctl/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/no-snapctl/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_DK30J3/portal-support/snap/no-snapctl/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/no-snapctl/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_DK30J3/portal-support/snap/no-snapctl/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/no-snapctl/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/no-snapctl/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/no-snapctl/.dirs/runtime 776s # Created snap.yaml in /tmp/test_portal-support-snap_DK30J3/meta/snap.yaml 776s # Running test: glib/object-info.test 776s ok - glib/object-info.test 776s # Running test: glib/portal-support-snap.test 776s Unable to clean up temporary directory /tmp/test_portal-support-snap_DK30J3/portal-support/snap/no-snapctl: No such file or directory 776s ok 1 /portal-support/snap/no-snapctl 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/none/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/none/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_DK30J3/portal-support/snap/none/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/none/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_DK30J3/portal-support/snap/none/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/none/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/none/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/none/.dirs/runtime 776s # Created snap.yaml in /tmp/test_portal-support-snap_DK30J3/meta/snap.yaml 776s # Created snapctl in /tmp/test_portal-support-snap_DK30J3/portal-support/snap/none/.dirs/runtime/snapctl 776s Unable to clean up temporary directory /tmp/test_portal-support-snap_DK30J3/portal-support/snap/none: No such file or directory 776s ok 2 /portal-support/snap/none 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/all/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/all/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_DK30J3/portal-support/snap/all/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/all/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_DK30J3/portal-support/snap/all/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/all/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/all/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/all/.dirs/runtime 776s # Created snap.yaml in /tmp/test_portal-support-snap_DK30J3/meta/snap.yaml 776s # Created snapctl in /tmp/test_portal-support-snap_DK30J3/portal-support/snap/all/.dirs/runtime/snapctl 776s Unable to clean up temporary directory /tmp/test_portal-support-snap_DK30J3/portal-support/snap/all: No such file or directory 776s ok 3 /portal-support/snap/all 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/desktop-only/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/desktop-only/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_DK30J3/portal-support/snap/desktop-only/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/desktop-only/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_DK30J3/portal-support/snap/desktop-only/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/desktop-only/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/desktop-only/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/desktop-only/.dirs/runtime 776s # Created snap.yaml in /tmp/test_portal-support-snap_DK30J3/meta/snap.yaml 776s # Created snapctl in /tmp/test_portal-support-snap_DK30J3/portal-support/snap/desktop-only/.dirs/runtime/snapctl 776s Unable to clean up temporary directory /tmp/test_portal-support-snap_DK30J3/portal-support/snap/desktop-only: No such file or directory 776s ok 4 /portal-support/snap/desktop-only 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/network-only/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/network-only/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_DK30J3/portal-support/snap/network-only/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/network-only/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_DK30J3/portal-support/snap/network-only/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/network-only/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/network-only/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/network-only/.dirs/runtime 776s # Created snap.yaml in /tmp/test_portal-support-snap_DK30J3/meta/snap.yaml 776s # Created snapctl in /tmp/test_portal-support-snap_DK30J3/portal-support/snap/network-only/.dirs/runtime/snapctl 776s Unable to clean up temporary directory /tmp/test_portal-support-snap_DK30J3/portal-support/snap/network-only: No such file or directory 776s ok 5 /portal-support/snap/network-only 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/gsettings-only/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/gsettings-only/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_DK30J3/portal-support/snap/gsettings-only/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/gsettings-only/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_DK30J3/portal-support/snap/gsettings-only/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/gsettings-only/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/gsettings-only/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/gsettings-only/.dirs/runtime 776s # Created snap.yaml in /tmp/test_portal-support-snap_DK30J3/meta/snap.yaml 776s # Created snapctl in /tmp/test_portal-support-snap_DK30J3/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 776s Unable to clean up temporary directory /tmp/test_portal-support-snap_DK30J3/portal-support/snap/gsettings-only: No such file or directory 776s ok 6 /portal-support/snap/gsettings-only 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically/.dirs/runtime 776s # Created snap.yaml in /tmp/test_portal-support-snap_DK30J3/meta/snap.yaml 776s # Created snapctl in /tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 776s # Created snapctl in /tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 776s # Created snapctl in /tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 776s # Created snapctl in /tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 776s # Created snapctl in /tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 776s # Created snapctl in /tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 776s # Created snapctl in /tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 776s Unable to clean up temporary directory /tmp/test_portal-support-snap_DK30J3/portal-support/snap/updates-dynamically: No such file or directory 776s ok 7 /portal-support/snap/updates-dynamically 776s # End of snap tests 776s # End of portal-support tests 776s Unable to clean up temporary directory /tmp/test_portal-support-snap_DK30J3: No such file or directory 776s ok - glib/portal-support-snap.test 776s # Running test: glib/field-info.test 776s TAP version 14 776s ok - glib/field-info.test 776s # random seed: R02Sa192fd2a6b1340cdddbbce6338937eb0 776s 1..4 776s # Start of field-info tests 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_HZQ1J3/field-info/basic-struct-field/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_HZQ1J3/field-info/basic-struct-field/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_HZQ1J3/field-info/basic-struct-field/.dirs/system-config1:/tmp/test_field-info_HZQ1J3/field-info/basic-struct-field/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_HZQ1J3/field-info/basic-struct-field/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_HZQ1J3/field-info/basic-struct-field/.dirs/system-data1:/tmp/test_field-info_HZQ1J3/field-info/basic-struct-field/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_HZQ1J3/field-info/basic-struct-field/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_HZQ1J3/field-info/basic-struct-field/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_HZQ1J3/field-info/basic-struct-field/.dirs/runtime 776s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 776s # /field-info/basic-struct-field summary: Test basic properties of a GIFieldInfo from a C struct 776s ok 1 /field-info/basic-struct-field 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_HZQ1J3/field-info/basic-union-field/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_HZQ1J3/field-info/basic-union-field/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_HZQ1J3/field-info/basic-union-field/.dirs/system-config1:/tmp/test_field-info_HZQ1J3/field-info/basic-union-field/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_HZQ1J3/field-info/basic-union-field/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_HZQ1J3/field-info/basic-union-field/.dirs/system-data1:/tmp/test_field-info_HZQ1J3/field-info/basic-union-field/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_HZQ1J3/field-info/basic-union-field/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_HZQ1J3/field-info/basic-union-field/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_HZQ1J3/field-info/basic-union-field/.dirs/runtime 776s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 776s # /field-info/basic-union-field summary: Test basic properties of a GIFieldInfo from a C union 776s ok 2 /field-info/basic-union-field 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_HZQ1J3/field-info/read-write-struct-field/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_HZQ1J3/field-info/read-write-struct-field/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_HZQ1J3/field-info/read-write-struct-field/.dirs/system-config1:/tmp/test_field-info_HZQ1J3/field-info/read-write-struct-field/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_HZQ1J3/field-info/read-write-struct-field/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_HZQ1J3/field-info/read-write-struct-field/.dirs/system-data1:/tmp/test_field-info_HZQ1J3/field-info/read-write-struct-field/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_HZQ1J3/field-info/read-write-struct-field/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_HZQ1J3/field-info/read-write-struct-field/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_HZQ1J3/field-info/read-write-struct-field/.dirs/runtime 776s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 776s # /field-info/read-write-struct-field summary: Test reading and writing of a GIFieldInfo from a C union 776s ok 3 /field-info/read-write-struct-field 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_HZQ1J3/field-info/read-write-union-field/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_HZQ1J3/field-info/read-write-union-field/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_HZQ1J3/field-info/read-write-union-field/.dirs/system-config1:/tmp/test_field-info_HZQ1J3/field-info/read-write-union-field/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_HZQ1J3/field-info/read-write-union-field/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_HZQ1J3/field-info/read-write-union-field/.dirs/system-data1:/tmp/test_field-info_HZQ1J3/field-info/read-write-union-field/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_HZQ1J3/field-info/read-write-union-field/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_HZQ1J3/field-info/read-write-union-field/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_HZQ1J3/field-info/read-write-union-field/.dirs/runtime 776s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 776s # /field-info/read-write-union-field summary: Test reading and writing of a GIFieldInfo from a C union 776s ok 4 /field-info/read-write-union-field 776s # End of field-info tests 776s # Running test: glib/mappedfile.test 776s TAP version 14 776s # random seed: R02S2e920fe0cd867f1a9c21fe5bd611b250 776s 1..7 776s # Start of mappedfile tests 776s ok 1 /mappedfile/basic 776s ok 2 /mappedfile/empty 776s ok 3 /mappedfile/device 776s ok 4 /mappedfile/nonexisting 776s ok 5 /mappedfile/writable 776s ok - glib/mappedfile.test 776s ok 6 /mappedfile/writable_fd 776s ok 7 /mappedfile/gbytes 776s # End of mappedfile tests 776s # Running test: glib/closure-refcount.test 776s TAP version 14 776s # random seed: R02S885f30353ff849f604c35e54e9f3cb08 776s 1..1 776s # Start of closure tests 776s # Init 0x61b241714db0 776s # Yielding from thread1 776s # Yielding from thread1 776s # Yielding from thread2 776s # Yielding from thread1 776s # Yielding from thread2 776s # Yielding from main thread 776s # Yielding from thread1 776s # Yielding from thread2 777s # Yielding from thread2 777s # Yielding from thread1 777s # Yielding from main thread 777s # Yielding from thread1 777s # Yielding from thread2 777s # Yielding from thread1 777s # Yielding from thread2 777s # Yielding from thread1 777s # Yielding from main thread 777s # Yielding from thread1 777s # Yielding from thread2 777s # Yielding from thread1 777s # Yielding from thread1 777s # Yielding from main thread 777s # Yielding from thread2 778s # Yielding from thread1 778s # Yielding from thread2 778s # Yielding from thread1 778s # Yielding from thread2 778s # Yielding from thread1 778s # Yielding from main thread 778s # Yielding from thread1 778s # Yielding from thread2 778s # Yielding from main thread 778s # Yielding from thread2 778s # Yielding from thread2 778s # Yielding from thread1 778s # Yielding from thread2 779s # Yielding from thread1 779s # Yielding from thread2 779s # Yielding from main thread 779s # Yielding from thread1 779s # Yielding from thread2 779s # Yielding from thread1 779s # Yielding from thread2 779s # Yielding from thread1 779s # Yielding from main thread 779s # Yielding from thread1 779s # Yielding from thread2 779s # Yielding from thread2 779s # Yielding from thread1 779s # Yielding from thread1 779s # Yielding from main thread 779s # Yielding from thread2 780s # Yielding from thread1 780s # Yielding from thread2 780s # Yielding from thread2 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from thread1 780s # Executing: glib/closure-refcount.test 780s # Yielding from thread2 780s # Yielding from thread1 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from thread1 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from thread2 781s # Yielding from thread1 781s # Yielding from thread2 781s # Yielding from thread1 781s # Yielding from main thread 781s # Yielding from thread2 781s # Yielding from thread1 781s # Yielding from main thread 781s # Yielding from thread2 781s # Yielding from thread1 781s # Yielding from main thread 781s # Yielding from thread2 781s # Yielding from thread1 781s # Yielding from thread2 781s # Yielding from main thread 781s # Yielding from thread1 781s # Yielding from thread2 782s # Yielding from thread1 782s # Yielding from thread2 782s # Yielding from main thread 782s # Yielding from thread1 782s # Yielding from thread2 782s # Yielding from thread1 782s # Yielding from main thread 782s # Yielding from thread2 782s # Yielding from thread1 782s # Yielding from main thread 782s # Yielding from thread2 782s # Yielding from thread2 782s # Yielding from main thread 782s # Yielding from thread1 782s # Yielding from thread1 782s # Yielding from thread2 782s # Yielding from main thread 783s # Yielding from thread1 783s # Yielding from thread2 783s # Yielding from thread1 783s # Yielding from thread2 783s # Yielding from main thread 783s # Yielding from thread1 783s # Yielding from thread2 783s # Yielding from thread1 783s # Yielding from main thread 783s # Yielding from thread2 783s # Yielding from thread1 783s # Yielding from thread2 783s # Yielding from thread1 783s # Yielding from main thread 783s # Yielding from thread2 784s # Yielding from thread1 784s # Yielding from thread2 784s # Yielding from thread1 784s # Yielding from thread2 784s # Yielding from main thread 784s # Yielding from thread2 784s # Yielding from thread2 784s # Yielding from thread1 784s # Yielding from thread2 784s # Yielding from thread2 784s # Yielding from main thread 784s # Yielding from thread2 784s # Yielding from thread1 784s # Yielding from main thread 784s # Yielding from thread1 785s # Yielding from thread2 785s # Yielding from thread2 785s # Yielding from thread1 785s # Yielding from main thread 785s # Yielding from thread2 785s # Yielding from thread1 785s # Executing: glib/closure-refcount.test 785s # Yielding from thread1 785s # Yielding from thread2 785s # Yielding from thread2 785s # Yielding from main thread 785s # Yielding from thread1 785s # Yielding from thread2 785s # Yielding from thread1 785s # Yielding from main thread 785s # Yielding from thread1 785s # Yielding from thread2 786s # Yielding from thread1 786s # Yielding from thread1 786s # Yielding from thread2 786s # Yielding from thread1 786s # Yielding from main thread 786s # Yielding from thread2 786s # Yielding from thread1 786s # Yielding from thread1 786s # Yielding from thread1 786s # Yielding from thread2 786s # Yielding from main thread 786s # Yielding from thread2 786s # Yielding from thread2 786s # Yielding from thread1 787s # Yielding from thread2 787s # Yielding from main thread 787s # Yielding from thread2 787s # Yielding from thread1 787s # Yielding from main thread 787s # Yielding from thread2 787s # Yielding from thread1 787s # Yielding from thread2 787s # Yielding from thread1 787s # Yielding from main thread 787s # Yielding from thread2 787s # Yielding from thread1 787s # Yielding from thread2 787s # Yielding from main thread 787s # Yielding from thread1 787s # Yielding from thread2 788s # Yielding from thread1 788s # Yielding from main thread 788s # Yielding from thread2 788s # Yielding from thread2 788s # Yielding from thread1 788s # Yielding from thread1 788s # Yielding from main thread 788s # Yielding from thread2 788s # Yielding from thread1 788s # Yielding from thread1 788s # Yielding from thread2 788s # Yielding from thread1 788s # Yielding from main thread 788s # Yielding from thread2 788s # Yielding from thread1 788s # Yielding from main thread 789s # Yielding from thread2 789s # Yielding from thread1 789s # Yielding from thread2 789s # Yielding from thread2 789s # Yielding from thread1 789s # Yielding from main thread 789s # Yielding from thread2 789s # Yielding from thread1 789s # Yielding from thread2 789s # Yielding from main thread 789s # Yielding from thread2 789s # Yielding from thread1 789s # Yielding from thread2 789s # Yielding from thread1 789s # Yielding from thread1 790s # Yielding from main thread 790s # Yielding from thread2 790s # Yielding from thread1 790s # Yielding from thread2 790s # Yielding from thread1 790s # Yielding from main thread 790s # Executing: glib/closure-refcount.test 790s # Yielding from thread1 790s # Yielding from thread2 790s # Yielding from thread1 790s # Yielding from main thread 790s # Yielding from thread2 790s # Yielding from thread2 790s # Yielding from thread1 790s # Yielding from main thread 790s # Yielding from thread2 790s # Yielding from thread1 791s # Yielding from thread1 791s # Yielding from thread1 791s # Yielding from thread2 791s # Yielding from main thread 791s # Yielding from thread1 791s # Yielding from thread2 791s # Yielding from main thread 791s # Yielding from thread1 791s # Yielding from thread2 791s # Yielding from thread2 791s # Yielding from main thread 791s # Yielding from thread1 791s # Yielding from thread2 791s # Yielding from thread2 791s # Yielding from thread2 792s # Yielding from thread1 792s # Yielding from main thread 792s # Yielding from thread1 792s # Yielding from thread2 792s # Yielding from main thread 792s # Yielding from thread2 792s # Yielding from thread1 792s # Yielding from thread2 792s # Yielding from thread2 792s # Yielding from thread1 792s # Yielding from thread1 792s # Yielding from main thread 792s # Yielding from thread2 792s # Yielding from thread1 792s # Yielding from thread1 793s # Yielding from thread2 793s # Yielding from thread1 793s # Yielding from main thread 793s # Yielding from thread2 793s # Yielding from thread2 793s # Yielding from main thread 793s # Yielding from thread1 793s # Yielding from thread2 793s # Yielding from thread2 793s # Yielding from thread1 793s # Yielding from thread2 793s # Yielding from main thread 793s # Yielding from thread2 793s # Yielding from thread1 793s # Yielding from thread2 793s # Yielding from thread1 793s # Yielding from main thread 794s # Yielding from thread2 794s # Yielding from thread1 794s # Yielding from thread2 794s # Yielding from thread2 794s # Yielding from thread1 794s # Yielding from main thread 794s # Yielding from thread2 794s # Yielding from thread2 794s # Yielding from thread1 794s # Yielding from main thread 794s # Yielding from thread2 794s # Yielding from thread1 794s # Yielding from thread2 794s # Yielding from main thread 794s # Yielding from thread2 795s # Yielding from thread2 795s # Yielding from thread1 795s # Yielding from thread2 795s # Yielding from thread1 795s # Yielding from main thread 795s # Executing: glib/closure-refcount.test 795s # Yielding from thread1 795s # Yielding from thread2 795s # Yielding from thread1 795s # Yielding from thread2 795s # Yielding from thread2 795s # Yielding from main thread 795s # Yielding from thread1 795s # Yielding from thread1 795s # Yielding from thread2 796s # Yielding from main thread 796s # Yielding from thread1 796s # Yielding from thread2 796s # Yielding from thread1 796s # Yielding from thread2 796s # Yielding from thread1 796s # Yielding from main thread 796s # Yielding from thread1 796s # Yielding from thread2 796s # Yielding from thread1 796s # Yielding from thread2 796s # Yielding from main thread 796s # Yielding from thread1 796s # Yielding from thread2 796s # Yielding from thread2 796s # Yielding from thread1 797s # Yielding from main thread 797s # Yielding from thread2 797s # Yielding from thread1 797s # Yielding from thread1 797s # Yielding from main thread 797s # Yielding from thread2 797s # Yielding from thread1 797s # Yielding from main thread 797s # Yielding from thread1 797s # Yielding from thread1 797s # Yielding from thread2 797s # Yielding from thread1 797s # Yielding from thread2 797s # Yielding from thread2 797s # Yielding from thread2 797s # Yielding from main thread 797s # Yielding from thread1 798s # Yielding from thread2 798s # Yielding from main thread 798s # Yielding from thread1 798s # Yielding from thread2 798s # Yielding from thread1 798s # Yielding from thread2 798s # Yielding from main thread 798s # Yielding from thread1 798s # Yielding from thread2 798s # Yielding from thread1 798s # Yielding from thread2 798s # Yielding from thread1 798s # Yielding from main thread 798s # Yielding from thread1 799s # Yielding from thread1 799s # Yielding from thread2 799s # Yielding from thread1 799s # Yielding from thread1 799s # Yielding from thread2 799s # Yielding from main thread 799s # Yielding from thread1 799s # Yielding from thread2 799s # Yielding from thread1 799s # Yielding from thread2 799s # Yielding from thread1 799s # Yielding from main thread 799s # Yielding from thread2 799s # Yielding from thread1 799s # Yielding from thread1 800s # Yielding from thread2 800s # Yielding from thread2 800s # Yielding from main thread 800s # Yielding from thread1 800s # Yielding from thread2 800s # Yielding from thread1 800s # Executing: glib/closure-refcount.test 800s # Yielding from main thread 800s # Yielding from thread1 800s # Yielding from thread2 800s # Yielding from thread2 800s # Yielding from thread2 800s # Yielding from thread1 800s # Yielding from main thread 800s # Yielding from thread1 800s # Yielding from thread2 800s # Yielding from thread1 800s # Yielding from main thread 801s # Yielding from thread1 801s # Yielding from thread1 801s # Yielding from thread2 801s # Yielding from thread1 801s # Yielding from thread1 801s # Yielding from main thread 801s # Yielding from thread2 801s # Yielding from thread1 801s # Yielding from main thread 801s # Yielding from thread2 801s # Yielding from thread2 801s # Yielding from thread1 801s # Yielding from thread1 801s # Yielding from thread2 801s # Yielding from main thread 802s # Yielding from thread1 802s # Yielding from thread2 802s # Yielding from thread1 802s # Yielding from main thread 802s # Yielding from thread1 802s # Yielding from thread2 802s # Yielding from thread1 802s # Yielding from thread1 802s # Yielding from main thread 802s # Yielding from thread2 802s # Yielding from thread1 802s # Yielding from thread2 802s # Yielding from main thread 802s # Yielding from thread1 802s # Yielding from thread2 803s # Yielding from thread1 803s # Yielding from main thread 803s # Yielding from thread1 803s # Yielding from thread2 803s # Yielding from thread1 803s # Yielding from thread2 803s # Yielding from thread1 803s # Yielding from main thread 803s # Yielding from thread2 803s # Yielding from thread1 803s # Yielding from thread2 803s # Yielding from main thread 803s # Yielding from thread1 803s # Yielding from thread1 803s # Yielding from thread1 804s # Yielding from thread2 804s # Yielding from thread2 804s # Yielding from thread1 804s # Yielding from main thread 804s # Yielding from thread2 804s # Yielding from thread2 804s # Yielding from thread1 804s # Yielding from thread2 804s # Yielding from thread1 804s # Yielding from main thread 804s # Yielding from thread2 804s # Yielding from thread2 804s # Yielding from thread1 804s # Yielding from main thread 804s # Yielding from thread2 804s # Yielding from thread1 805s # Yielding from thread2 805s # Yielding from main thread 805s # Yielding from thread1 805s # Yielding from thread2 805s # Yielding from thread2 805s # Executing: glib/closure-refcount.test 805s # Yielding from thread1 805s # Yielding from thread2 805s # Yielding from thread2 805s # Yielding from main thread 805s # Yielding from thread1 805s # Yielding from thread1 805s # Yielding from thread2 805s # Yielding from thread1 805s # Yielding from main thread 805s # Yielding from thread1 806s # Yielding from thread1 806s # Yielding from thread2 806s # Yielding from thread1 806s # Yielding from thread1 806s # Yielding from main thread 806s # Yielding from thread2 806s # Yielding from thread1 806s # Yielding from thread1 806s # Yielding from thread2 806s # Yielding from main thread 806s # Yielding from thread2 806s # Yielding from thread1 806s # Yielding from thread2 806s # Yielding from thread2 806s # Yielding from thread1 807s # Yielding from thread2 807s # Yielding from main thread 807s # Yielding from thread1 807s # Yielding from thread1 807s # Yielding from thread1 807s # Yielding from thread2 807s # Yielding from thread1 807s # Yielding from main thread 807s # Yielding from thread2 807s # Yielding from thread1 807s # Yielding from thread2 807s # Yielding from thread1 807s # Yielding from main thread 807s # Yielding from thread2 807s # Yielding from thread1 808s # Yielding from thread2 808s # Yielding from thread1 808s # Yielding from main thread 808s # Yielding from thread1 808s # Yielding from thread2 808s # Yielding from thread2 808s # Yielding from thread1 808s # Yielding from thread2 808s # Yielding from thread1 808s # Yielding from main thread 808s # Yielding from thread2 808s # Yielding from thread1 808s # Yielding from thread2 808s # Stopping 808s # Stopped 808s ok 1 /closure/refcount 808s # slow test /closure/refcount executed in 32.55 secs 808s # End of closure tests 808s ok - glib/closure-refcount.test 808s # Running test: glib/converter.test 808s TAP version 14 808s # random seed: R02S6a80ed28a4b0480d7a2a3fa77141427b 808s 1..3 808s # Start of converter tests 808s ok 1 /converter/bytes 808s ok 2 /converter/extra-bytes-at-end 808s ok 3 /converter/gzip-os-property 808s # End of converter tests 808s ok - glib/converter.test 808s # Running test: glib/value.test 808s TAP version 14 808s # random seed: R02Sb2490ab04ceaa6d742aa9e5ea6a52a61 808s 1..9 808s # Start of value tests 808s ok 1 /value/basic 808s ok 2 /value/collection 808s ok 3 /value/copying 808s ok 4 /value/enum-transformation 808s ok 5 /value/gtype 808s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 808s ok 6 /value/string 808s # Next: GObject object in GValue of GObject to GValue of GObject 808s # Next: GObject object in GValue of GObject to GValue of TestInterface 808s # Next: GObject object in GValue of GObject to GValue of TestObjectA 808s # Next: GObject object in GValue of GObject to GValue of TestObjectB 808s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 808s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 808s # Next: TestObjectA object in GValue of GObject to GValue of GObject 808s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 808s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 808s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 808s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 808s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 808s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 808s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 808s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 808s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 808s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 808s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 808s # Next: TestObjectB object in GValue of GObject to GValue of GObject 808s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 808s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 808s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 808s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 808s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 808s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 808s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 808s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 808s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 808s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 808s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 808s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 808s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 808s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 808s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 808s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 808s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 808s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 808s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 808s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 808s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 808s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 808s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 808s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 808s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 808s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 808s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 808s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 808s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 808s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 808s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 808s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 808s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 808s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 808s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 808s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 808s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 808s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 808s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 808s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 808s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 808s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 808s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 808s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 808s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 808s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 808s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 808s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 808s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 808s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 808s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 808s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 808s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 808s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 808s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 808s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 808s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 808s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 808s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 808s ok 7 /value/transform-object 808s # Start of array tests 808s ok 8 /value/array/basic 808s ok 9 /value/array/sort-with-data 808s # End of array tests 808s # End of value tests 808s ok - glib/value.test 808s # Running test: glib/gdbus-proxy-threads.test 808s TAP version 14 808s # random seed: R02Sb849e0002c31889dc442e6ab0f24c2ff 808s 1..1 808s # Start of gdbus tests 808s # Start of proxy tests 808s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_U34NJ3/gdbus/proxy/vs-threads/.dirs/home 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_U34NJ3/gdbus/proxy/vs-threads/.dirs/cache 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_U34NJ3/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_U34NJ3/gdbus/proxy/vs-threads/.dirs/system-config2 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_U34NJ3/gdbus/proxy/vs-threads/.dirs/config 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_U34NJ3/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_U34NJ3/gdbus/proxy/vs-threads/.dirs/system-data2 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_U34NJ3/gdbus/proxy/vs-threads/.dirs/data 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_U34NJ3/gdbus/proxy/vs-threads/.dirs/state 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_U34NJ3/gdbus/proxy/vs-threads/.dirs/runtime 809s ok - glib/gdbus-proxy-threads.test 809s ok 1 /gdbus/proxy/vs-threads 809s # End of proxy tests 809s # End of gdbus tests 809s cleaning up pid 36947 809s # Running test: glib/gsocketclient-slow.test 809s TAP version 14 809s # random seed: R02Sf2a4549e8192781e705100ddabcfe51f 809s 1..4 809s # Start of socket-client tests 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 809s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 809s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x65461b91d8e0 and GSocketClientAsyncConnectData 0x65461b918520 809s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 809s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 809s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x65461b921540 for GSocketClientAsyncConnectData 0x65461b918520 809s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 809s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 809s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 809s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 809s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 809s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 809s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x65461b921540 for GSocketClientAsyncConnectData 0x65461b918520 809s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 810s # Executing: glib/gsocketclient-slow.test 810s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 810s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 810s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 810s ok 1 /socket-client/connection-fail 810s # slow test /socket-client/connection-fail executed in 1.20 secs 810s # Start of happy-eyeballs tests 810s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x65461b9200d0 and GSocketClientAsyncConnectData 0x65461b921070 810s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 810s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 810s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x65461b924340 for GSocketClientAsyncConnectData 0x65461b921070 810s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 811s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 811s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 811s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 811s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 811s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 811s ok 2 /socket-client/happy-eyeballs/slow 811s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 811s # Start of cancellation tests 811s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x65461b920d50 and GSocketClientAsyncConnectData 0x65461b9245e0 811s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 811s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 811s ok 3 /socket-client/happy-eyeballs/cancellation/instant 811s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x65461b91fff0 and GSocketClientAsyncConnectData 0x65461b923fa0 811s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 811s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 811s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x65461b924ba0 for GSocketClientAsyncConnectData 0x65461b923fa0 811s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 811s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 811s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 811s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 811s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 811s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 811s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 811s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 811s # End of cancellation tests 811s # End of happy-eyeballs tests 811s # End of socket-client tests 811s ok - glib/gsocketclient-slow.test 811s # Running test: glib/markup-collect.test 811s ok - glib/markup-collect.test 811s TAP version 14 811s # random seed: R02Sbd051ba2d49359a7a30558e543f88f59 811s 1..21 811s # Start of markup tests 811s # Start of collect tests 811s ok 1 /markup/collect/0 811s ok 2 /markup/collect/1 811s ok 3 /markup/collect/2 811s ok 4 /markup/collect/3 811s ok 5 /markup/collect/4 811s ok 6 /markup/collect/5 811s ok 7 /markup/collect/6 811s ok 8 /markup/collect/7 811s ok 9 /markup/collect/8 811s ok 10 /markup/collect/9 811s ok 11 /markup/collect/10 811s ok 12 /markup/collect/11 811s ok 13 /markup/collect/12 811s ok 14 /markup/collect/13 811s ok 15 /markup/collect/14 811s ok 16 /markup/collect/15 811s ok 17 /markup/collect/16 811s ok 18 /markup/collect/17 811s ok 19 /markup/collect/18 811s ok 20 /markup/collect/19 811s ok 21 /markup/collect/cleanup 811s # End of collect tests 811s # End of markup tests 811s # Running test: glib/portal-support-snap-classic.test 811s TAP version 14 811s # random seed: R02S501515cd85791b68eecf46253e5f3ed3 811s 1..3 811s # Start of portal-support tests 811s # Start of snap-classic tests 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/no-snapctl/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/no-snapctl/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/no-snapctl/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/no-snapctl/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/no-snapctl/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/no-snapctl/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/no-snapctl/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/no-snapctl/.dirs/runtime 811s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/no-snapctl: No such file or directory 811s ok 1 /portal-support/snap-classic/no-snapctl 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/none/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/none/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/none/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/none/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/none/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/none/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/none/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/none/.dirs/runtime 811s # Created snap.yaml in /tmp/test_portal-support-snap-classic_BVOJJ3/meta/snap.yaml 811s # Created snapctl in /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/none/.dirs/runtime/snapctl 811s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/none: No such file or directory 811s ok 2 /portal-support/snap-classic/none 811s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/all/.dirs/home 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/all/.dirs/cache 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/all/.dirs/system-config2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/all/.dirs/config 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/all/.dirs/system-data2 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/all/.dirs/data 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/all/.dirs/state 811s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/all/.dirs/runtime 811s # Created snap.yaml in /tmp/test_portal-support-snap-classic_BVOJJ3/meta/snap.yaml 811s # Created snapctl in /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/all/.dirs/runtime/snapctl 811s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_BVOJJ3/portal-support/snap-classic/all: No such file or directory 811s ok 3 /portal-support/snap-classic/all 811s # End of snap-classic tests 811s # End of portal-support tests 811s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_BVOJJ3: No such file or directory 811s TAP version 14 811s # random seed: R02S51697a98a55fef1edc5ca50614cb1824 811s 1..4 811s # Start of C tests 811s ok 1 /C/standard-99 811s # End of C tests 811s # Start of alignof tests 811s ok 2 /alignof/fallback 811s # End of alignof tests 811s # Start of assert tests 811s ok 3 /assert/static 811s # End of assert tests 811s # Start of struct tests 811s ok 4 /struct/sizeof_member 811s # End of struct tests 811s TAP version 14 811s # random seed: R02Sb4af2f37f5ff915047e773ec2954bdb4 811s 1..6 811s # Start of thread tests 811s ok - glib/portal-support-snap-classic.test 811s # Running test: glib/macros-c-99.test 811s ok - glib/macros-c-99.test 811s # Running test: glib/thread-deprecated.test 811s ok 1 /thread/mutex 812s ok 2 /thread/static-rec-mutex 815s # Executing: glib/thread-deprecated.test 816s ok 3 /thread/static-private 816s # slow test /thread/static-private executed in 4.40 secs 820s # Executing: glib/thread-deprecated.test 821s ok 4 /thread/static-rw-lock 821s # slow test /thread/static-rw-lock executed in 5.00 secs 821s ok 5 /thread/once 825s # Executing: glib/thread-deprecated.test 830s # Executing: glib/thread-deprecated.test 831s ok - glib/thread-deprecated.test 831s ok 6 /thread/rerun-all 831s # slow test /thread/rerun-all executed in 10.02 secs 831s # End of thread tests 831s TAP version 14 831s # random seed: R02S52a9edbe439ddf34553e2fa38b9716fe 831s 1..2 831s # Start of properties tests 831s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 831s ok 1 /properties/introspection 831s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 831s ok 2 /properties/collision 831s # End of properties tests 831s # Running test: glib/properties-introspection.test 831s ok - glib/properties-introspection.test 831s # Running test: glib/bitlock.test 831s TAP version 14 831s # random seed: R02S51b828e0028f616f27d207c3a314baef 831s 1..2 831s # Start of bitlock tests 831s # Start of performance tests 831s # max perf: iterations per second 831s ok 1 /bitlock/performance/uncontended 831s ok 2 /bitlock/performance/parallel 831s # End of performance tests 831s # End of bitlock tests 831s TAP version 14 831s # random seed: R02S71fc5fd29d6236d70ddbfc8c547db511 831s 1..7 831s # Start of spawn tests 831s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 831s # 831s # this is spawn-test-helper from glib/tests 831s # 831s ok 1 /spawn/do-not-search 831s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 831s # 831s # this is spawn-test-helper from path-test-subdir 831s # 831s ok 2 /spawn/search-path 831s # /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. 831s # 831s # this is spawn-test-helper from path-test-subdir 831s # 831s ok 3 /spawn/search-path-from-envp 831s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 831s # 831s # this is spawn-test-helper from path-test-subdir 831s # 831s ok 4 /spawn/search-path-ambiguous 831s # 831s # this is spawn-test-helper from path-test-subdir 831s # 831s ok 5 /spawn/search-path-heap-allocation 831s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 831s # 831s # this is spawn-test-helper from glib/tests 831s # 831s ok 6 /spawn/search-path-fallback-in-environ 831s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 831s # 831s # this is spawn-test-helper from glib/tests 831s # 831s ok 7 /spawn/search-path-fallback-in-envp 831s # End of spawn tests 831s TAP version 14 831s # random seed: R02Sa5f592f9a56d72641fa05fe1c672294b 831s 1..122 831s # Start of date tests 831s ok 1 /date/basic 831s ok 2 /date/empty 831s ok 3 /date/dmy 831s ok 4 /date/julian 831s ok 5 /date/compare 831s ok 6 /date/dates 831s ok 7 /date/strftime 831s ok 8 /date/two-digit-years 831s ok 9 /date/parse 831s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 831s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 831s ok 11 /date/month_substring 831s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 831s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 831s ok 13 /date/clamp 831s ok 14 /date/order 831s ok 15 /date/copy 831s # Vector 0: 0000-00-00, invalid 831s # Vector 1: 0001-01-01, valid 831s # Vector 2: 0000-01-01, invalid 831s # Vector 3: 2000-02-30, invalid 831s # Vector 4: 2000-02-29, valid 831s # Vector 5: 2001-02-29, invalid 831s # Vector 6: 65535-01-01, valid 831s ok 16 /date/valid-dmy 831s # Considering 2000-01-01 831s # Considering 2000-01-07 831s # Considering 2000-01-08 831s # Considering 2001-01-01 831s # Considering 2001-01-07 831s # Considering 2001-01-08 831s # Considering 2002-01-01 831s # Considering 2002-01-07 831s # Considering 2002-01-08 831s # Considering 2003-01-01 831s # Considering 2003-01-07 831s # Considering 2003-01-08 831s # Considering 2004-01-01 831s # Considering 2004-01-07 831s # Considering 2004-01-08 831s # Considering 2006-01-01 831s # Considering 2006-01-07 831s # Considering 2006-01-08 831s # Considering 2010-01-01 831s # Considering 2010-01-07 831s # Considering 2010-01-08 831s ok 17 /date/week-of-year 831s # Start of parse tests 831s # Test 0 831s # Test 1 831s ok 18 /date/parse/invalid 831s # End of parse tests 831s # Start of year tests 831s ok 19 /date/year/1 831s ok 20 /date/year/2 831s ok 21 /date/year/3 831s ok 22 /date/year/4 831s ok 23 /date/year/5 831s ok - glib/bitlock.test 831s # Running test: glib/spawn-path-search.test 831s ok - glib/spawn-path-search.test 831s # Running test: glib/date.test 831s ok 24 /date/year/6 831s ok 25 /date/year/7 831s ok 26 /date/year/8 831s ok 27 /date/year/9 831s ok 28 /date/year/10 831s ok 29 /date/year/11 831s ok 30 /date/year/12 831s ok 31 /date/year/13 831s ok 32 /date/year/14 831s ok 33 /date/year/98 831s ok 34 /date/year/99 831s ok 35 /date/year/100 831s ok 36 /date/year/101 831s ok 37 /date/year/102 831s ok 38 /date/year/103 831s ok 39 /date/year/397 831s ok 40 /date/year/398 831s ok 41 /date/year/399 831s ok 42 /date/year/400 831s ok 43 /date/year/401 831s ok 44 /date/year/402 831s ok 45 /date/year/403 831s ok 46 /date/year/404 831s ok 47 /date/year/405 831s ok 48 /date/year/406 831s ok 49 /date/year/1598 831s ok 50 /date/year/1599 831s ok 51 /date/year/1600 831s ok 52 /date/year/1601 831s ok 53 /date/year/1602 831s ok 54 /date/year/1650 831s ok 55 /date/year/1651 831s ok 56 /date/year/1897 831s ok 57 /date/year/1898 831s ok 58 /date/year/1899 831s ok 59 /date/year/1900 831s ok 60 /date/year/1901 831s ok 61 /date/year/1902 831s ok 62 /date/year/1903 831s ok 63 /date/year/1961 831s ok 64 /date/year/1962 831s ok 65 /date/year/1963 831s ok 66 /date/year/1964 831s ok 67 /date/year/1965 831s ok 68 /date/year/1967 831s ok 69 /date/year/1968 831s ok 70 /date/year/1969 831s ok 71 /date/year/1970 831s ok 72 /date/year/1971 831s ok 73 /date/year/1972 831s ok 74 /date/year/1973 831s ok 75 /date/year/1974 831s ok 76 /date/year/1975 831s ok 77 /date/year/1976 831s ok 78 /date/year/1977 831s ok 79 /date/year/1978 831s ok 80 /date/year/1979 831s ok 81 /date/year/1980 831s ok 82 /date/year/1981 831s ok 83 /date/year/1982 831s ok 84 /date/year/1983 831s ok 85 /date/year/1984 831s ok 86 /date/year/1985 831s ok 87 /date/year/1986 831s ok 88 /date/year/1987 831s ok 89 /date/year/1988 831s ok 90 /date/year/1989 831s ok 91 /date/year/1990 831s ok 92 /date/year/1991 831s ok 93 /date/year/1992 831s ok 94 /date/year/1993 831s ok 95 /date/year/1994 831s ok 96 /date/year/1995 831s ok 97 /date/year/1996 831s ok 98 /date/year/1997 831s ok 99 /date/year/1998 831s ok 100 /date/year/1999 831s ok 101 /date/year/2000 831s ok 102 /date/year/2001 831s ok 103 /date/year/2002 831s ok 104 /date/year/2003 831s ok 105 /date/year/2004 831s ok 106 /date/year/2005 831s ok 107 /date/year/2006 831s ok 108 /date/year/2007 831s ok 109 /date/year/2008 831s ok 110 /date/year/2009 831s ok 111 /date/year/2010 831s ok 112 /date/year/2011 831s ok 113 /date/year/2012 831s ok 114 /date/year/3000 831s ok 115 /date/year/3001 831s ok 116 /date/year/3002 831s ok 117 /date/year/3998 831s ok 118 /date/year/3999 831s ok 119 /date/year/4000 831s ok 120 /date/year/4001 831s ok 121 /date/year/4002 831s ok 122 /date/year/4003 831s # End of year tests 831s # End of date tests 831s ok - glib/date.test 831s # Running test: glib/macros-c-17.test 831s TAP version 14 831s # random seed: R02S60a1b71cd104b4feffb10a6676ceb35e 831s 1..4 831s # Start of C tests 831s ok 1 /C/standard-17 831s # End of C tests 831s # Start of alignof tests 831s ok 2 /alignof/fallback 831s # End of alignof tests 831s # Start of assert tests 831s ok 3 /assert/static 831s # End of assert tests 831s # Start of struct tests 831s ok 4 /struct/sizeof_member 831s # End of struct tests 831s ok - glib/macros-c-17.test 831s # Running test: glib/uri.test 831s TAP version 14 831s # random seed: R02S493b105f388461070fc19d5c25859f78 831s 1..24 831s # Start of uri tests 831s ok 1 /uri/file-to-uri 831s ok 2 /uri/file-from-uri 831s ok 3 /uri/file-roundtrip 831s ok 4 /uri/list 831s # Test 0: %2Babc %4F 831s # Test 1: %2Babc %4F 831s # Test 2: %00abc %4F 831s # Test 3: /cursors/none.png 831s # Test 4: /cursors%2fbad-subdir/none.png 831s # Test 5: %0 831s # Test 6: %ra 831s # Test 7: %2r 831s # Test 8: Timm Bäder 831s # Test 9: (null) 831s ok 5 /uri/unescape-string 831s ok 6 /uri/unescape-segment 831s # Test 0: abcdefgABCDEFG._~ 831s # Test 1: :+ \\?# 831s # Test 2: a+b:c 831s # Test 3: a+b:c\303\234 831s # Test 4: \374;\322 831s # Test 5: \303\261\303( 831s ok 7 /uri/escape-string 831s ok 8 /uri/escape-bytes 831s ok 9 /uri/scheme 831s ok 10 /uri/build 831s ok 11 /uri/split 831s ok 12 /uri/is_valid 831s ok 13 /uri/to-string 831s ok 14 /uri/join 831s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 831s # Combination 0 831s # Combination 1 831s # Combination 2 831s # Combination 3 831s # Combination 4 831s # Combination 5 831s # Combination 6 831s # Combination 7 831s # Combination 8 831s # Combination 9 831s # Combination 10 831s # Combination 11 831s # Combination 12 831s # Combination 13 831s # Combination 14 831s # Combination 15 831s # Combination 16 831s # Combination 17 831s # Combination 18 831s # Combination 19 831s # Combination 20 831s # Combination 21 831s # Combination 22 831s # Combination 23 831s # Combination 24 831s # Combination 25 831s # Combination 26 831s # Combination 27 831s # Combination 28 831s # Combination 29 831s # Combination 30 831s # Combination 31 831s # Combination 32 831s # Combination 33 831s # Combination 34 831s # Combination 35 831s # Combination 36 831s # Combination 37 831s # Combination 38 831s # Combination 39 831s # Combination 40 831s # Combination 41 831s # Combination 42 831s # Combination 43 831s # Combination 44 831s # Combination 45 831s # Combination 46 831s # Combination 47 831s # Combination 48 831s # Combination 49 831s # Combination 50 831s # Combination 51 831s # Combination 52 831s # Combination 53 831s # Combination 54 831s # Combination 55 831s # Combination 56 831s # Combination 57 831s # Combination 58 831s # Combination 59 831s # Combination 60 831s # Combination 61 831s # Combination 62 831s # Combination 63 831s # Combination 64 831s # Combination 65 831s # Combination 66 831s # Combination 67 831s # Combination 68 831s # Combination 69 831s # Combination 70 831s # Combination 71 831s # Combination 72 831s # Combination 73 831s # Combination 74 831s # Combination 75 831s # Combination 76 831s # Combination 77 831s # Combination 78 831s # Combination 79 831s # Combination 80 831s # Combination 81 831s # Combination 82 831s # Combination 83 831s # Combination 84 831s # Combination 85 831s # Combination 86 831s # Combination 87 831s # Combination 88 831s # Combination 89 831s # Combination 90 831s # Combination 91 831s # Combination 92 831s # Combination 93 831s # Combination 94 831s # Combination 95 831s # Combination 96 831s # Combination 97 831s # Combination 98 831s # Combination 99 831s # Combination 100 831s # Combination 101 831s # Combination 102 831s # Combination 103 831s # Combination 104 831s # Combination 105 831s # Combination 106 831s # Combination 107 831s # Combination 108 831s # Combination 109 831s # Combination 110 831s # Combination 111 831s # Combination 112 831s # Combination 113 831s # Combination 114 831s # Combination 115 831s # Combination 116 831s # Combination 117 831s # Combination 118 831s # Combination 119 831s # Combination 120 831s # Combination 121 831s # Combination 122 831s # Combination 123 831s # Combination 124 831s # Combination 125 831s # Combination 126 831s # Combination 127 831s # Combination 128 831s # Combination 129 831s # Combination 130 831s # Combination 131 831s # Combination 132 831s # Combination 133 831s # Combination 134 831s # Combination 135 831s # Combination 136 831s # Combination 137 831s # Combination 138 831s # Combination 139 831s # Combination 140 831s # Combination 141 831s # Combination 142 831s # Combination 143 831s # Combination 144 831s # Combination 145 831s # Combination 146 831s # Combination 147 831s # Combination 148 831s # Combination 149 831s # Combination 150 831s # Combination 151 831s # Combination 152 831s # Combination 153 831s # Combination 154 831s # Combination 155 831s # Combination 156 831s # Combination 157 831s # Combination 158 831s # Combination 159 831s # Combination 160 831s # Combination 161 831s # Combination 162 831s # Combination 163 831s # Combination 164 831s # Combination 165 831s # Combination 166 831s # Combination 167 831s # Combination 168 831s # Combination 169 831s # Combination 170 831s # Combination 171 831s # Combination 172 831s # Combination 173 831s # Combination 174 831s # Combination 175 831s # Combination 176 831s # Combination 177 831s # Combination 178 831s # Combination 179 831s # Combination 180 831s # Combination 181 831s # Combination 182 831s # Combination 183 831s # Combination 184 831s # Combination 185 831s # Combination 186 831s # Combination 187 831s # Combination 188 831s # Combination 189 831s # Combination 190 831s # Combination 191 831s # Combination 192 831s # Combination 193 831s # Combination 194 831s # Combination 195 831s # Combination 196 831s # Combination 197 831s # Combination 198 831s # Combination 199 831s # Combination 200 831s # Combination 201 831s # Combination 202 831s # Combination 203 831s # Combination 204 831s # Combination 205 831s # Combination 206 831s # Combination 207 831s # Combination 208 831s # Combination 209 831s # Combination 210 831s # Combination 211 831s # Combination 212 831s # Combination 213 831s # Combination 214 831s # Combination 215 831s # Combination 216 831s # Combination 217 831s # Combination 218 831s # Combination 219 831s # Combination 220 831s # Combination 221 831s # Combination 222 831s # Combination 223 831s # Combination 224 831s # Combination 225 831s # Combination 226 831s # Combination 227 831s # Combination 228 831s # Combination 229 831s # Combination 230 831s # Combination 231 831s # Combination 232 831s # Combination 233 831s # Combination 234 831s # Combination 235 831s # Combination 236 831s # Combination 237 831s # Combination 238 831s # Combination 239 831s # Combination 240 831s # Combination 241 831s # Combination 242 831s # Combination 243 831s # Combination 244 831s # Combination 245 831s # Combination 246 831s # Combination 247 831s # Combination 248 831s # Combination 249 831s # Combination 250 831s # Combination 251 831s # Combination 252 831s # Combination 253 831s # Combination 254 831s # Combination 255 831s ok 15 /uri/join-split-round-trip 831s ok 16 /uri/normalize 831s # Start of unescape-bytes tests 831s # Test 0: %00%00 831s # Test 1: /cursors/none.png 831s # Test 2: /cursors%2fbad-subdir/none.png 831s # Test 3: %% 831s # Test 4: % 831s ok 17 /uri/unescape-bytes/nul-terminated 831s # Test 0: %00%00 831s # Test 1: /cursors/none.png 831s # Test 2: /cursors%2fbad-subdir/none.png 831s # Test 3: %% 831s # Test 4: % 831s ok 18 /uri/unescape-bytes/length 831s # End of unescape-bytes tests 831s # Start of parsing tests 831s # Test 0: foo: 831s # Test 1: file:/dev/null 831s # Test 2: file:///dev/null 831s # Test 3: ftp://user@host/path 831s # Test 4: ftp://user@host:9999/path 831s # Test 5: ftp://user:password@host/path 831s # Test 6: ftp://user:password@host:9999/path 831s # Test 7: ftp://user:password@host 831s # Test 8: http://us%65r@host 831s # Test 9: http://us%40r@host 831s # Test 10: http://us%3ar@host 831s # Test 11: http://us%2fr@host 831s # Test 12: http://us%3fr@host 831s # Test 13: http://host?query 831s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 831s # 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 831s # Test 16: http://space/%20 831s # Test 17: http://delims/%3C%3E%23%25%22 831s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 831s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 831s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 831s # Test 21: http://[3ffe:2a00:100:7031::1] 831s # Test 22: http://[1080::8:800:200C:417A]/foo 831s # Test 23: http://[::192.9.5.5]/ipng 831s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 831s # Test 25: http://[2010:836B:4179::836B:4179] 831s # Test 26: http://host/path with spaces 831s # Test 27: http://host/path 831s # Test 28: http://host/path 831s # Test 29: http://host 831s # Test 30: http://host:999 831s # Test 31: http://host/pa 831s # th 831s # Test 32: http: 831s # //host/path 831s # Test 33: http:// host/path 831s # Test 34: http://host/path? 831s # Test 35: http://host/path# 831s # Test 36: http://host/path% 831s # Test 37: http://h%ost/path 831s # Test 38: http://host/path%% 831s # Test 39: http://host/path%%% 831s # Test 40: http://host/path%/x/ 831s # Test 41: http://host/path%0x/ 831s # Test 42: http://host/path%ax 831s # Test 43: http://host/päth/ 831s # Test 44: HTTP://////////////// 831s # Test 45: http://@host 831s # Test 46: http://:@host 831s # Test 47: scheme://foo%3Abar._webdav._tcp.local 831s # Test 48: http://example.com/.. 831s # Test 49: foo0://host/path 831s # Test 50: f0.o://host/path 831s # Test 51: http++://host/path 831s # Test 52: http-ish://host/path 831s # Test 53: http://[fe80::dead:beef%]/ 831s # Test 54: http://[fe80::dead:beef%em1]/ 831s # Test 55: http://[fe80::dead:beef%em1]/ 831s # Test 56: http://[fe80::dead:beef%25em1]/ 831s # Test 57: http://[fe80::dead:beef%25em1%20]/ 831s # Test 58: http://[fe80::dead:beef%25em%31]/ 831s # Test 59: http://[fe80::dead:beef%10]/ 831s # Test 60: http://[fe80::dead:beef%10]/ 831s # Test 61: http://[fe80::dead:beef%25]/ 831s # Test 62: http://[fe80::dead:beef%25]/ 831s # Test 63: http://[192.168.0.1%25em1]/ 831s # Test 64: http://[fe80::dead:beef%2em1]/ 831s # Test 65: http://[fe80::dead:beef%2em1]/ 831s # Test 66: http://[fe80::dead:beef%25em1%00]/ 831s # Test 67: http://[fe80::dead:beef%25em1%00]/ 831s # Test 68: http://xn--mixed-üp/ 831s # Test 69: data:./// 831s # Test 70: data:/.// 831s ok 19 /uri/parsing/absolute 831s ok 20 /uri/parsing/relative 831s # End of parsing tests 831s # Start of iter-params tests 831s # URI 0: p1=foo&p2=bar;p3=baz 831s # URI 1: p1=foo&p2=bar 831s # URI 2: p1=foo&&P1=bar 831s # URI 3: %00=foo 831s # URI 4: p1=%00 831s # URI 5: p1=foo&p1=bar 831s # URI 6: p1=foo&P1=bar 831s # URI 7: =% 831s # URI 8: = 831s # URI 9: foo 831s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 831s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 831s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 831s ok 21 /uri/iter-params/nul-terminated 831s # URI 0: p1=foo&p2=bar;p3=baz 831s # URI 1: p1=foo&p2=bar 831s # URI 2: p1=foo&&P1=bar 831s # URI 3: %00=foo 831s # URI 4: p1=%00 831s # URI 5: p1=foo&p1=bar 831s # URI 6: p1=foo&P1=bar 831s # URI 7: =% 831s # URI 8: = 831s # URI 9: foo 831s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 831s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 831s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 831s ok 22 /uri/iter-params/length 831s # End of iter-params tests 831s # Start of parse-params tests 831s # URI 0: p1=foo&p2=bar;p3=baz 831s # URI 1: p1=foo&p2=bar 831s # URI 2: p1=foo&&P1=bar 831s # URI 3: %00=foo 831s # URI 4: p1=%00 831s # URI 5: p1=foo&p1=bar 831s # URI 6: p1=foo&P1=bar 831s # URI 7: =% 831s # URI 8: = 831s # URI 9: foo 831s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 831s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 831s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 831s ok 23 /uri/parse-params/nul-terminated 831s # URI 0: p1=foo&p2=bar;p3=baz 831s # URI 1: p1=foo&p2=bar 831s # URI 2: p1=foo&&P1=bar 831s # URI 3: %00=foo 831s # URI 4: p1=%00 831s # URI 5: p1=foo&p1=bar 831s # URI 6: p1=foo&P1=bar 831s # URI 7: =% 831s # URI 8: = 831s # URI 9: foo 831s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 831s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 832s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 832s ok 24 /uri/parse-params/length 832s # End of parse-params tests 832s # End of uri tests 832s TAP version 14 832s # random seed: R02Sd0513b337037caec89a5150087baf09f 832s 1..4 832s # Start of gdbus tests 832s # Start of exit-on-close tests 832s ok - glib/uri.test 832s # Running test: glib/gdbus-exit-on-close.test 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/default/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/default/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/default/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/default/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/default/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/default/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/default/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/default/.dirs/runtime 832s ok 1 /gdbus/exit-on-close/default 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/true/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/true/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/true/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/true/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/true/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/true/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/true/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/true/.dirs/runtime 832s ok 2 /gdbus/exit-on-close/true 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/false/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/false/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/false/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/false/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/false/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/false/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/false/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/false/.dirs/runtime 832s ok 3 /gdbus/exit-on-close/false 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/we-close/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/we-close/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/we-close/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/we-close/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/we-close/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/we-close/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/we-close/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_OK8OJ3/gdbus/exit-on-close/we-close/.dirs/runtime 832s ok 4 /gdbus/exit-on-close/we-close 832s # Start of default tests 832s # End of default tests 832s # Start of true tests 832s # End of true tests 832s # Start of false tests 832s # End of false tests 832s # Start of we-close tests 832s # End of we-close tests 832s # End of exit-on-close tests 832s # End of gdbus tests 832s ok - glib/gdbus-exit-on-close.test 832s # Running test: glib/cancellable.test 832s TAP version 14 832s # random seed: R02S6601c5524b8ec4e9f7e3c671c18fdf2b 832s 1..18 832s # Start of cancellable tests 832s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 832s ok 2 /cancellable/null 832s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 832s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 832s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 832s ok 4 /cancellable/connect-to-disposing-callback 832s ok 5 /cancellable/connect-cancelled-data-is-destroyed 832s # Toggle reference callback for GCancellable (0x5a21455bcc00), last: 1 832s # Toggle reference callback for GCancellable (0x5a21455bcc00), last: 0 832s # Toggle reference callback for GCancellable (0x5a21455bcc00), last: 1 832s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 832s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 832s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 832s ok 7 /cancellable/connect-cancelled-to-disposing-callback 832s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 832s # Toggle reference callback for GCancellable (0x5a21455bcc00), last: 1 832s # Toggle reference callback for GCancellable (0x5a21455bcc00), last: 0 832s # Toggle reference callback for GCancellable (0x5a21455bcc00), last: 1 832s # Toggle reference callback for GCancellable (0x5a21455bcc00), last: 0 832s # Toggle reference callback for GCancellable (0x5a21455bcc00), last: 1 832s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 832s # /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 832s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 832s # /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 832s ok 11 /cancellable/resets-on-cancel-callback-hangs 832s ok 12 /cancellable/poll-fd 832s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 832s ok 13 /cancellable/poll-fd-cancelled 832s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 832s ok 14 /cancellable/poll-fd-cancelled-threaded 832s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 832s ok 15 /cancellable/cancel-reset-races 832s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 832s not ok 16 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 832s # End of cancellable tests 832s # Start of cancellable-source tests 832s # /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) 832s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 832s ok 17 /cancellable-source/threaded-dispose 832s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 832s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 832s ok 18 /cancellable-source/can-be-fired-multiple-times 832s # End of cancellable-source tests 832s TAP version 14 832s # random seed: R02Sde52c2e40293295ee303b7a6140d74a2 832s 1..4 832s # Start of socket-listener tests 832s ok 1 /socket-listener/event-signal 832s # Start of accept tests 832s # /socket-listener/accept/multi-simultaneously summary: Test that accepting multiple pending connections on the same GMainContext iteration works 832s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3739 832s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 832s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x62fba67134d0 and GSocketClientAsyncConnectData 0x62fba670e970 832s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 832s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x62fba6715b60 and GSocketClientAsyncConnectData 0x62fba67159b0 832s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 832s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x62fba6716380 and GSocketClientAsyncConnectData 0x62fba6716100 832s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 832s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x62fba6716c00 and GSocketClientAsyncConnectData 0x62fba6716980 832s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 832s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x62fba6717420 and GSocketClientAsyncConnectData 0x62fba67171a0 832s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 832s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 832s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x62fba6719960 for GSocketClientAsyncConnectData 0x62fba670e970 832s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 832s ok - glib/cancellable.test 832s # Running test: glib/socket-listener.test 832s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 832s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x62fba671bad0 for GSocketClientAsyncConnectData 0x62fba67159b0 832s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 832s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 832s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x62fba671c280 for GSocketClientAsyncConnectData 0x62fba6716100 832s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 832s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 832s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x62fba671c920 for GSocketClientAsyncConnectData 0x62fba6716980 832s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 832s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 832s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x62fba6719000 for GSocketClientAsyncConnectData 0x62fba67171a0 832s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 832s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 832s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 832s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 832s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 832s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 832s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 832s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 832s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 832s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 832s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 832s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 832s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 832s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 832s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 832s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 832s ok 2 /socket-listener/accept/multi-simultaneously 832s # End of accept tests 832s # Start of add-any-inet-port tests 832s # /socket-listener/add-any-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 832s # Test 0 832s # Test 1 832s # Test 2 832s # Test 3 832s # Test 4 832s # Test 5 832s # Test 6 832s # Test 7 832s # Test 8 832s # Test 9 832s # Test 10 832s ok 3 /socket-listener/add-any-inet-port/listen-failures 832s # End of add-any-inet-port tests 832s # Start of add-inet-port tests 832s # /socket-listener/add-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 832s # Test 0 832s # Test 1 832s # Test 2 832s # Test 3 832s # Test 4 832s # Test 5 832s # Test 6 832s # Test 7 832s # Test 8 832s # Test 9 832s # Test 10 832s ok 4 /socket-listener/add-inet-port/listen-failures 832s # End of add-inet-port tests 832s # End of socket-listener tests 832s ok - glib/socket-listener.test 832s # Running test: glib/fileutils.test 832s TAP version 14 832s # random seed: R02S3e5334b10dd869cf69d784c664c9676f 832s 1..27 832s # Start of fileutils tests 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/paths/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/paths/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/paths/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/paths/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/paths/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/paths/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/paths/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/paths/.dirs/runtime 832s ok 1 /fileutils/paths 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-path/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-path/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/build-path/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-path/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/build-path/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-path/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-path/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/build-path/.dirs/runtime 832s ok 2 /fileutils/build-path 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-pathv/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-pathv/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/build-pathv/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-pathv/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/build-pathv/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-pathv/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-pathv/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/build-pathv/.dirs/runtime 832s ok 3 /fileutils/build-pathv 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-filename/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-filename/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/build-filename/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-filename/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/build-filename/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-filename/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-filename/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/build-filename/.dirs/runtime 832s ok 4 /fileutils/build-filename 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-filenamev/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-filenamev/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/build-filenamev/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-filenamev/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/build-filenamev/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-filenamev/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/build-filenamev/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/build-filenamev/.dirs/runtime 832s ok 5 /fileutils/build-filenamev 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents/.dirs/runtime 832s # We do not have CAP_DAC_OVERRIDE or equivalent 832s # Checking g_mkdir_with_parents() in subdir ./hum/ 832s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 832s ok 6 /fileutils/mkdir-with-parents 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents-permission/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents-permission/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents-permission/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents-permission/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents-permission/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents-permission/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents-permission/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/mkdir-with-parents-permission/.dirs/runtime 832s # We do not have CAP_DAC_OVERRIDE or equivalent 832s ok 7 /fileutils/mkdir-with-parents-permission 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/format-size-for-display/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/format-size-for-display/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/format-size-for-display/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/format-size-for-display/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/format-size-for-display/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/format-size-for-display/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/format-size-for-display/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/format-size-for-display/.dirs/runtime 832s ok 8 /fileutils/format-size-for-display 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/errors/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/errors/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/errors/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/errors/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/errors/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/errors/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/errors/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/errors/.dirs/runtime 832s ok 9 /fileutils/errors 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/basename/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/basename/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/basename/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/basename/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/basename/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/basename/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/basename/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/basename/.dirs/runtime 832s ok 10 /fileutils/basename 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/get-basename/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/get-basename/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/get-basename/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/get-basename/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/get-basename/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/get-basename/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/get-basename/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/get-basename/.dirs/runtime 832s ok 11 /fileutils/get-basename 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/dirname/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/dirname/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/dirname/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/dirname/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/dirname/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/dirname/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/dirname/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/dirname/.dirs/runtime 832s ok 12 /fileutils/dirname 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/dir-make-tmp/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/dir-make-tmp/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/dir-make-tmp/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/dir-make-tmp/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/dir-make-tmp/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/dir-make-tmp/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/dir-make-tmp/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/dir-make-tmp/.dirs/runtime 832s ok 13 /fileutils/dir-make-tmp 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/file-open-tmp/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/file-open-tmp/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/file-open-tmp/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/file-open-tmp/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/file-open-tmp/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/file-open-tmp/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/file-open-tmp/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/file-open-tmp/.dirs/runtime 832s ok 14 /fileutils/file-open-tmp 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/file-test/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/file-test/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/file-test/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/file-test/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/file-test/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/file-test/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/file-test/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/file-test/.dirs/runtime 832s ok 15 /fileutils/file-test 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkstemp/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkstemp/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/mkstemp/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkstemp/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/mkstemp/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkstemp/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkstemp/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/mkstemp/.dirs/runtime 832s ok 16 /fileutils/mkstemp 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkdtemp/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkdtemp/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/mkdtemp/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkdtemp/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/mkdtemp/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkdtemp/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/mkdtemp/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/mkdtemp/.dirs/runtime 832s ok 17 /fileutils/mkdtemp 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/get-contents/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/get-contents/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/get-contents/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/get-contents/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/get-contents/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/get-contents/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/get-contents/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/get-contents/.dirs/runtime 832s ok 18 /fileutils/get-contents 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/get-contents-large-file/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/get-contents-large-file/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/get-contents-large-file/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/get-contents-large-file/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/get-contents-large-file/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/get-contents-large-file/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/get-contents-large-file/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/get-contents-large-file/.dirs/runtime 832s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/set-contents/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/set-contents/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents/.dirs/runtime 832s ok 20 /fileutils/set-contents 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/.dirs/runtime 832s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 832s # Flags 0 and test 0 832s # Flags 0 and test 1 832s # Flags 0 and test 2 832s # Flags 0 and test 3 832s # Flags 0 and test 4 832s # Flags 0 and test 5 832s # Flags 0 and test 6 832s # Flags 1 and test 0 832s # Flags 1 and test 1 832s # Flags 1 and test 2 832s # Flags 1 and test 3 832s # Flags 1 and test 4 832s # Flags 1 and test 5 832s # Flags 1 and test 6 832s # Flags 2 and test 0 832s # Flags 2 and test 1 832s # Flags 2 and test 2 832s # Flags 2 and test 3 832s # Flags 2 and test 4 832s # Flags 2 and test 5 832s # Flags 2 and test 6 832s # Flags 3 and test 0 832s # Flags 3 and test 1 832s # Flags 3 and test 2 832s # Flags 3 and test 3 832s # Flags 3 and test 4 832s # Flags 3 and test 5 832s # Flags 3 and test 6 832s # Flags 4 and test 0 832s # Flags 4 and test 1 832s # Flags 4 and test 2 832s # Flags 4 and test 3 832s # Flags 4 and test 4 832s # Flags 4 and test 5 832s # Flags 4 and test 6 832s # Flags 5 and test 0 832s # Flags 5 and test 1 832s # Flags 5 and test 2 832s # Flags 5 and test 3 832s # Flags 5 and test 4 832s # Flags 5 and test 5 832s # Flags 5 and test 6 832s # Flags 6 and test 0 832s # Flags 6 and test 1 832s # Flags 6 and test 2 832s # Flags 6 and test 3 832s # Flags 6 and test 4 832s # Flags 6 and test 5 832s # Flags 6 and test 6 832s ok 21 /fileutils/set-contents-full 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/read-link/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/read-link/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/read-link/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/read-link/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/read-link/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/read-link/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/read-link/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/read-link/.dirs/runtime 832s ok 22 /fileutils/read-link 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/stdio-wrappers/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/stdio-wrappers/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/stdio-wrappers/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/stdio-wrappers/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/stdio-wrappers/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/stdio-wrappers/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/stdio-wrappers/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/stdio-wrappers/.dirs/runtime 832s # We do not have CAP_DAC_OVERRIDE or equivalent 832s ok 23 /fileutils/stdio-wrappers 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/fopen-modes/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/fopen-modes/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/fopen-modes/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/fopen-modes/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/fopen-modes/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/fopen-modes/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/fopen-modes/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/fopen-modes/.dirs/runtime 832s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 832s # Testing fopen() mode 'w' 832s # Testing fopen() mode 'r' 832s # Testing fopen() mode 'a' 832s # Testing fopen() mode 'w+' 832s # Testing fopen() mode 'r+' 832s # Testing fopen() mode 'a+' 832s # Testing fopen() mode 'wb' 832s # Testing fopen() mode 'rb' 832s # Testing fopen() mode 'ab' 832s # Testing fopen() mode 'w+b' 832s # Testing fopen() mode 'r+b' 832s # Testing fopen() mode 'a+b' 832s # Testing fopen() mode 'wb+' 832s # Testing fopen() mode 'rb+' 832s # Testing fopen() mode 'ab+' 832s # Testing fopen() mode 'we' 832s # Testing fopen() mode 're' 832s # Testing fopen() mode 'ae' 832s # Testing fopen() mode 'w+e' 832s # Testing fopen() mode 'r+e' 832s # Testing fopen() mode 'a+e' 832s # Testing fopen() mode 'wbe' 832s # Testing fopen() mode 'rbe' 832s # Testing fopen() mode 'abe' 832s # Testing fopen() mode 'w+be' 832s # Testing fopen() mode 'r+be' 832s # Testing fopen() mode 'a+be' 832s # Testing fopen() mode 'wb+e' 832s # Testing fopen() mode 'rb+e' 832s # Testing fopen() mode 'ab+e' 832s # Testing fopen() mode 'web' 832s # Testing fopen() mode 'reb' 832s # Testing fopen() mode 'aeb' 832s # Testing fopen() mode 'w+eb' 832s # Testing fopen() mode 'r+eb' 832s # Testing fopen() mode 'a+eb' 832s # Testing fopen() mode 'web+' 832s # Testing fopen() mode 'reb+' 832s # Testing fopen() mode 'aeb+' 832s ok 24 /fileutils/fopen-modes 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/clear-fd/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/clear-fd/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/clear-fd/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/clear-fd/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/clear-fd/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/clear-fd/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/clear-fd/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/clear-fd/.dirs/runtime 832s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 832s # Will be closed by autocleanup: 3, -42 832s # Testing error handling 832s ok 25 /fileutils/clear-fd 832s # Start of set-contents-full tests 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-file/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-file/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-file/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-file/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-file/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-file/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-file/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-file/.dirs/runtime 832s # We do not have CAP_DAC_OVERRIDE or equivalent 832s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 832s ok 26 /fileutils/set-contents-full/read-only-file 832s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-directory/.dirs/home 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-directory/.dirs/cache 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-directory/.dirs/config 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-directory/.dirs/data 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-directory/.dirs/state 832s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SIVQJ3/fileutils/set-contents-full/read-only-directory/.dirs/runtime 832s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 832s # Flags 0 832s # We do not have CAP_DAC_OVERRIDE or equivalent 832s # Flags 1 832s # We do not have CAP_DAC_OVERRIDE or equivalent 832s # Flags 2 832s # We do not have CAP_DAC_OVERRIDE or equivalent 832s # Flags 3 832s # We do not have CAP_DAC_OVERRIDE or equivalent 832s # Flags 4 832s # We do not have CAP_DAC_OVERRIDE or equivalent 832s # Flags 5 832s # We do not have CAP_DAC_OVERRIDE or equivalent 832s # Flags 6 832s # We do not have CAP_DAC_OVERRIDE or equivalent 832s ok 27 /fileutils/set-contents-full/read-only-directory 832s # End of set-contents-full tests 832s # Start of clear-fd tests 832s # Start of subprocess tests 832s # End of subprocess tests 832s # End of clear-fd tests 832s # End of fileutils tests 832s Unable to clean up temporary directory /tmp/test_fileutils_SIVQJ3/glib-file-set-contents-full-rodir-OXSQJ3: Directory not empty 832s Unable to clean up temporary directory /tmp/test_fileutils_SIVQJ3/glib-file-set-contents-full-rodir-59NQJ3: Directory not empty 832s Unable to clean up temporary directory /tmp/test_fileutils_SIVQJ3/glib-file-set-contents-full-rodir-VBPQJ3: Directory not empty 832s Unable to clean up temporary directory /tmp/test_fileutils_SIVQJ3/glib-file-set-contents-full-rodir-TURQJ3: Directory not empty 832s Unable to clean up temporary directory /tmp/test_fileutils_SIVQJ3/glib-file-set-contents-full-rodir-827PJ3: Directory not empty 832s Unable to clean up temporary directory /tmp/test_fileutils_SIVQJ3/glib-file-set-contents-full-rodir-KH7PJ3: Directory not empty 832s Unable to clean up temporary directory /tmp/test_fileutils_SIVQJ3/glib-file-set-contents-full-rodir-3FRQJ3: Directory not empty 832s Unable to clean up temporary directory /tmp/test_fileutils_SIVQJ3: Directory not empty 832s ok - glib/fileutils.test 832s # Running test: glib/srvtarget.test 832s TAP version 14 832s # random seed: R02S239b6ddae7b5ce5a5eb7078065ec7a87 832s 1..1 832s # Start of srvtarget tests 833s ok 1 /srvtarget/srv-target-ordering 833s # End of srvtarget tests 833s ok - glib/srvtarget.test 833s # Running test: glib/list.test 833s TAP version 14 833s # random seed: R02S910d2851fe33e9e6536b514fe3cf2950 833s 1..20 833s # Start of list tests 833s ok 1 /list/sort 833s ok 2 /list/sort-with-data 833s ok 3 /list/insert-before-link 833s ok 4 /list/insert-sorted 833s ok 5 /list/insert-sorted-with-data 833s ok 6 /list/reverse 833s ok 7 /list/nth 833s ok 8 /list/concat 833s ok 9 /list/remove 833s ok 10 /list/remove-all 833s ok 11 /list/first-last 833s ok 12 /list/insert 833s ok 13 /list/free-full 833s ok 14 /list/copy 833s ok 15 /list/copy-deep 833s ok 16 /list/delete-link 833s ok 17 /list/prepend 833s ok 18 /list/position 833s ok 19 /list/double-free 833s # Start of sort tests 833s ok 20 /list/sort/stable 833s # End of sort tests 833s # End of list tests 833s ok - glib/list.test 833s # Running test: glib/thumbnail-verification.test 833s TAP version 14 833s # random seed: R02S1617d426a3c863bdca26aa753bba458c 833s 1..1 833s # Start of png-thumbs tests 833s ok 1 /png-thumbs/validity 833s # End of png-thumbs tests 833s TAP version 14 833s # random seed: R02S6725fae7c96b52bc1235ff6669e155ba 833s 1..4 833s # Start of hostutils tests 833s ok 1 /hostutils/hostname_is_non_ascii 833s ok 2 /hostutils/to_ascii 833s ok 3 /hostutils/to_unicode 833s ok 4 /hostutils/is_ip_addr 833s # End of hostutils tests 833s ok - glib/thumbnail-verification.test 833s # Running test: glib/hostutils.test 833s ok - glib/hostutils.test 833s # Running test: glib/spawn-multithreaded.test 833s TAP version 14 833s # random seed: R02S4bba05848f0f72c2496db7f7f256b652 833s 1..4 833s # Start of gthread tests 834s # Child 37133 (ttl 1) exited, status 0 835s # Child 37134 (ttl 2) exited, status 0 835s ok 1 /gthread/spawn-childs 835s # slow test /gthread/spawn-childs executed in 2.00 secs 835s # Created pid: 37138 (ttl 2) 835s # Created pid: 37139 (ttl 1) 835s # Executing: glib/spawn-multithreaded.test 836s # Child 37139 (ttl 1) exited, status 0 837s # Child 37138 (ttl 2) exited, status 0 837s ok 2 /gthread/spawn-childs-threads 837s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 837s ok 3 /gthread/spawn-sync 837s ok 4 /gthread/spawn-async 837s # End of gthread tests 837s ok - glib/spawn-multithreaded.test 837s # Running test: glib/atomic-c-89.test 837s TAP version 14 837s # random seed: R02S83d0a1838c0f4e4f78b0058574a5b544 837s 1..2 837s # Start of atomic tests 837s ok 1 /atomic/types 837s ok - glib/atomic-c-89.test 837s ok 2 /atomic/threaded 837s # End of atomic tests 837s # Running test: glib/checksum.test 837s TAP version 14 837s # random seed: R02S985dfeb2beddde007d5132d1e19d5a49 837s 1..1851 837s # Start of checksum tests 837s ok 1 /checksum/unsupported 837s # Start of MD5 tests 837s ok 2 /checksum/MD5/0 837s ok 3 /checksum/MD5/1 837s ok 4 /checksum/MD5/2 837s ok 5 /checksum/MD5/3 837s ok 6 /checksum/MD5/4 837s ok 7 /checksum/MD5/5 837s ok 8 /checksum/MD5/6 837s ok 9 /checksum/MD5/7 837s ok 10 /checksum/MD5/8 837s ok 11 /checksum/MD5/9 837s ok 12 /checksum/MD5/10 837s ok 13 /checksum/MD5/11 837s ok 14 /checksum/MD5/12 837s ok 15 /checksum/MD5/13 837s ok 16 /checksum/MD5/14 837s ok 17 /checksum/MD5/15 837s ok 18 /checksum/MD5/16 837s ok 19 /checksum/MD5/17 837s ok 20 /checksum/MD5/18 837s ok 21 /checksum/MD5/19 837s ok 22 /checksum/MD5/20 837s ok 23 /checksum/MD5/21 837s ok 24 /checksum/MD5/22 837s ok 25 /checksum/MD5/23 837s ok 26 /checksum/MD5/24 837s ok 27 /checksum/MD5/25 837s ok 28 /checksum/MD5/26 837s ok 29 /checksum/MD5/27 837s ok 30 /checksum/MD5/28 837s ok 31 /checksum/MD5/29 837s ok 32 /checksum/MD5/30 837s ok 33 /checksum/MD5/31 837s ok 34 /checksum/MD5/32 837s ok 35 /checksum/MD5/33 837s ok 36 /checksum/MD5/34 837s ok 37 /checksum/MD5/35 837s ok 38 /checksum/MD5/36 837s ok 39 /checksum/MD5/37 837s ok 40 /checksum/MD5/38 837s ok 41 /checksum/MD5/39 837s ok 42 /checksum/MD5/40 837s ok 43 /checksum/MD5/41 837s ok 44 /checksum/MD5/42 837s ok 45 /checksum/MD5/43 837s ok 46 /checksum/MD5/44 837s ok 47 /checksum/MD5/45 837s ok 48 /checksum/MD5/46 837s ok 49 /checksum/MD5/47 837s ok 50 /checksum/MD5/48 837s ok 51 /checksum/MD5/49 837s ok 52 /checksum/MD5/50 837s ok 53 /checksum/MD5/51 837s ok 54 /checksum/MD5/52 837s ok 55 /checksum/MD5/53 837s ok 56 /checksum/MD5/54 837s ok 57 /checksum/MD5/55 837s ok 58 /checksum/MD5/56 837s ok 59 /checksum/MD5/57 837s ok 60 /checksum/MD5/58 837s ok 61 /checksum/MD5/59 837s ok 62 /checksum/MD5/60 837s ok 63 /checksum/MD5/61 837s ok 64 /checksum/MD5/62 837s ok 65 /checksum/MD5/63 837s ok 66 /checksum/MD5/64 837s ok 67 /checksum/MD5/65 837s ok 68 /checksum/MD5/66 837s ok 69 /checksum/MD5/67 837s ok 70 /checksum/MD5/68 837s ok 71 /checksum/MD5/69 837s ok 72 /checksum/MD5/70 837s ok 73 /checksum/MD5/71 837s ok 74 /checksum/MD5/72 837s ok 75 /checksum/MD5/73 837s ok 76 /checksum/MD5/74 837s ok 77 /checksum/MD5/75 837s ok 78 /checksum/MD5/76 837s ok 79 /checksum/MD5/77 837s ok 80 /checksum/MD5/78 837s ok 81 /checksum/MD5/79 837s ok 82 /checksum/MD5/80 837s ok 83 /checksum/MD5/81 837s ok 84 /checksum/MD5/82 837s ok 85 /checksum/MD5/83 837s ok 86 /checksum/MD5/84 837s ok 87 /checksum/MD5/85 837s ok 88 /checksum/MD5/86 837s ok 89 /checksum/MD5/87 837s ok 90 /checksum/MD5/88 837s ok 91 /checksum/MD5/89 837s ok 92 /checksum/MD5/90 837s ok 93 /checksum/MD5/91 837s ok 94 /checksum/MD5/92 837s ok 95 /checksum/MD5/93 837s ok 96 /checksum/MD5/94 837s ok 97 /checksum/MD5/95 837s ok 98 /checksum/MD5/96 837s ok 99 /checksum/MD5/97 837s ok 100 /checksum/MD5/98 837s ok 101 /checksum/MD5/99 837s ok 102 /checksum/MD5/100 837s ok 103 /checksum/MD5/101 837s ok 104 /checksum/MD5/102 837s ok 105 /checksum/MD5/103 837s ok 106 /checksum/MD5/104 837s ok 107 /checksum/MD5/105 837s ok 108 /checksum/MD5/106 837s ok 109 /checksum/MD5/107 837s ok 110 /checksum/MD5/108 837s ok 111 /checksum/MD5/109 837s ok 112 /checksum/MD5/110 837s ok 113 /checksum/MD5/111 837s ok 114 /checksum/MD5/112 837s ok 115 /checksum/MD5/113 837s ok 116 /checksum/MD5/114 837s ok 117 /checksum/MD5/115 837s ok 118 /checksum/MD5/116 837s ok 119 /checksum/MD5/117 837s ok 120 /checksum/MD5/118 837s ok 121 /checksum/MD5/119 837s ok 122 /checksum/MD5/120 837s ok 123 /checksum/MD5/121 837s ok 124 /checksum/MD5/122 837s ok 125 /checksum/MD5/123 837s ok 126 /checksum/MD5/124 837s ok 127 /checksum/MD5/125 837s ok 128 /checksum/MD5/126 837s ok 129 /checksum/MD5/127 837s ok 130 /checksum/MD5/128 837s ok 131 /checksum/MD5/129 837s ok 132 /checksum/MD5/130 837s ok 133 /checksum/MD5/131 837s ok 134 /checksum/MD5/132 837s ok 135 /checksum/MD5/133 837s ok 136 /checksum/MD5/134 837s ok 137 /checksum/MD5/135 837s ok 138 /checksum/MD5/136 837s ok 139 /checksum/MD5/137 837s ok 140 /checksum/MD5/138 837s ok 141 /checksum/MD5/139 837s ok 142 /checksum/MD5/140 837s ok 143 /checksum/MD5/141 837s ok 144 /checksum/MD5/142 837s ok 145 /checksum/MD5/143 837s ok 146 /checksum/MD5/144 837s ok 147 /checksum/MD5/145 837s ok 148 /checksum/MD5/146 837s ok 149 /checksum/MD5/147 837s ok 150 /checksum/MD5/148 837s ok 151 /checksum/MD5/149 837s ok 152 /checksum/MD5/150 837s ok 153 /checksum/MD5/151 837s ok 154 /checksum/MD5/152 837s ok 155 /checksum/MD5/153 837s ok 156 /checksum/MD5/154 837s ok 157 /checksum/MD5/155 837s ok 158 /checksum/MD5/156 837s ok 159 /checksum/MD5/157 837s ok 160 /checksum/MD5/158 837s ok 161 /checksum/MD5/159 837s ok 162 /checksum/MD5/160 837s ok 163 /checksum/MD5/161 837s ok 164 /checksum/MD5/162 837s ok 165 /checksum/MD5/163 837s ok 166 /checksum/MD5/164 837s ok 167 /checksum/MD5/165 837s ok 168 /checksum/MD5/166 837s ok 169 /checksum/MD5/167 837s ok 170 /checksum/MD5/168 837s ok 171 /checksum/MD5/169 837s ok 172 /checksum/MD5/170 837s ok 173 /checksum/MD5/171 837s ok 174 /checksum/MD5/172 837s ok 175 /checksum/MD5/173 837s ok 176 /checksum/MD5/174 837s ok 177 /checksum/MD5/175 837s ok 178 /checksum/MD5/176 837s ok 179 /checksum/MD5/177 837s ok 180 /checksum/MD5/178 837s ok 181 /checksum/MD5/179 837s ok 182 /checksum/MD5/180 837s ok 183 /checksum/MD5/181 837s ok 184 /checksum/MD5/182 837s ok 185 /checksum/MD5/183 837s ok 186 /checksum/MD5/string 837s ok 187 /checksum/MD5/bytes 837s # Start of reset tests 837s ok 188 /checksum/MD5/reset/0 837s ok 189 /checksum/MD5/reset/1 837s ok 190 /checksum/MD5/reset/2 837s ok 191 /checksum/MD5/reset/3 837s ok 192 /checksum/MD5/reset/4 837s ok 193 /checksum/MD5/reset/5 837s ok 194 /checksum/MD5/reset/6 837s ok 195 /checksum/MD5/reset/7 837s ok 196 /checksum/MD5/reset/8 837s ok 197 /checksum/MD5/reset/9 837s ok 198 /checksum/MD5/reset/10 837s ok 199 /checksum/MD5/reset/11 837s ok 200 /checksum/MD5/reset/12 837s ok 201 /checksum/MD5/reset/13 837s ok 202 /checksum/MD5/reset/14 837s ok 203 /checksum/MD5/reset/15 837s ok 204 /checksum/MD5/reset/16 837s ok 205 /checksum/MD5/reset/17 837s ok 206 /checksum/MD5/reset/18 837s ok 207 /checksum/MD5/reset/19 837s ok 208 /checksum/MD5/reset/20 837s ok 209 /checksum/MD5/reset/21 837s ok 210 /checksum/MD5/reset/22 837s ok 211 /checksum/MD5/reset/23 837s ok 212 /checksum/MD5/reset/24 837s ok 213 /checksum/MD5/reset/25 837s ok 214 /checksum/MD5/reset/26 837s ok 215 /checksum/MD5/reset/27 837s ok 216 /checksum/MD5/reset/28 837s ok 217 /checksum/MD5/reset/29 837s ok 218 /checksum/MD5/reset/30 837s ok 219 /checksum/MD5/reset/31 837s ok 220 /checksum/MD5/reset/32 837s ok 221 /checksum/MD5/reset/33 837s ok 222 /checksum/MD5/reset/34 837s ok 223 /checksum/MD5/reset/35 837s ok 224 /checksum/MD5/reset/36 837s ok 225 /checksum/MD5/reset/37 837s ok 226 /checksum/MD5/reset/38 837s ok 227 /checksum/MD5/reset/39 837s ok 228 /checksum/MD5/reset/40 837s ok 229 /checksum/MD5/reset/41 837s ok 230 /checksum/MD5/reset/42 837s ok 231 /checksum/MD5/reset/43 837s ok 232 /checksum/MD5/reset/44 837s ok 233 /checksum/MD5/reset/45 837s ok 234 /checksum/MD5/reset/46 837s ok 235 /checksum/MD5/reset/47 837s ok 236 /checksum/MD5/reset/48 837s ok 237 /checksum/MD5/reset/49 837s ok 238 /checksum/MD5/reset/50 837s ok 239 /checksum/MD5/reset/51 837s ok 240 /checksum/MD5/reset/52 837s ok 241 /checksum/MD5/reset/53 837s ok 242 /checksum/MD5/reset/54 837s ok 243 /checksum/MD5/reset/55 837s ok 244 /checksum/MD5/reset/56 837s ok 245 /checksum/MD5/reset/57 837s ok 246 /checksum/MD5/reset/58 837s ok 247 /checksum/MD5/reset/59 837s ok 248 /checksum/MD5/reset/60 837s ok 249 /checksum/MD5/reset/61 837s ok 250 /checksum/MD5/reset/62 837s ok 251 /checksum/MD5/reset/63 837s ok 252 /checksum/MD5/reset/64 837s ok 253 /checksum/MD5/reset/65 837s ok 254 /checksum/MD5/reset/66 837s ok 255 /checksum/MD5/reset/67 837s ok 256 /checksum/MD5/reset/68 837s ok 257 /checksum/MD5/reset/69 837s ok 258 /checksum/MD5/reset/70 837s ok 259 /checksum/MD5/reset/71 837s ok 260 /checksum/MD5/reset/72 837s ok 261 /checksum/MD5/reset/73 837s ok 262 /checksum/MD5/reset/74 837s ok 263 /checksum/MD5/reset/75 837s ok 264 /checksum/MD5/reset/76 837s ok 265 /checksum/MD5/reset/77 837s ok 266 /checksum/MD5/reset/78 837s ok 267 /checksum/MD5/reset/79 837s ok 268 /checksum/MD5/reset/80 837s ok 269 /checksum/MD5/reset/81 837s ok 270 /checksum/MD5/reset/82 837s ok 271 /checksum/MD5/reset/83 837s ok 272 /checksum/MD5/reset/84 837s ok 273 /checksum/MD5/reset/85 837s ok 274 /checksum/MD5/reset/86 837s ok 275 /checksum/MD5/reset/87 837s ok 276 /checksum/MD5/reset/88 837s ok 277 /checksum/MD5/reset/89 837s ok 278 /checksum/MD5/reset/90 837s ok 279 /checksum/MD5/reset/91 837s ok 280 /checksum/MD5/reset/92 837s ok 281 /checksum/MD5/reset/93 837s ok 282 /checksum/MD5/reset/94 837s ok 283 /checksum/MD5/reset/95 837s ok 284 /checksum/MD5/reset/96 837s ok 285 /checksum/MD5/reset/97 837s ok 286 /checksum/MD5/reset/98 837s ok 287 /checksum/MD5/reset/99 837s ok 288 /checksum/MD5/reset/100 837s ok 289 /checksum/MD5/reset/101 837s ok 290 /checksum/MD5/reset/102 837s ok 291 /checksum/MD5/reset/103 837s ok 292 /checksum/MD5/reset/104 837s ok 293 /checksum/MD5/reset/105 837s ok 294 /checksum/MD5/reset/106 837s ok 295 /checksum/MD5/reset/107 837s ok 296 /checksum/MD5/reset/108 837s ok 297 /checksum/MD5/reset/109 837s ok 298 /checksum/MD5/reset/110 837s ok 299 /checksum/MD5/reset/111 837s ok 300 /checksum/MD5/reset/112 837s ok 301 /checksum/MD5/reset/113 837s ok 302 /checksum/MD5/reset/114 837s ok 303 /checksum/MD5/reset/115 837s ok 304 /checksum/MD5/reset/116 837s ok 305 /checksum/MD5/reset/117 837s ok 306 /checksum/MD5/reset/118 837s ok 307 /checksum/MD5/reset/119 837s ok 308 /checksum/MD5/reset/120 837s ok 309 /checksum/MD5/reset/121 837s ok 310 /checksum/MD5/reset/122 837s ok 311 /checksum/MD5/reset/123 837s ok 312 /checksum/MD5/reset/124 837s ok 313 /checksum/MD5/reset/125 837s ok 314 /checksum/MD5/reset/126 837s ok 315 /checksum/MD5/reset/127 837s ok 316 /checksum/MD5/reset/128 837s ok 317 /checksum/MD5/reset/129 837s ok 318 /checksum/MD5/reset/130 837s ok 319 /checksum/MD5/reset/131 837s ok 320 /checksum/MD5/reset/132 837s ok 321 /checksum/MD5/reset/133 837s ok 322 /checksum/MD5/reset/134 837s ok 323 /checksum/MD5/reset/135 837s ok 324 /checksum/MD5/reset/136 837s ok 325 /checksum/MD5/reset/137 837s ok 326 /checksum/MD5/reset/138 837s ok 327 /checksum/MD5/reset/139 837s ok 328 /checksum/MD5/reset/140 837s ok 329 /checksum/MD5/reset/141 837s ok 330 /checksum/MD5/reset/142 837s ok 331 /checksum/MD5/reset/143 837s ok 332 /checksum/MD5/reset/144 837s ok 333 /checksum/MD5/reset/145 837s ok 334 /checksum/MD5/reset/146 837s ok 335 /checksum/MD5/reset/147 837s ok 336 /checksum/MD5/reset/148 837s ok 337 /checksum/MD5/reset/149 837s ok 338 /checksum/MD5/reset/150 837s ok 339 /checksum/MD5/reset/151 837s ok 340 /checksum/MD5/reset/152 837s ok 341 /checksum/MD5/reset/153 837s ok 342 /checksum/MD5/reset/154 837s ok 343 /checksum/MD5/reset/155 837s ok 344 /checksum/MD5/reset/156 837s ok 345 /checksum/MD5/reset/157 837s ok 346 /checksum/MD5/reset/158 837s ok 347 /checksum/MD5/reset/159 837s ok 348 /checksum/MD5/reset/160 837s ok 349 /checksum/MD5/reset/161 837s ok 350 /checksum/MD5/reset/162 837s ok 351 /checksum/MD5/reset/163 837s ok 352 /checksum/MD5/reset/164 837s ok 353 /checksum/MD5/reset/165 837s ok 354 /checksum/MD5/reset/166 837s ok 355 /checksum/MD5/reset/167 837s ok 356 /checksum/MD5/reset/168 837s ok 357 /checksum/MD5/reset/169 837s ok 358 /checksum/MD5/reset/170 837s ok 359 /checksum/MD5/reset/171 837s ok 360 /checksum/MD5/reset/172 837s ok 361 /checksum/MD5/reset/173 837s ok 362 /checksum/MD5/reset/174 837s ok 363 /checksum/MD5/reset/175 837s ok 364 /checksum/MD5/reset/176 837s ok 365 /checksum/MD5/reset/177 837s ok 366 /checksum/MD5/reset/178 837s ok 367 /checksum/MD5/reset/179 837s ok 368 /checksum/MD5/reset/180 837s ok 369 /checksum/MD5/reset/181 837s ok 370 /checksum/MD5/reset/182 837s ok 371 /checksum/MD5/reset/183 837s # End of reset tests 837s # End of MD5 tests 837s # Start of SHA1 tests 837s ok 372 /checksum/SHA1/0 837s ok 373 /checksum/SHA1/1 837s ok 374 /checksum/SHA1/2 837s ok 375 /checksum/SHA1/3 837s ok 376 /checksum/SHA1/4 837s ok 377 /checksum/SHA1/5 837s ok 378 /checksum/SHA1/6 837s ok 379 /checksum/SHA1/7 837s ok 380 /checksum/SHA1/8 837s ok 381 /checksum/SHA1/9 837s ok 382 /checksum/SHA1/10 837s ok 383 /checksum/SHA1/11 837s ok 384 /checksum/SHA1/12 837s ok 385 /checksum/SHA1/13 837s ok 386 /checksum/SHA1/14 837s ok 387 /checksum/SHA1/15 837s ok 388 /checksum/SHA1/16 837s ok 389 /checksum/SHA1/17 837s ok 390 /checksum/SHA1/18 837s ok 391 /checksum/SHA1/19 837s ok 392 /checksum/SHA1/20 837s ok 393 /checksum/SHA1/21 837s ok 394 /checksum/SHA1/22 837s ok 395 /checksum/SHA1/23 837s ok 396 /checksum/SHA1/24 837s ok 397 /checksum/SHA1/25 837s ok 398 /checksum/SHA1/26 837s ok 399 /checksum/SHA1/27 837s ok 400 /checksum/SHA1/28 837s ok 401 /checksum/SHA1/29 837s ok 402 /checksum/SHA1/30 837s ok 403 /checksum/SHA1/31 837s ok 404 /checksum/SHA1/32 837s ok 405 /checksum/SHA1/33 837s ok 406 /checksum/SHA1/34 837s ok 407 /checksum/SHA1/35 837s ok 408 /checksum/SHA1/36 837s ok 409 /checksum/SHA1/37 837s ok 410 /checksum/SHA1/38 837s ok 411 /checksum/SHA1/39 837s ok 412 /checksum/SHA1/40 837s ok 413 /checksum/SHA1/41 837s ok 414 /checksum/SHA1/42 837s ok 415 /checksum/SHA1/43 837s ok 416 /checksum/SHA1/44 837s ok 417 /checksum/SHA1/45 837s ok 418 /checksum/SHA1/46 837s ok 419 /checksum/SHA1/47 837s ok 420 /checksum/SHA1/48 837s ok 421 /checksum/SHA1/49 837s ok 422 /checksum/SHA1/50 837s ok 423 /checksum/SHA1/51 837s ok 424 /checksum/SHA1/52 837s ok 425 /checksum/SHA1/53 837s ok 426 /checksum/SHA1/54 837s ok 427 /checksum/SHA1/55 837s ok 428 /checksum/SHA1/56 837s ok 429 /checksum/SHA1/57 837s ok 430 /checksum/SHA1/58 837s ok 431 /checksum/SHA1/59 837s ok 432 /checksum/SHA1/60 837s ok 433 /checksum/SHA1/61 837s ok 434 /checksum/SHA1/62 837s ok 435 /checksum/SHA1/63 837s ok 436 /checksum/SHA1/64 837s ok 437 /checksum/SHA1/65 837s ok 438 /checksum/SHA1/66 837s ok 439 /checksum/SHA1/67 837s ok 440 /checksum/SHA1/68 837s ok 441 /checksum/SHA1/69 837s ok 442 /checksum/SHA1/70 837s ok 443 /checksum/SHA1/71 837s ok 444 /checksum/SHA1/72 837s ok 445 /checksum/SHA1/73 837s ok 446 /checksum/SHA1/74 837s ok 447 /checksum/SHA1/75 837s ok 448 /checksum/SHA1/76 837s ok 449 /checksum/SHA1/77 837s ok 450 /checksum/SHA1/78 837s ok 451 /checksum/SHA1/79 837s ok 452 /checksum/SHA1/80 837s ok 453 /checksum/SHA1/81 837s ok 454 /checksum/SHA1/82 837s ok 455 /checksum/SHA1/83 837s ok 456 /checksum/SHA1/84 837s ok 457 /checksum/SHA1/85 837s ok 458 /checksum/SHA1/86 837s ok 459 /checksum/SHA1/87 837s ok 460 /checksum/SHA1/88 837s ok 461 /checksum/SHA1/89 837s ok 462 /checksum/SHA1/90 837s ok 463 /checksum/SHA1/91 837s ok 464 /checksum/SHA1/92 837s ok 465 /checksum/SHA1/93 837s ok 466 /checksum/SHA1/94 837s ok 467 /checksum/SHA1/95 837s ok 468 /checksum/SHA1/96 837s ok 469 /checksum/SHA1/97 837s ok 470 /checksum/SHA1/98 837s ok 471 /checksum/SHA1/99 837s ok 472 /checksum/SHA1/100 837s ok 473 /checksum/SHA1/101 837s ok 474 /checksum/SHA1/102 837s ok 475 /checksum/SHA1/103 837s ok 476 /checksum/SHA1/104 837s ok 477 /checksum/SHA1/105 837s ok 478 /checksum/SHA1/106 837s ok 479 /checksum/SHA1/107 837s ok 480 /checksum/SHA1/108 837s ok 481 /checksum/SHA1/109 837s ok 482 /checksum/SHA1/110 837s ok 483 /checksum/SHA1/111 837s ok 484 /checksum/SHA1/112 837s ok 485 /checksum/SHA1/113 837s ok 486 /checksum/SHA1/114 837s ok 487 /checksum/SHA1/115 837s ok 488 /checksum/SHA1/116 837s ok 489 /checksum/SHA1/117 837s ok 490 /checksum/SHA1/118 837s ok 491 /checksum/SHA1/119 837s ok 492 /checksum/SHA1/120 837s ok 493 /checksum/SHA1/121 837s ok 494 /checksum/SHA1/122 837s ok 495 /checksum/SHA1/123 837s ok 496 /checksum/SHA1/124 837s ok 497 /checksum/SHA1/125 837s ok 498 /checksum/SHA1/126 837s ok 499 /checksum/SHA1/127 837s ok 500 /checksum/SHA1/128 837s ok 501 /checksum/SHA1/129 837s ok 502 /checksum/SHA1/130 837s ok 503 /checksum/SHA1/131 837s ok 504 /checksum/SHA1/132 837s ok 505 /checksum/SHA1/133 837s ok 506 /checksum/SHA1/134 837s ok 507 /checksum/SHA1/135 837s ok 508 /checksum/SHA1/136 837s ok 509 /checksum/SHA1/137 837s ok 510 /checksum/SHA1/138 837s ok 511 /checksum/SHA1/139 837s ok 512 /checksum/SHA1/140 837s ok 513 /checksum/SHA1/141 837s ok 514 /checksum/SHA1/142 837s ok 515 /checksum/SHA1/143 837s ok 516 /checksum/SHA1/144 837s ok 517 /checksum/SHA1/145 837s ok 518 /checksum/SHA1/146 837s ok 519 /checksum/SHA1/147 837s ok 520 /checksum/SHA1/148 837s ok 521 /checksum/SHA1/149 837s ok 522 /checksum/SHA1/150 837s ok 523 /checksum/SHA1/151 837s ok 524 /checksum/SHA1/152 837s ok 525 /checksum/SHA1/153 837s ok 526 /checksum/SHA1/154 837s ok 527 /checksum/SHA1/155 837s ok 528 /checksum/SHA1/156 837s ok 529 /checksum/SHA1/157 837s ok 530 /checksum/SHA1/158 837s ok 531 /checksum/SHA1/159 837s ok 532 /checksum/SHA1/160 837s ok 533 /checksum/SHA1/161 837s ok 534 /checksum/SHA1/162 837s ok 535 /checksum/SHA1/163 837s ok 536 /checksum/SHA1/164 837s ok 537 /checksum/SHA1/165 837s ok 538 /checksum/SHA1/166 837s ok 539 /checksum/SHA1/167 837s ok 540 /checksum/SHA1/168 837s ok 541 /checksum/SHA1/169 837s ok 542 /checksum/SHA1/170 837s ok 543 /checksum/SHA1/171 837s ok 544 /checksum/SHA1/172 837s ok 545 /checksum/SHA1/173 837s ok 546 /checksum/SHA1/174 837s ok 547 /checksum/SHA1/175 837s ok 548 /checksum/SHA1/176 837s ok 549 /checksum/SHA1/177 837s ok 550 /checksum/SHA1/178 837s ok 551 /checksum/SHA1/179 837s ok 552 /checksum/SHA1/180 837s ok 553 /checksum/SHA1/181 837s ok 554 /checksum/SHA1/182 837s ok 555 /checksum/SHA1/183 837s ok 556 /checksum/SHA1/string 837s ok 557 /checksum/SHA1/bytes 837s # Start of reset tests 837s ok 558 /checksum/SHA1/reset/0 837s ok 559 /checksum/SHA1/reset/1 837s ok 560 /checksum/SHA1/reset/2 837s ok 561 /checksum/SHA1/reset/3 837s ok 562 /checksum/SHA1/reset/4 837s ok 563 /checksum/SHA1/reset/5 837s ok 564 /checksum/SHA1/reset/6 837s ok 565 /checksum/SHA1/reset/7 837s ok 566 /checksum/SHA1/reset/8 837s ok 567 /checksum/SHA1/reset/9 837s ok 568 /checksum/SHA1/reset/10 837s ok 569 /checksum/SHA1/reset/11 837s ok 570 /checksum/SHA1/reset/12 837s ok 571 /checksum/SHA1/reset/13 837s ok 572 /checksum/SHA1/reset/14 837s ok 573 /checksum/SHA1/reset/15 837s ok 574 /checksum/SHA1/reset/16 837s ok 575 /checksum/SHA1/reset/17 837s ok 576 /checksum/SHA1/reset/18 837s ok 577 /checksum/SHA1/reset/19 837s ok 578 /checksum/SHA1/reset/20 837s ok 579 /checksum/SHA1/reset/21 837s ok 580 /checksum/SHA1/reset/22 837s ok 581 /checksum/SHA1/reset/23 837s ok 582 /checksum/SHA1/reset/24 837s ok 583 /checksum/SHA1/reset/25 837s ok 584 /checksum/SHA1/reset/26 837s ok 585 /checksum/SHA1/reset/27 837s ok 586 /checksum/SHA1/reset/28 837s ok 587 /checksum/SHA1/reset/29 837s ok 588 /checksum/SHA1/reset/30 837s ok 589 /checksum/SHA1/reset/31 837s ok 590 /checksum/SHA1/reset/32 837s ok 591 /checksum/SHA1/reset/33 837s ok 592 /checksum/SHA1/reset/34 837s ok 593 /checksum/SHA1/reset/35 837s ok 594 /checksum/SHA1/reset/36 837s ok 595 /checksum/SHA1/reset/37 837s ok 596 /checksum/SHA1/reset/38 837s ok 597 /checksum/SHA1/reset/39 837s ok 598 /checksum/SHA1/reset/40 837s ok 599 /checksum/SHA1/reset/41 837s ok 600 /checksum/SHA1/reset/42 837s ok 601 /checksum/SHA1/reset/43 837s ok 602 /checksum/SHA1/reset/44 837s ok 603 /checksum/SHA1/reset/45 837s ok 604 /checksum/SHA1/reset/46 837s ok 605 /checksum/SHA1/reset/47 837s ok 606 /checksum/SHA1/reset/48 837s ok 607 /checksum/SHA1/reset/49 837s ok 608 /checksum/SHA1/reset/50 837s ok 609 /checksum/SHA1/reset/51 837s ok 610 /checksum/SHA1/reset/52 837s ok 611 /checksum/SHA1/reset/53 837s ok 612 /checksum/SHA1/reset/54 837s ok 613 /checksum/SHA1/reset/55 837s ok 614 /checksum/SHA1/reset/56 837s ok 615 /checksum/SHA1/reset/57 837s ok 616 /checksum/SHA1/reset/58 837s ok 617 /checksum/SHA1/reset/59 837s ok 618 /checksum/SHA1/reset/60 837s ok 619 /checksum/SHA1/reset/61 837s ok 620 /checksum/SHA1/reset/62 837s ok 621 /checksum/SHA1/reset/63 837s ok 622 /checksum/SHA1/reset/64 837s ok 623 /checksum/SHA1/reset/65 837s ok 624 /checksum/SHA1/reset/66 837s ok 625 /checksum/SHA1/reset/67 837s ok 626 /checksum/SHA1/reset/68 837s ok 627 /checksum/SHA1/reset/69 837s ok 628 /checksum/SHA1/reset/70 837s ok 629 /checksum/SHA1/reset/71 837s ok 630 /checksum/SHA1/reset/72 837s ok 631 /checksum/SHA1/reset/73 837s ok 632 /checksum/SHA1/reset/74 837s ok 633 /checksum/SHA1/reset/75 837s ok 634 /checksum/SHA1/reset/76 837s ok 635 /checksum/SHA1/reset/77 837s ok 636 /checksum/SHA1/reset/78 837s ok 637 /checksum/SHA1/reset/79 837s ok 638 /checksum/SHA1/reset/80 837s ok 639 /checksum/SHA1/reset/81 837s ok 640 /checksum/SHA1/reset/82 837s ok 641 /checksum/SHA1/reset/83 837s ok 642 /checksum/SHA1/reset/84 837s ok 643 /checksum/SHA1/reset/85 837s ok 644 /checksum/SHA1/reset/86 837s ok 645 /checksum/SHA1/reset/87 837s ok 646 /checksum/SHA1/reset/88 837s ok 647 /checksum/SHA1/reset/89 837s ok 648 /checksum/SHA1/reset/90 837s ok 649 /checksum/SHA1/reset/91 837s ok 650 /checksum/SHA1/reset/92 837s ok 651 /checksum/SHA1/reset/93 837s ok 652 /checksum/SHA1/reset/94 837s ok 653 /checksum/SHA1/reset/95 837s ok 654 /checksum/SHA1/reset/96 837s ok 655 /checksum/SHA1/reset/97 837s ok 656 /checksum/SHA1/reset/98 837s ok 657 /checksum/SHA1/reset/99 837s ok 658 /checksum/SHA1/reset/100 837s ok 659 /checksum/SHA1/reset/101 837s ok 660 /checksum/SHA1/reset/102 837s ok 661 /checksum/SHA1/reset/103 837s ok 662 /checksum/SHA1/reset/104 837s ok 663 /checksum/SHA1/reset/105 837s ok 664 /checksum/SHA1/reset/106 837s ok 665 /checksum/SHA1/reset/107 837s ok 666 /checksum/SHA1/reset/108 837s ok 667 /checksum/SHA1/reset/109 837s ok 668 /checksum/SHA1/reset/110 837s ok 669 /checksum/SHA1/reset/111 837s ok 670 /checksum/SHA1/reset/112 837s ok 671 /checksum/SHA1/reset/113 837s ok 672 /checksum/SHA1/reset/114 837s ok 673 /checksum/SHA1/reset/115 837s ok 674 /checksum/SHA1/reset/116 837s ok 675 /checksum/SHA1/reset/117 837s ok 676 /checksum/SHA1/reset/118 837s ok 677 /checksum/SHA1/reset/119 837s ok 678 /checksum/SHA1/reset/120 837s ok 679 /checksum/SHA1/reset/121 837s ok 680 /checksum/SHA1/reset/122 837s ok 681 /checksum/SHA1/reset/123 837s ok 682 /checksum/SHA1/reset/124 837s ok 683 /checksum/SHA1/reset/125 837s ok 684 /checksum/SHA1/reset/126 837s ok 685 /checksum/SHA1/reset/127 837s ok 686 /checksum/SHA1/reset/128 837s ok 687 /checksum/SHA1/reset/129 837s ok 688 /checksum/SHA1/reset/130 837s ok 689 /checksum/SHA1/reset/131 837s ok 690 /checksum/SHA1/reset/132 837s ok 691 /checksum/SHA1/reset/133 837s ok 692 /checksum/SHA1/reset/134 837s ok 693 /checksum/SHA1/reset/135 837s ok 694 /checksum/SHA1/reset/136 837s ok 695 /checksum/SHA1/reset/137 837s ok 696 /checksum/SHA1/reset/138 837s ok 697 /checksum/SHA1/reset/139 837s ok 698 /checksum/SHA1/reset/140 837s ok 699 /checksum/SHA1/reset/141 837s ok 700 /checksum/SHA1/reset/142 837s ok 701 /checksum/SHA1/reset/143 837s ok 702 /checksum/SHA1/reset/144 837s ok 703 /checksum/SHA1/reset/145 837s ok 704 /checksum/SHA1/reset/146 837s ok 705 /checksum/SHA1/reset/147 837s ok 706 /checksum/SHA1/reset/148 837s ok 707 /checksum/SHA1/reset/149 837s ok 708 /checksum/SHA1/reset/150 837s ok 709 /checksum/SHA1/reset/151 837s ok 710 /checksum/SHA1/reset/152 837s ok 711 /checksum/SHA1/reset/153 837s ok 712 /checksum/SHA1/reset/154 837s ok 713 /checksum/SHA1/reset/155 837s ok 714 /checksum/SHA1/reset/156 837s ok 715 /checksum/SHA1/reset/157 837s ok 716 /checksum/SHA1/reset/158 837s ok 717 /checksum/SHA1/reset/159 837s ok 718 /checksum/SHA1/reset/160 837s ok 719 /checksum/SHA1/reset/161 837s ok 720 /checksum/SHA1/reset/162 837s ok 721 /checksum/SHA1/reset/163 837s ok 722 /checksum/SHA1/reset/164 837s ok 723 /checksum/SHA1/reset/165 837s ok 724 /checksum/SHA1/reset/166 837s ok 725 /checksum/SHA1/reset/167 837s ok 726 /checksum/SHA1/reset/168 837s ok 727 /checksum/SHA1/reset/169 837s ok 728 /checksum/SHA1/reset/170 837s ok 729 /checksum/SHA1/reset/171 837s ok 730 /checksum/SHA1/reset/172 837s ok 731 /checksum/SHA1/reset/173 837s ok 732 /checksum/SHA1/reset/174 837s ok 733 /checksum/SHA1/reset/175 837s ok 734 /checksum/SHA1/reset/176 837s ok 735 /checksum/SHA1/reset/177 837s ok 736 /checksum/SHA1/reset/178 837s ok 737 /checksum/SHA1/reset/179 837s ok 738 /checksum/SHA1/reset/180 837s ok 739 /checksum/SHA1/reset/181 837s ok 740 /checksum/SHA1/reset/182 837s ok 741 /checksum/SHA1/reset/183 837s # End of reset tests 837s # End of SHA1 tests 837s # Start of SHA256 tests 837s ok 742 /checksum/SHA256/0 837s ok 743 /checksum/SHA256/1 837s ok 744 /checksum/SHA256/2 837s ok 745 /checksum/SHA256/3 837s ok 746 /checksum/SHA256/4 837s ok 747 /checksum/SHA256/5 837s ok 748 /checksum/SHA256/6 837s ok 749 /checksum/SHA256/7 837s ok 750 /checksum/SHA256/8 837s ok 751 /checksum/SHA256/9 837s ok 752 /checksum/SHA256/10 837s ok 753 /checksum/SHA256/11 837s ok 754 /checksum/SHA256/12 837s ok 755 /checksum/SHA256/13 837s ok 756 /checksum/SHA256/14 837s ok 757 /checksum/SHA256/15 837s ok 758 /checksum/SHA256/16 837s ok 759 /checksum/SHA256/17 837s ok 760 /checksum/SHA256/18 837s ok 761 /checksum/SHA256/19 837s ok 762 /checksum/SHA256/20 837s ok 763 /checksum/SHA256/21 837s ok 764 /checksum/SHA256/22 837s ok 765 /checksum/SHA256/23 837s ok 766 /checksum/SHA256/24 837s ok 767 /checksum/SHA256/25 837s ok 768 /checksum/SHA256/26 837s ok 769 /checksum/SHA256/27 837s ok 770 /checksum/SHA256/28 837s ok 771 /checksum/SHA256/29 837s ok 772 /checksum/SHA256/30 837s ok 773 /checksum/SHA256/31 837s ok 774 /checksum/SHA256/32 837s ok 775 /checksum/SHA256/33 837s ok 776 /checksum/SHA256/34 837s ok 777 /checksum/SHA256/35 837s ok 778 /checksum/SHA256/36 837s ok 779 /checksum/SHA256/37 837s ok 780 /checksum/SHA256/38 837s ok 781 /checksum/SHA256/39 837s ok 782 /checksum/SHA256/40 837s ok 783 /checksum/SHA256/41 837s ok 784 /checksum/SHA256/42 837s ok 785 /checksum/SHA256/43 837s ok 786 /checksum/SHA256/44 837s ok 787 /checksum/SHA256/45 837s ok 788 /checksum/SHA256/46 837s ok 789 /checksum/SHA256/47 837s ok 790 /checksum/SHA256/48 837s ok 791 /checksum/SHA256/49 837s ok 792 /checksum/SHA256/50 837s ok 793 /checksum/SHA256/51 837s ok 794 /checksum/SHA256/52 837s ok 795 /checksum/SHA256/53 837s ok 796 /checksum/SHA256/54 837s ok 797 /checksum/SHA256/55 837s ok 798 /checksum/SHA256/56 837s ok 799 /checksum/SHA256/57 837s ok 800 /checksum/SHA256/58 837s ok 801 /checksum/SHA256/59 837s ok 802 /checksum/SHA256/60 837s ok 803 /checksum/SHA256/61 837s ok 804 /checksum/SHA256/62 837s ok 805 /checksum/SHA256/63 837s ok 806 /checksum/SHA256/64 837s ok 807 /checksum/SHA256/65 837s ok 808 /checksum/SHA256/66 837s ok 809 /checksum/SHA256/67 837s ok 810 /checksum/SHA256/68 837s ok 811 /checksum/SHA256/69 837s ok 812 /checksum/SHA256/70 837s ok 813 /checksum/SHA256/71 837s ok 814 /checksum/SHA256/72 837s ok 815 /checksum/SHA256/73 837s ok 816 /checksum/SHA256/74 837s ok 817 /checksum/SHA256/75 837s ok 818 /checksum/SHA256/76 837s ok 819 /checksum/SHA256/77 837s ok 820 /checksum/SHA256/78 837s ok 821 /checksum/SHA256/79 837s ok 822 /checksum/SHA256/80 837s ok 823 /checksum/SHA256/81 837s ok 824 /checksum/SHA256/82 837s ok 825 /checksum/SHA256/83 837s ok 826 /checksum/SHA256/84 837s ok 827 /checksum/SHA256/85 837s ok 828 /checksum/SHA256/86 837s ok 829 /checksum/SHA256/87 837s ok 830 /checksum/SHA256/88 837s ok 831 /checksum/SHA256/89 837s ok 832 /checksum/SHA256/90 837s ok 833 /checksum/SHA256/91 837s ok 834 /checksum/SHA256/92 837s ok 835 /checksum/SHA256/93 837s ok 836 /checksum/SHA256/94 837s ok 837 /checksum/SHA256/95 837s ok 838 /checksum/SHA256/96 837s ok 839 /checksum/SHA256/97 837s ok 840 /checksum/SHA256/98 837s ok 841 /checksum/SHA256/99 837s ok 842 /checksum/SHA256/100 837s ok 843 /checksum/SHA256/101 837s ok 844 /checksum/SHA256/102 837s ok 845 /checksum/SHA256/103 837s ok 846 /checksum/SHA256/104 837s ok 847 /checksum/SHA256/105 837s ok 848 /checksum/SHA256/106 837s ok 849 /checksum/SHA256/107 837s ok 850 /checksum/SHA256/108 837s ok 851 /checksum/SHA256/109 837s ok 852 /checksum/SHA256/110 837s ok 853 /checksum/SHA256/111 837s ok 854 /checksum/SHA256/112 837s ok 855 /checksum/SHA256/113 837s ok 856 /checksum/SHA256/114 837s ok 857 /checksum/SHA256/115 837s ok 858 /checksum/SHA256/116 837s ok 859 /checksum/SHA256/117 837s ok 860 /checksum/SHA256/118 837s ok 861 /checksum/SHA256/119 837s ok 862 /checksum/SHA256/120 837s ok 863 /checksum/SHA256/121 837s ok 864 /checksum/SHA256/122 837s ok 865 /checksum/SHA256/123 837s ok 866 /checksum/SHA256/124 837s ok 867 /checksum/SHA256/125 837s ok 868 /checksum/SHA256/126 837s ok 869 /checksum/SHA256/127 837s ok 870 /checksum/SHA256/128 837s ok 871 /checksum/SHA256/129 837s ok 872 /checksum/SHA256/130 837s ok 873 /checksum/SHA256/131 837s ok 874 /checksum/SHA256/132 837s ok 875 /checksum/SHA256/133 837s ok 876 /checksum/SHA256/134 837s ok 877 /checksum/SHA256/135 837s ok 878 /checksum/SHA256/136 837s ok 879 /checksum/SHA256/137 837s ok 880 /checksum/SHA256/138 837s ok 881 /checksum/SHA256/139 837s ok 882 /checksum/SHA256/140 837s ok 883 /checksum/SHA256/141 837s ok 884 /checksum/SHA256/142 837s ok 885 /checksum/SHA256/143 837s ok 886 /checksum/SHA256/144 837s ok 887 /checksum/SHA256/145 837s ok 888 /checksum/SHA256/146 837s ok 889 /checksum/SHA256/147 837s ok 890 /checksum/SHA256/148 837s ok 891 /checksum/SHA256/149 837s ok 892 /checksum/SHA256/150 837s ok 893 /checksum/SHA256/151 837s ok 894 /checksum/SHA256/152 837s ok 895 /checksum/SHA256/153 837s ok 896 /checksum/SHA256/154 837s ok 897 /checksum/SHA256/155 837s ok 898 /checksum/SHA256/156 837s ok 899 /checksum/SHA256/157 837s ok 900 /checksum/SHA256/158 837s ok 901 /checksum/SHA256/159 837s ok 902 /checksum/SHA256/160 837s ok 903 /checksum/SHA256/161 837s ok 904 /checksum/SHA256/162 837s ok 905 /checksum/SHA256/163 837s ok 906 /checksum/SHA256/164 837s ok 907 /checksum/SHA256/165 837s ok 908 /checksum/SHA256/166 837s ok 909 /checksum/SHA256/167 837s ok 910 /checksum/SHA256/168 837s ok 911 /checksum/SHA256/169 837s ok 912 /checksum/SHA256/170 837s ok 913 /checksum/SHA256/171 837s ok 914 /checksum/SHA256/172 837s ok 915 /checksum/SHA256/173 837s ok 916 /checksum/SHA256/174 837s ok 917 /checksum/SHA256/175 837s ok 918 /checksum/SHA256/176 837s ok 919 /checksum/SHA256/177 837s ok 920 /checksum/SHA256/178 837s ok 921 /checksum/SHA256/179 837s ok 922 /checksum/SHA256/180 837s ok 923 /checksum/SHA256/181 837s ok 924 /checksum/SHA256/182 837s ok 925 /checksum/SHA256/183 837s ok 926 /checksum/SHA256/string 837s ok 927 /checksum/SHA256/bytes 837s # Start of reset tests 837s ok 928 /checksum/SHA256/reset/0 837s ok 929 /checksum/SHA256/reset/1 837s ok 930 /checksum/SHA256/reset/2 837s ok 931 /checksum/SHA256/reset/3 837s ok 932 /checksum/SHA256/reset/4 837s ok 933 /checksum/SHA256/reset/5 837s ok 934 /checksum/SHA256/reset/6 837s ok 935 /checksum/SHA256/reset/7 837s ok 936 /checksum/SHA256/reset/8 837s ok 937 /checksum/SHA256/reset/9 837s ok 938 /checksum/SHA256/reset/10 837s ok 939 /checksum/SHA256/reset/11 837s ok 940 /checksum/SHA256/reset/12 837s ok 941 /checksum/SHA256/reset/13 837s ok 942 /checksum/SHA256/reset/14 837s ok 943 /checksum/SHA256/reset/15 837s ok 944 /checksum/SHA256/reset/16 837s ok 945 /checksum/SHA256/reset/17 837s ok 946 /checksum/SHA256/reset/18 837s ok 947 /checksum/SHA256/reset/19 837s ok 948 /checksum/SHA256/reset/20 837s ok 949 /checksum/SHA256/reset/21 837s ok 950 /checksum/SHA256/reset/22 837s ok 951 /checksum/SHA256/reset/23 837s ok 952 /checksum/SHA256/reset/24 837s ok 953 /checksum/SHA256/reset/25 837s ok 954 /checksum/SHA256/reset/26 837s ok 955 /checksum/SHA256/reset/27 837s ok 956 /checksum/SHA256/reset/28 837s ok 957 /checksum/SHA256/reset/29 837s ok 958 /checksum/SHA256/reset/30 837s ok 959 /checksum/SHA256/reset/31 837s ok 960 /checksum/SHA256/reset/32 837s ok 961 /checksum/SHA256/reset/33 837s ok 962 /checksum/SHA256/reset/34 837s ok 963 /checksum/SHA256/reset/35 837s ok 964 /checksum/SHA256/reset/36 837s ok 965 /checksum/SHA256/reset/37 837s ok 966 /checksum/SHA256/reset/38 837s ok 967 /checksum/SHA256/reset/39 837s ok 968 /checksum/SHA256/reset/40 837s ok 969 /checksum/SHA256/reset/41 837s ok 970 /checksum/SHA256/reset/42 837s ok 971 /checksum/SHA256/reset/43 837s ok 972 /checksum/SHA256/reset/44 837s ok 973 /checksum/SHA256/reset/45 837s ok 974 /checksum/SHA256/reset/46 837s ok 975 /checksum/SHA256/reset/47 837s ok 976 /checksum/SHA256/reset/48 837s ok 977 /checksum/SHA256/reset/49 837s ok 978 /checksum/SHA256/reset/50 837s ok 979 /checksum/SHA256/reset/51 837s ok 980 /checksum/SHA256/reset/52 837s ok 981 /checksum/SHA256/reset/53 837s ok 982 /checksum/SHA256/reset/54 837s ok 983 /checksum/SHA256/reset/55 837s ok 984 /checksum/SHA256/reset/56 837s ok 985 /checksum/SHA256/reset/57 837s ok 986 /checksum/SHA256/reset/58 837s ok 987 /checksum/SHA256/reset/59 837s ok 988 /checksum/SHA256/reset/60 837s ok 989 /checksum/SHA256/reset/61 837s ok 990 /checksum/SHA256/reset/62 837s ok 991 /checksum/SHA256/reset/63 837s ok 992 /checksum/SHA256/reset/64 837s ok 993 /checksum/SHA256/reset/65 837s ok 994 /checksum/SHA256/reset/66 837s ok 995 /checksum/SHA256/reset/67 837s ok 996 /checksum/SHA256/reset/68 837s ok 997 /checksum/SHA256/reset/69 837s ok 998 /checksum/SHA256/reset/70 837s ok 999 /checksum/SHA256/reset/71 837s ok 1000 /checksum/SHA256/reset/72 837s ok 1001 /checksum/SHA256/reset/73 837s ok 1002 /checksum/SHA256/reset/74 837s ok 1003 /checksum/SHA256/reset/75 837s ok 1004 /checksum/SHA256/reset/76 837s ok 1005 /checksum/SHA256/reset/77 837s ok 1006 /checksum/SHA256/reset/78 837s ok 1007 /checksum/SHA256/reset/79 837s ok 1008 /checksum/SHA256/reset/80 837s ok 1009 /checksum/SHA256/reset/81 837s ok 1010 /checksum/SHA256/reset/82 837s ok 1011 /checksum/SHA256/reset/83 837s ok 1012 /checksum/SHA256/reset/84 837s ok 1013 /checksum/SHA256/reset/85 837s ok 1014 /checksum/SHA256/reset/86 837s ok 1015 /checksum/SHA256/reset/87 837s ok 1016 /checksum/SHA256/reset/88 837s ok 1017 /checksum/SHA256/reset/89 837s ok 1018 /checksum/SHA256/reset/90 837s ok 1019 /checksum/SHA256/reset/91 837s ok 1020 /checksum/SHA256/reset/92 837s ok 1021 /checksum/SHA256/reset/93 837s ok 1022 /checksum/SHA256/reset/94 837s ok 1023 /checksum/SHA256/reset/95 837s ok 1024 /checksum/SHA256/reset/96 837s ok 1025 /checksum/SHA256/reset/97 837s ok 1026 /checksum/SHA256/reset/98 837s ok 1027 /checksum/SHA256/reset/99 837s ok 1028 /checksum/SHA256/reset/100 837s ok 1029 /checksum/SHA256/reset/101 837s ok 1030 /checksum/SHA256/reset/102 837s ok 1031 /checksum/SHA256/reset/103 837s ok 1032 /checksum/SHA256/reset/104 837s ok 1033 /checksum/SHA256/reset/105 837s ok 1034 /checksum/SHA256/reset/106 837s ok 1035 /checksum/SHA256/reset/107 837s ok 1036 /checksum/SHA256/reset/108 837s ok 1037 /checksum/SHA256/reset/109 837s ok 1038 /checksum/SHA256/reset/110 837s ok 1039 /checksum/SHA256/reset/111 837s ok 1040 /checksum/SHA256/reset/112 837s ok 1041 /checksum/SHA256/reset/113 837s ok 1042 /checksum/SHA256/reset/114 837s ok 1043 /checksum/SHA256/reset/115 837s ok 1044 /checksum/SHA256/reset/116 837s ok 1045 /checksum/SHA256/reset/117 837s ok 1046 /checksum/SHA256/reset/118 837s ok 1047 /checksum/SHA256/reset/119 837s ok 1048 /checksum/SHA256/reset/120 837s ok 1049 /checksum/SHA256/reset/121 837s ok 1050 /checksum/SHA256/reset/122 837s ok 1051 /checksum/SHA256/reset/123 837s ok 1052 /checksum/SHA256/reset/124 837s ok 1053 /checksum/SHA256/reset/125 837s ok 1054 /checksum/SHA256/reset/126 837s ok 1055 /checksum/SHA256/reset/127 837s ok 1056 /checksum/SHA256/reset/128 837s ok 1057 /checksum/SHA256/reset/129 837s ok 1058 /checksum/SHA256/reset/130 837s ok 1059 /checksum/SHA256/reset/131 837s ok 1060 /checksum/SHA256/reset/132 837s ok 1061 /checksum/SHA256/reset/133 837s ok 1062 /checksum/SHA256/reset/134 837s ok 1063 /checksum/SHA256/reset/135 837s ok 1064 /checksum/SHA256/reset/136 837s ok 1065 /checksum/SHA256/reset/137 837s ok 1066 /checksum/SHA256/reset/138 837s ok 1067 /checksum/SHA256/reset/139 837s ok 1068 /checksum/SHA256/reset/140 837s ok 1069 /checksum/SHA256/reset/141 837s ok 1070 /checksum/SHA256/reset/142 837s ok 1071 /checksum/SHA256/reset/143 837s ok 1072 /checksum/SHA256/reset/144 837s ok 1073 /checksum/SHA256/reset/145 837s ok 1074 /checksum/SHA256/reset/146 837s ok 1075 /checksum/SHA256/reset/147 837s ok 1076 /checksum/SHA256/reset/148 837s ok 1077 /checksum/SHA256/reset/149 837s ok 1078 /checksum/SHA256/reset/150 837s ok 1079 /checksum/SHA256/reset/151 837s ok 1080 /checksum/SHA256/reset/152 837s ok 1081 /checksum/SHA256/reset/153 837s ok 1082 /checksum/SHA256/reset/154 837s ok 1083 /checksum/SHA256/reset/155 837s ok 1084 /checksum/SHA256/reset/156 837s ok 1085 /checksum/SHA256/reset/157 837s ok 1086 /checksum/SHA256/reset/158 837s ok 1087 /checksum/SHA256/reset/159 837s ok 1088 /checksum/SHA256/reset/160 837s ok 1089 /checksum/SHA256/reset/161 837s ok 1090 /checksum/SHA256/reset/162 837s ok 1091 /checksum/SHA256/reset/163 837s ok 1092 /checksum/SHA256/reset/164 837s ok 1093 /checksum/SHA256/reset/165 837s ok 1094 /checksum/SHA256/reset/166 837s ok 1095 /checksum/SHA256/reset/167 837s ok 1096 /checksum/SHA256/reset/168 837s ok 1097 /checksum/SHA256/reset/169 837s ok 1098 /checksum/SHA256/reset/170 837s ok 1099 /checksum/SHA256/reset/171 837s ok 1100 /checksum/SHA256/reset/172 837s ok 1101 /checksum/SHA256/reset/173 837s ok 1102 /checksum/SHA256/reset/174 837s ok 1103 /checksum/SHA256/reset/175 837s ok 1104 /checksum/SHA256/reset/176 837s ok 1105 /checksum/SHA256/reset/177 837s ok 1106 /checksum/SHA256/reset/178 837s ok 1107 /checksum/SHA256/reset/179 837s ok 1108 /checksum/SHA256/reset/180 837s ok 1109 /checksum/SHA256/reset/181 837s ok 1110 /checksum/SHA256/reset/182 837s ok 1111 /checksum/SHA256/reset/183 837s # End of reset tests 837s # End of SHA256 tests 837s # Start of SHA384 tests 837s ok 1112 /checksum/SHA384/0 837s ok 1113 /checksum/SHA384/1 837s ok 1114 /checksum/SHA384/2 837s ok 1115 /checksum/SHA384/3 837s ok 1116 /checksum/SHA384/4 837s ok 1117 /checksum/SHA384/5 837s ok 1118 /checksum/SHA384/6 837s ok 1119 /checksum/SHA384/7 837s ok 1120 /checksum/SHA384/8 837s ok 1121 /checksum/SHA384/9 837s ok 1122 /checksum/SHA384/10 837s ok 1123 /checksum/SHA384/11 837s ok 1124 /checksum/SHA384/12 837s ok 1125 /checksum/SHA384/13 837s ok 1126 /checksum/SHA384/14 837s ok 1127 /checksum/SHA384/15 837s ok 1128 /checksum/SHA384/16 837s ok 1129 /checksum/SHA384/17 837s ok 1130 /checksum/SHA384/18 837s ok 1131 /checksum/SHA384/19 837s ok 1132 /checksum/SHA384/20 837s ok 1133 /checksum/SHA384/21 837s ok 1134 /checksum/SHA384/22 837s ok 1135 /checksum/SHA384/23 837s ok 1136 /checksum/SHA384/24 837s ok 1137 /checksum/SHA384/25 837s ok 1138 /checksum/SHA384/26 837s ok 1139 /checksum/SHA384/27 837s ok 1140 /checksum/SHA384/28 837s ok 1141 /checksum/SHA384/29 837s ok 1142 /checksum/SHA384/30 837s ok 1143 /checksum/SHA384/31 837s ok 1144 /checksum/SHA384/32 837s ok 1145 /checksum/SHA384/33 837s ok 1146 /checksum/SHA384/34 837s ok 1147 /checksum/SHA384/35 837s ok 1148 /checksum/SHA384/36 837s ok 1149 /checksum/SHA384/37 837s ok 1150 /checksum/SHA384/38 837s ok 1151 /checksum/SHA384/39 837s ok 1152 /checksum/SHA384/40 837s ok 1153 /checksum/SHA384/41 837s ok 1154 /checksum/SHA384/42 837s ok 1155 /checksum/SHA384/43 837s ok 1156 /checksum/SHA384/44 837s ok 1157 /checksum/SHA384/45 837s ok 1158 /checksum/SHA384/46 837s ok 1159 /checksum/SHA384/47 837s ok 1160 /checksum/SHA384/48 837s ok 1161 /checksum/SHA384/49 837s ok 1162 /checksum/SHA384/50 837s ok 1163 /checksum/SHA384/51 837s ok 1164 /checksum/SHA384/52 837s ok 1165 /checksum/SHA384/53 837s ok 1166 /checksum/SHA384/54 837s ok 1167 /checksum/SHA384/55 837s ok 1168 /checksum/SHA384/56 837s ok 1169 /checksum/SHA384/57 837s ok 1170 /checksum/SHA384/58 837s ok 1171 /checksum/SHA384/59 837s ok 1172 /checksum/SHA384/60 837s ok 1173 /checksum/SHA384/61 837s ok 1174 /checksum/SHA384/62 837s ok 1175 /checksum/SHA384/63 837s ok 1176 /checksum/SHA384/64 837s ok 1177 /checksum/SHA384/65 837s ok 1178 /checksum/SHA384/66 837s ok 1179 /checksum/SHA384/67 837s ok 1180 /checksum/SHA384/68 837s ok 1181 /checksum/SHA384/69 837s ok 1182 /checksum/SHA384/70 837s ok 1183 /checksum/SHA384/71 837s ok 1184 /checksum/SHA384/72 837s ok 1185 /checksum/SHA384/73 837s ok 1186 /checksum/SHA384/74 837s ok 1187 /checksum/SHA384/75 837s ok 1188 /checksum/SHA384/76 837s ok 1189 /checksum/SHA384/77 837s ok 1190 /checksum/SHA384/78 837s ok 1191 /checksum/SHA384/79 837s ok 1192 /checksum/SHA384/80 837s ok 1193 /checksum/SHA384/81 837s ok 1194 /checksum/SHA384/82 837s ok 1195 /checksum/SHA384/83 837s ok 1196 /checksum/SHA384/84 837s ok 1197 /checksum/SHA384/85 837s ok 1198 /checksum/SHA384/86 837s ok 1199 /checksum/SHA384/87 837s ok 1200 /checksum/SHA384/88 837s ok 1201 /checksum/SHA384/89 837s ok 1202 /checksum/SHA384/90 837s ok 1203 /checksum/SHA384/91 837s ok 1204 /checksum/SHA384/92 837s ok 1205 /checksum/SHA384/93 837s ok 1206 /checksum/SHA384/94 837s ok 1207 /checksum/SHA384/95 837s ok 1208 /checksum/SHA384/96 837s ok 1209 /checksum/SHA384/97 837s ok 1210 /checksum/SHA384/98 837s ok 1211 /checksum/SHA384/99 837s ok 1212 /checksum/SHA384/100 837s ok 1213 /checksum/SHA384/101 837s ok 1214 /checksum/SHA384/102 837s ok 1215 /checksum/SHA384/103 837s ok 1216 /checksum/SHA384/104 837s ok 1217 /checksum/SHA384/105 837s ok 1218 /checksum/SHA384/106 837s ok 1219 /checksum/SHA384/107 837s ok 1220 /checksum/SHA384/108 837s ok 1221 /checksum/SHA384/109 837s ok 1222 /checksum/SHA384/110 837s ok 1223 /checksum/SHA384/111 837s ok 1224 /checksum/SHA384/112 837s ok 1225 /checksum/SHA384/113 837s ok 1226 /checksum/SHA384/114 837s ok 1227 /checksum/SHA384/115 837s ok 1228 /checksum/SHA384/116 837s ok 1229 /checksum/SHA384/117 837s ok 1230 /checksum/SHA384/118 837s ok 1231 /checksum/SHA384/119 837s ok 1232 /checksum/SHA384/120 837s ok 1233 /checksum/SHA384/121 837s ok 1234 /checksum/SHA384/122 837s ok 1235 /checksum/SHA384/123 837s ok 1236 /checksum/SHA384/124 837s ok 1237 /checksum/SHA384/125 837s ok 1238 /checksum/SHA384/126 837s ok 1239 /checksum/SHA384/127 837s ok 1240 /checksum/SHA384/128 837s ok 1241 /checksum/SHA384/129 837s ok 1242 /checksum/SHA384/130 837s ok 1243 /checksum/SHA384/131 837s ok 1244 /checksum/SHA384/132 837s ok 1245 /checksum/SHA384/133 837s ok 1246 /checksum/SHA384/134 837s ok 1247 /checksum/SHA384/135 837s ok 1248 /checksum/SHA384/136 837s ok 1249 /checksum/SHA384/137 837s ok 1250 /checksum/SHA384/138 837s ok 1251 /checksum/SHA384/139 837s ok 1252 /checksum/SHA384/140 837s ok 1253 /checksum/SHA384/141 837s ok 1254 /checksum/SHA384/142 837s ok 1255 /checksum/SHA384/143 837s ok 1256 /checksum/SHA384/144 837s ok 1257 /checksum/SHA384/145 837s ok 1258 /checksum/SHA384/146 837s ok 1259 /checksum/SHA384/147 837s ok 1260 /checksum/SHA384/148 837s ok 1261 /checksum/SHA384/149 837s ok 1262 /checksum/SHA384/150 837s ok 1263 /checksum/SHA384/151 837s ok 1264 /checksum/SHA384/152 837s ok 1265 /checksum/SHA384/153 837s ok 1266 /checksum/SHA384/154 837s ok 1267 /checksum/SHA384/155 837s ok 1268 /checksum/SHA384/156 837s ok 1269 /checksum/SHA384/157 837s ok 1270 /checksum/SHA384/158 837s ok 1271 /checksum/SHA384/159 837s ok 1272 /checksum/SHA384/160 837s ok 1273 /checksum/SHA384/161 837s ok 1274 /checksum/SHA384/162 837s ok 1275 /checksum/SHA384/163 837s ok 1276 /checksum/SHA384/164 837s ok 1277 /checksum/SHA384/165 837s ok 1278 /checksum/SHA384/166 837s ok 1279 /checksum/SHA384/167 837s ok 1280 /checksum/SHA384/168 837s ok 1281 /checksum/SHA384/169 837s ok 1282 /checksum/SHA384/170 837s ok 1283 /checksum/SHA384/171 837s ok 1284 /checksum/SHA384/172 837s ok 1285 /checksum/SHA384/173 837s ok 1286 /checksum/SHA384/174 837s ok 1287 /checksum/SHA384/175 837s ok 1288 /checksum/SHA384/176 837s ok 1289 /checksum/SHA384/177 837s ok 1290 /checksum/SHA384/178 837s ok 1291 /checksum/SHA384/179 837s ok 1292 /checksum/SHA384/180 837s ok 1293 /checksum/SHA384/181 837s ok 1294 /checksum/SHA384/182 837s ok 1295 /checksum/SHA384/183 837s ok 1296 /checksum/SHA384/string 837s ok 1297 /checksum/SHA384/bytes 837s # Start of reset tests 837s ok 1298 /checksum/SHA384/reset/0 837s ok 1299 /checksum/SHA384/reset/1 837s ok 1300 /checksum/SHA384/reset/2 837s ok 1301 /checksum/SHA384/reset/3 837s ok 1302 /checksum/SHA384/reset/4 837s ok 1303 /checksum/SHA384/reset/5 837s ok 1304 /checksum/SHA384/reset/6 837s ok 1305 /checksum/SHA384/reset/7 837s ok 1306 /checksum/SHA384/reset/8 837s ok 1307 /checksum/SHA384/reset/9 837s ok 1308 /checksum/SHA384/reset/10 837s ok 1309 /checksum/SHA384/reset/11 837s ok 1310 /checksum/SHA384/reset/12 837s ok 1311 /checksum/SHA384/reset/13 837s ok 1312 /checksum/SHA384/reset/14 837s ok 1313 /checksum/SHA384/reset/15 837s ok 1314 /checksum/SHA384/reset/16 837s ok 1315 /checksum/SHA384/reset/17 837s ok 1316 /checksum/SHA384/reset/18 837s ok 1317 /checksum/SHA384/reset/19 837s ok 1318 /checksum/SHA384/reset/20 837s ok 1319 /checksum/SHA384/reset/21 837s ok 1320 /checksum/SHA384/reset/22 837s ok 1321 /checksum/SHA384/reset/23 837s ok 1322 /checksum/SHA384/reset/24 837s ok 1323 /checksum/SHA384/reset/25 837s ok 1324 /checksum/SHA384/reset/26 837s ok 1325 /checksum/SHA384/reset/27 837s ok 1326 /checksum/SHA384/reset/28 837s ok 1327 /checksum/SHA384/reset/29 837s ok 1328 /checksum/SHA384/reset/30 837s ok 1329 /checksum/SHA384/reset/31 837s ok 1330 /checksum/SHA384/reset/32 837s ok 1331 /checksum/SHA384/reset/33 837s ok 1332 /checksum/SHA384/reset/34 837s ok 1333 /checksum/SHA384/reset/35 837s ok 1334 /checksum/SHA384/reset/36 837s ok 1335 /checksum/SHA384/reset/37 837s ok 1336 /checksum/SHA384/reset/38 837s ok 1337 /checksum/SHA384/reset/39 837s ok 1338 /checksum/SHA384/reset/40 837s ok 1339 /checksum/SHA384/reset/41 837s ok 1340 /checksum/SHA384/reset/42 837s ok 1341 /checksum/SHA384/reset/43 837s ok 1342 /checksum/SHA384/reset/44 837s ok 1343 /checksum/SHA384/reset/45 837s ok 1344 /checksum/SHA384/reset/46 837s ok 1345 /checksum/SHA384/reset/47 837s ok 1346 /checksum/SHA384/reset/48 837s ok 1347 /checksum/SHA384/reset/49 837s ok 1348 /checksum/SHA384/reset/50 837s ok 1349 /checksum/SHA384/reset/51 837s ok 1350 /checksum/SHA384/reset/52 837s ok 1351 /checksum/SHA384/reset/53 837s ok 1352 /checksum/SHA384/reset/54 837s ok 1353 /checksum/SHA384/reset/55 837s ok 1354 /checksum/SHA384/reset/56 837s ok 1355 /checksum/SHA384/reset/57 837s ok 1356 /checksum/SHA384/reset/58 837s ok 1357 /checksum/SHA384/reset/59 837s ok 1358 /checksum/SHA384/reset/60 837s ok 1359 /checksum/SHA384/reset/61 837s ok 1360 /checksum/SHA384/reset/62 837s ok 1361 /checksum/SHA384/reset/63 837s ok 1362 /checksum/SHA384/reset/64 837s ok 1363 /checksum/SHA384/reset/65 837s ok 1364 /checksum/SHA384/reset/66 837s ok 1365 /checksum/SHA384/reset/67 837s ok 1366 /checksum/SHA384/reset/68 837s ok 1367 /checksum/SHA384/reset/69 837s ok 1368 /checksum/SHA384/reset/70 837s ok 1369 /checksum/SHA384/reset/71 837s ok 1370 /checksum/SHA384/reset/72 837s ok 1371 /checksum/SHA384/reset/73 837s ok 1372 /checksum/SHA384/reset/74 837s ok 1373 /checksum/SHA384/reset/75 837s ok 1374 /checksum/SHA384/reset/76 837s ok 1375 /checksum/SHA384/reset/77 837s ok 1376 /checksum/SHA384/reset/78 837s ok 1377 /checksum/SHA384/reset/79 837s ok 1378 /checksum/SHA384/reset/80 837s ok 1379 /checksum/SHA384/reset/81 837s ok 1380 /checksum/SHA384/reset/82 837s ok 1381 /checksum/SHA384/reset/83 837s ok 1382 /checksum/SHA384/reset/84 837s ok 1383 /checksum/SHA384/reset/85 837s ok 1384 /checksum/SHA384/reset/86 837s ok 1385 /checksum/SHA384/reset/87 837s ok 1386 /checksum/SHA384/reset/88 837s ok 1387 /checksum/SHA384/reset/89 837s ok 1388 /checksum/SHA384/reset/90 837s ok 1389 /checksum/SHA384/reset/91 837s ok 1390 /checksum/SHA384/reset/92 837s ok 1391 /checksum/SHA384/reset/93 837s ok 1392 /checksum/SHA384/reset/94 837s ok 1393 /checksum/SHA384/reset/95 837s ok 1394 /checksum/SHA384/reset/96 837s ok 1395 /checksum/SHA384/reset/97 837s ok 1396 /checksum/SHA384/reset/98 837s ok 1397 /checksum/SHA384/reset/99 837s ok 1398 /checksum/SHA384/reset/100 837s ok 1399 /checksum/SHA384/reset/101 837s ok 1400 /checksum/SHA384/reset/102 837s ok 1401 /checksum/SHA384/reset/103 837s ok 1402 /checksum/SHA384/reset/104 837s ok 1403 /checksum/SHA384/reset/105 837s ok 1404 /checksum/SHA384/reset/106 837s ok 1405 /checksum/SHA384/reset/107 837s ok 1406 /checksum/SHA384/reset/108 837s ok 1407 /checksum/SHA384/reset/109 837s ok 1408 /checksum/SHA384/reset/110 837s ok 1409 /checksum/SHA384/reset/111 837s ok 1410 /checksum/SHA384/reset/112 837s ok 1411 /checksum/SHA384/reset/113 837s ok 1412 /checksum/SHA384/reset/114 837s ok 1413 /checksum/SHA384/reset/115 837s ok 1414 /checksum/SHA384/reset/116 837s ok 1415 /checksum/SHA384/reset/117 837s ok 1416 /checksum/SHA384/reset/118 837s ok 1417 /checksum/SHA384/reset/119 837s ok 1418 /checksum/SHA384/reset/120 837s ok 1419 /checksum/SHA384/reset/121 837s ok 1420 /checksum/SHA384/reset/122 837s ok 1421 /checksum/SHA384/reset/123 837s ok 1422 /checksum/SHA384/reset/124 837s ok 1423 /checksum/SHA384/reset/125 837s ok 1424 /checksum/SHA384/reset/126 837s ok 1425 /checksum/SHA384/reset/127 837s ok 1426 /checksum/SHA384/reset/128 837s ok 1427 /checksum/SHA384/reset/129 837s ok 1428 /checksum/SHA384/reset/130 837s ok 1429 /checksum/SHA384/reset/131 837s ok 1430 /checksum/SHA384/reset/132 837s ok 1431 /checksum/SHA384/reset/133 837s ok 1432 /checksum/SHA384/reset/134 837s ok 1433 /checksum/SHA384/reset/135 837s ok 1434 /checksum/SHA384/reset/136 837s ok 1435 /checksum/SHA384/reset/137 837s ok 1436 /checksum/SHA384/reset/138 837s ok 1437 /checksum/SHA384/reset/139 837s ok 1438 /checksum/SHA384/reset/140 837s ok 1439 /checksum/SHA384/reset/141 837s ok 1440 /checksum/SHA384/reset/142 837s ok 1441 /checksum/SHA384/reset/143 837s ok 1442 /checksum/SHA384/reset/144 837s ok 1443 /checksum/SHA384/reset/145 837s ok 1444 /checksum/SHA384/reset/146 837s ok 1445 /checksum/SHA384/reset/147 837s ok 1446 /checksum/SHA384/reset/148 837s ok 1447 /checksum/SHA384/reset/149 837s ok 1448 /checksum/SHA384/reset/150 837s ok 1449 /checksum/SHA384/reset/151 837s ok 1450 /checksum/SHA384/reset/152 837s ok 1451 /checksum/SHA384/reset/153 837s ok 1452 /checksum/SHA384/reset/154 837s ok 1453 /checksum/SHA384/reset/155 837s ok 1454 /checksum/SHA384/reset/156 837s ok 1455 /checksum/SHA384/reset/157 837s ok 1456 /checksum/SHA384/reset/158 837s ok 1457 /checksum/SHA384/reset/159 837s ok 1458 /checksum/SHA384/reset/160 837s ok 1459 /checksum/SHA384/reset/161 837s ok 1460 /checksum/SHA384/reset/162 837s ok 1461 /checksum/SHA384/reset/163 837s ok 1462 /checksum/SHA384/reset/164 837s ok 1463 /checksum/SHA384/reset/165 837s ok 1464 /checksum/SHA384/reset/166 837s ok 1465 /checksum/SHA384/reset/167 837s ok 1466 /checksum/SHA384/reset/168 837s ok 1467 /checksum/SHA384/reset/169 837s ok 1468 /checksum/SHA384/reset/170 837s ok 1469 /checksum/SHA384/reset/171 837s ok 1470 /checksum/SHA384/reset/172 837s ok 1471 /checksum/SHA384/reset/173 837s ok 1472 /checksum/SHA384/reset/174 837s ok 1473 /checksum/SHA384/reset/175 837s ok 1474 /checksum/SHA384/reset/176 837s ok 1475 /checksum/SHA384/reset/177 837s ok 1476 /checksum/SHA384/reset/178 837s ok 1477 /checksum/SHA384/reset/179 837s ok 1478 /checksum/SHA384/reset/180 837s ok 1479 /checksum/SHA384/reset/181 837s ok 1480 /checksum/SHA384/reset/182 837s ok 1481 /checksum/SHA384/reset/183 837s # End of reset tests 837s # End of SHA384 tests 837s # Start of SHA512 tests 837s ok 1482 /checksum/SHA512/0 837s ok 1483 /checksum/SHA512/1 837s ok 1484 /checksum/SHA512/2 837s ok 1485 /checksum/SHA512/3 837s ok 1486 /checksum/SHA512/4 837s ok 1487 /checksum/SHA512/5 837s ok 1488 /checksum/SHA512/6 837s ok 1489 /checksum/SHA512/7 837s ok 1490 /checksum/SHA512/8 837s ok 1491 /checksum/SHA512/9 837s ok 1492 /checksum/SHA512/10 837s ok 1493 /checksum/SHA512/11 837s ok 1494 /checksum/SHA512/12 837s ok 1495 /checksum/SHA512/13 837s ok 1496 /checksum/SHA512/14 837s ok 1497 /checksum/SHA512/15 837s ok 1498 /checksum/SHA512/16 837s ok 1499 /checksum/SHA512/17 837s ok 1500 /checksum/SHA512/18 837s ok 1501 /checksum/SHA512/19 837s ok 1502 /checksum/SHA512/20 837s ok 1503 /checksum/SHA512/21 837s ok 1504 /checksum/SHA512/22 837s ok 1505 /checksum/SHA512/23 837s ok 1506 /checksum/SHA512/24 837s ok 1507 /checksum/SHA512/25 837s ok 1508 /checksum/SHA512/26 837s ok 1509 /checksum/SHA512/27 837s ok 1510 /checksum/SHA512/28 837s ok 1511 /checksum/SHA512/29 837s ok 1512 /checksum/SHA512/30 837s ok 1513 /checksum/SHA512/31 837s ok 1514 /checksum/SHA512/32 837s ok 1515 /checksum/SHA512/33 837s ok 1516 /checksum/SHA512/34 837s ok 1517 /checksum/SHA512/35 837s ok 1518 /checksum/SHA512/36 837s ok 1519 /checksum/SHA512/37 837s ok 1520 /checksum/SHA512/38 837s ok 1521 /checksum/SHA512/39 837s ok 1522 /checksum/SHA512/40 837s ok 1523 /checksum/SHA512/41 837s ok 1524 /checksum/SHA512/42 837s ok 1525 /checksum/SHA512/43 837s ok 1526 /checksum/SHA512/44 837s ok 1527 /checksum/SHA512/45 837s ok 1528 /checksum/SHA512/46 837s ok 1529 /checksum/SHA512/47 837s ok 1530 /checksum/SHA512/48 837s ok 1531 /checksum/SHA512/49 837s ok 1532 /checksum/SHA512/50 837s ok 1533 /checksum/SHA512/51 837s ok 1534 /checksum/SHA512/52 837s ok 1535 /checksum/SHA512/53 837s ok 1536 /checksum/SHA512/54 837s ok 1537 /checksum/SHA512/55 837s ok 1538 /checksum/SHA512/56 837s ok 1539 /checksum/SHA512/57 837s ok 1540 /checksum/SHA512/58 837s ok 1541 /checksum/SHA512/59 837s ok 1542 /checksum/SHA512/60 837s ok 1543 /checksum/SHA512/61 837s ok 1544 /checksum/SHA512/62 837s ok 1545 /checksum/SHA512/63 837s ok 1546 /checksum/SHA512/64 837s ok 1547 /checksum/SHA512/65 837s ok 1548 /checksum/SHA512/66 837s ok 1549 /checksum/SHA512/67 837s ok 1550 /checksum/SHA512/68 837s ok 1551 /checksum/SHA512/69 837s ok 1552 /checksum/SHA512/70 837s ok 1553 /checksum/SHA512/71 837s ok 1554 /checksum/SHA512/72 837s ok 1555 /checksum/SHA512/73 837s ok 1556 /checksum/SHA512/74 837s ok 1557 /checksum/SHA512/75 837s ok 1558 /checksum/SHA512/76 837s ok 1559 /checksum/SHA512/77 837s ok 1560 /checksum/SHA512/78 837s ok 1561 /checksum/SHA512/79 837s ok 1562 /checksum/SHA512/80 837s ok 1563 /checksum/SHA512/81 837s ok 1564 /checksum/SHA512/82 837s ok 1565 /checksum/SHA512/83 837s ok 1566 /checksum/SHA512/84 837s ok 1567 /checksum/SHA512/85 837s ok 1568 /checksum/SHA512/86 837s ok 1569 /checksum/SHA512/87 837s ok 1570 /checksum/SHA512/88 837s ok 1571 /checksum/SHA512/89 837s ok 1572 /checksum/SHA512/90 837s ok 1573 /checksum/SHA512/91 837s ok 1574 /checksum/SHA512/92 837s ok 1575 /checksum/SHA512/93 837s ok 1576 /checksum/SHA512/94 837s ok 1577 /checksum/SHA512/95 837s ok 1578 /checksum/SHA512/96 837s ok 1579 /checksum/SHA512/97 837s ok 1580 /checksum/SHA512/98 837s ok 1581 /checksum/SHA512/99 837s ok 1582 /checksum/SHA512/100 837s ok 1583 /checksum/SHA512/101 837s ok 1584 /checksum/SHA512/102 837s ok 1585 /checksum/SHA512/103 837s ok 1586 /checksum/SHA512/104 837s ok 1587 /checksum/SHA512/105 837s ok 1588 /checksum/SHA512/106 837s ok 1589 /checksum/SHA512/107 837s ok 1590 /checksum/SHA512/108 837s ok 1591 /checksum/SHA512/109 837s ok 1592 /checksum/SHA512/110 837s ok 1593 /checksum/SHA512/111 837s ok 1594 /checksum/SHA512/112 837s ok 1595 /checksum/SHA512/113 837s ok 1596 /checksum/SHA512/114 837s ok 1597 /checksum/SHA512/115 837s ok 1598 /checksum/SHA512/116 837s ok 1599 /checksum/SHA512/117 837s ok 1600 /checksum/SHA512/118 837s ok 1601 /checksum/SHA512/119 837s ok 1602 /checksum/SHA512/120 837s ok 1603 /checksum/SHA512/121 837s ok 1604 /checksum/SHA512/122 837s ok 1605 /checksum/SHA512/123 837s ok 1606 /checksum/SHA512/124 837s ok 1607 /checksum/SHA512/125 837s ok 1608 /checksum/SHA512/126 837s ok 1609 /checksum/SHA512/127 837s ok 1610 /checksum/SHA512/128 837s ok 1611 /checksum/SHA512/129 837s ok 1612 /checksum/SHA512/130 837s ok 1613 /checksum/SHA512/131 837s ok 1614 /checksum/SHA512/132 837s ok 1615 /checksum/SHA512/133 837s ok 1616 /checksum/SHA512/134 837s ok 1617 /checksum/SHA512/135 837s ok 1618 /checksum/SHA512/136 837s ok 1619 /checksum/SHA512/137 837s ok 1620 /checksum/SHA512/138 837s ok 1621 /checksum/SHA512/139 837s ok 1622 /checksum/SHA512/140 837s ok 1623 /checksum/SHA512/141 837s ok 1624 /checksum/SHA512/142 837s ok 1625 /checksum/SHA512/143 837s ok 1626 /checksum/SHA512/144 837s ok 1627 /checksum/SHA512/145 837s ok 1628 /checksum/SHA512/146 837s ok 1629 /checksum/SHA512/147 837s ok 1630 /checksum/SHA512/148 837s ok 1631 /checksum/SHA512/149 837s ok 1632 /checksum/SHA512/150 837s ok 1633 /checksum/SHA512/151 837s ok 1634 /checksum/SHA512/152 837s ok 1635 /checksum/SHA512/153 837s ok 1636 /checksum/SHA512/154 837s ok 1637 /checksum/SHA512/155 837s ok 1638 /checksum/SHA512/156 837s ok 1639 /checksum/SHA512/157 837s ok 1640 /checksum/SHA512/158 837s ok 1641 /checksum/SHA512/159 837s ok 1642 /checksum/SHA512/160 837s ok 1643 /checksum/SHA512/161 837s ok 1644 /checksum/SHA512/162 837s ok 1645 /checksum/SHA512/163 837s ok 1646 /checksum/SHA512/164 837s ok 1647 /checksum/SHA512/165 837s ok 1648 /checksum/SHA512/166 837s ok 1649 /checksum/SHA512/167 837s ok 1650 /checksum/SHA512/168 837s ok 1651 /checksum/SHA512/169 837s ok 1652 /checksum/SHA512/170 837s ok 1653 /checksum/SHA512/171 837s ok 1654 /checksum/SHA512/172 837s ok 1655 /checksum/SHA512/173 837s ok 1656 /checksum/SHA512/174 837s ok 1657 /checksum/SHA512/175 837s ok 1658 /checksum/SHA512/176 837s ok 1659 /checksum/SHA512/177 837s ok 1660 /checksum/SHA512/178 837s ok 1661 /checksum/SHA512/179 837s ok 1662 /checksum/SHA512/180 837s ok 1663 /checksum/SHA512/181 837s ok 1664 /checksum/SHA512/182 837s ok 1665 /checksum/SHA512/183 837s ok 1666 /checksum/SHA512/string 837s ok 1667 /checksum/SHA512/bytes 837s # Start of reset tests 837s ok 1668 /checksum/SHA512/reset/0 837s ok 1669 /checksum/SHA512/reset/1 837s ok 1670 /checksum/SHA512/reset/2 837s ok 1671 /checksum/SHA512/reset/3 837s ok 1672 /checksum/SHA512/reset/4 837s ok 1673 /checksum/SHA512/reset/5 837s ok 1674 /checksum/SHA512/reset/6 837s ok 1675 /checksum/SHA512/reset/7 837s ok 1676 /checksum/SHA512/reset/8 837s ok 1677 /checksum/SHA512/reset/9 837s ok 1678 /checksum/SHA512/reset/10 837s ok 1679 /checksum/SHA512/reset/11 837s ok 1680 /checksum/SHA512/reset/12 837s ok 1681 /checksum/SHA512/reset/13 837s ok 1682 /checksum/SHA512/reset/14 837s ok 1683 /checksum/SHA512/reset/15 837s ok 1684 /checksum/SHA512/reset/16 837s ok 1685 /checksum/SHA512/reset/17 837s ok 1686 /checksum/SHA512/reset/18 837s ok 1687 /checksum/SHA512/reset/19 837s ok 1688 /checksum/SHA512/reset/20 837s ok 1689 /checksum/SHA512/reset/21 837s ok 1690 /checksum/SHA512/reset/22 837s ok 1691 /checksum/SHA512/reset/23 837s ok 1692 /checksum/SHA512/reset/24 837s ok 1693 /checksum/SHA512/reset/25 837s ok 1694 /checksum/SHA512/reset/26 837s ok 1695 /checksum/SHA512/reset/27 837s ok 1696 /checksum/SHA512/reset/28 837s ok 1697 /checksum/SHA512/reset/29 837s ok 1698 /checksum/SHA512/reset/30 837s ok 1699 /checksum/SHA512/reset/31 837s ok 1700 /checksum/SHA512/reset/32 837s ok 1701 /checksum/SHA512/reset/33 837s ok 1702 /checksum/SHA512/reset/34 837s ok 1703 /checksum/SHA512/reset/35 837s ok 1704 /checksum/SHA512/reset/36 837s ok 1705 /checksum/SHA512/reset/37 837s ok 1706 /checksum/SHA512/reset/38 837s ok 1707 /checksum/SHA512/reset/39 837s ok 1708 /checksum/SHA512/reset/40 837s ok 1709 /checksum/SHA512/reset/41 837s ok 1710 /checksum/SHA512/reset/42 837s ok 1711 /checksum/SHA512/reset/43 837s ok 1712 /checksum/SHA512/reset/44 837s ok 1713 /checksum/SHA512/reset/45 837s ok 1714 /checksum/SHA512/reset/46 837s ok 1715 /checksum/SHA512/reset/47 837s ok 1716 /checksum/SHA512/reset/48 837s ok 1717 /checksum/SHA512/reset/49 837s ok 1718 /checksum/SHA512/reset/50 837s ok 1719 /checksum/SHA512/reset/51 837s ok 1720 /checksum/SHA512/reset/52 837s ok 1721 /checksum/SHA512/reset/53 837s ok 1722 /checksum/SHA512/reset/54 837s ok 1723 /checksum/SHA512/reset/55 837s ok 1724 /checksum/SHA512/reset/56 837s ok 1725 /checksum/SHA512/reset/57 837s ok 1726 /checksum/SHA512/reset/58 837s ok 1727 /checksum/SHA512/reset/59 837s ok 1728 /checksum/SHA512/reset/60 837s ok 1729 /checksum/SHA512/reset/61 837s ok 1730 /checksum/SHA512/reset/62 837s ok 1731 /checksum/SHA512/reset/63 837s ok 1732 /checksum/SHA512/reset/64 837s ok 1733 /checksum/SHA512/reset/65 837s ok 1734 /checksum/SHA512/reset/66 837s ok 1735 /checksum/SHA512/reset/67 837s ok 1736 /checksum/SHA512/reset/68 837s ok 1737 /checksum/SHA512/reset/69 837s ok 1738 /checksum/SHA512/reset/70 837s ok 1739 /checksum/SHA512/reset/71 837s ok 1740 /checksum/SHA512/reset/72 837s ok 1741 /checksum/SHA512/reset/73 837s ok 1742 /checksum/SHA512/reset/74 837s ok 1743 /checksum/SHA512/reset/75 837s ok 1744 /checksum/SHA512/reset/76 837s ok 1745 /checksum/SHA512/reset/77 837s ok 1746 /checksum/SHA512/reset/78 837s ok 1747 /checksum/SHA512/reset/79 837s ok 1748 /checksum/SHA512/reset/80 837s ok 1749 /checksum/SHA512/reset/81 837s ok 1750 /checksum/SHA512/reset/82 837s ok 1751 /checksum/SHA512/reset/83 837s ok 1752 /checksum/SHA512/reset/84 837s ok 1753 /checksum/SHA512/reset/85 837s ok 1754 /checksum/SHA512/reset/86 837s ok 1755 /checksum/SHA512/reset/87 837s ok 1756 /checksum/SHA512/reset/88 837s ok 1757 /checksum/SHA512/reset/89 837s ok 1758 /checksum/SHA512/reset/90 837s ok 1759 /checksum/SHA512/reset/91 837s ok 1760 /checksum/SHA512/reset/92 837s ok 1761 /checksum/SHA512/reset/93 837s ok 1762 /checksum/SHA512/reset/94 837s ok 1763 /checksum/SHA512/reset/95 837s ok 1764 /checksum/SHA512/reset/96 837s ok 1765 /checksum/SHA512/reset/97 837s ok 1766 /checksum/SHA512/reset/98 837s ok 1767 /checksum/SHA512/reset/99 837s ok 1768 /checksum/SHA512/reset/100 837s ok 1769 /checksum/SHA512/reset/101 837s ok 1770 /checksum/SHA512/reset/102 837s ok 1771 /checksum/SHA512/reset/103 837s ok 1772 /checksum/SHA512/reset/104 837s ok 1773 /checksum/SHA512/reset/105 837s ok 1774 /checksum/SHA512/reset/106 837s ok 1775 /checksum/SHA512/reset/107 837s ok 1776 /checksum/SHA512/reset/108 837s ok 1777 /checksum/SHA512/reset/109 837s ok 1778 /checksum/SHA512/reset/110 837s ok 1779 /checksum/SHA512/reset/111 837s ok 1780 /checksum/SHA512/reset/112 837s ok 1781 /checksum/SHA512/reset/113 837s ok 1782 /checksum/SHA512/reset/114 837s ok 1783 /checksum/SHA512/reset/115 837s ok 1784 /checksum/SHA512/reset/116 837s ok 1785 /checksum/SHA512/reset/117 837s ok 1786 /checksum/SHA512/reset/118 837s ok 1787 /checksum/SHA512/reset/119 837s ok 1788 /checksum/SHA512/reset/120 837s ok 1789 /checksum/SHA512/reset/121 837s ok 1790 /checksum/SHA512/reset/122 837s ok 1791 /checksum/SHA512/reset/123 837s ok 1792 /checksum/SHA512/reset/124 837s ok 1793 /checksum/SHA512/reset/125 837s ok 1794 /checksum/SHA512/reset/126 837s ok 1795 /checksum/SHA512/reset/127 837s ok 1796 /checksum/SHA512/reset/128 837s ok 1797 /checksum/SHA512/reset/129 837s ok 1798 /checksum/SHA512/reset/130 837s ok 1799 /checksum/SHA512/reset/131 837s ok 1800 /checksum/SHA512/reset/132 837s ok 1801 /checksum/SHA512/reset/133 837s ok 1802 /checksum/SHA512/reset/134 837s ok 1803 /checksum/SHA512/reset/135 837s ok 1804 /checksum/SHA512/reset/136 837s ok 1805 /checksum/SHA512/reset/137 837s ok 1806 /checksum/SHA512/reset/138 837s ok 1807 /checksum/SHA512/reset/139 837s ok 1808 /checksum/SHA512/reset/140 837s ok 1809 /checksum/SHA512/reset/141 837s ok 1810 /checksum/SHA512/reset/142 837s ok 1811 /checksum/SHA512/reset/143 837s ok 1812 /checksum/SHA512/reset/144 837s ok 1813 /checksum/SHA512/reset/145 837s ok 1814 /checksum/SHA512/reset/146 837s ok 1815 /checksum/SHA512/reset/147 837s ok 1816 /checksum/SHA512/reset/148 837s ok 1817 /checksum/SHA512/reset/149 837s ok 1818 /checksum/SHA512/reset/150 837s ok 1819 /checksum/SHA512/reset/151 837s ok 1820 /checksum/SHA512/reset/152 837s ok 1821 /checksum/SHA512/reset/153 837s ok 1822 /checksum/SHA512/reset/154 837s ok 1823 /checksum/SHA512/reset/155 837s ok 1824 /checksum/SHA512/reset/156 837s ok 1825 /checksum/SHA512/reset/157 837s ok 1826 /checksum/SHA512/reset/158 837s ok 1827 /checksum/SHA512/reset/159 837s ok 1828 /checksum/SHA512/reset/160 837s ok 1829 /checksum/SHA512/reset/161 837s ok 1830 /checksum/SHA512/reset/162 837s ok 1831 /checksum/SHA512/reset/163 837s ok 1832 /checksum/SHA512/reset/164 837s ok 1833 /checksum/SHA512/reset/165 837s ok 1834 /checksum/SHA512/reset/166 837s ok 1835 /checksum/SHA512/reset/167 837s ok 1836 /checksum/SHA512/reset/168 837s ok 1837 /checksum/SHA512/reset/169 837s ok 1838 /checksum/SHA512/reset/170 837s ok 1839 /checksum/SHA512/reset/171 837s ok 1840 /checksum/SHA512/reset/172 837s ok 1841 /checksum/SHA512/reset/173 837s ok 1842 /checksum/SHA512/reset/174 837s ok 1843 /checksum/SHA512/reset/175 837s ok 1844 /checksum/SHA512/reset/176 837s ok 1845 /checksum/SHA512/reset/177 837s ok 1846 /checksum/SHA512/reset/178 837s ok 1847 /checksum/SHA512/reset/179 837s ok 1848 /checksum/SHA512/reset/180 837s ok 1849 /checksum/SHA512/reset/181 837s ok 1850 /checksum/SHA512/reset/182 837s ok 1851 /checksum/SHA512/reset/183 837s # End of reset tests 837s # End of SHA512 tests 837s # End of checksum tests 837s ok - glib/checksum.test 837s # Running test: glib/gi-compile-repository.py.test 837s TAP version 13 837s ok 1 __main__.TestGICompileRepository.test_open_failure 837s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 837s # gi-compile-repository: /usr/bin/gi-compile-repository 837s # tmpdir: /tmp/tmpevsghv0h 837s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmpevsghv0h/invalid.typelib'] 837s # Return code: 1 837s # Output: 837s # 837s # Error: 837s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory 837s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 837s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 837s # gi-compile-repository: /usr/bin/gi-compile-repository 837s # tmpdir: /tmp/tmp6k8ykmhx 837s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmp6k8ykmhx/GLib-2.typelib'] 837s # Return code: 0 837s # Output: 837s # 837s # Error: 837s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 837s # gi-compile-repository: /usr/bin/gi-compile-repository 837s # tmpdir: /tmp/tmpe4l80c1h 837s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib'] 837s # Return code: 1 837s # Output: 837s # 837s # Error: 837s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 837s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 837s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 837s # gi-compile-repository: /usr/bin/gi-compile-repository 837s # tmpdir: /tmp/tmp_pmsyk5r 837s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmp_pmsyk5r/GObject-2.typelib', '--includedir', '/usr/lib/x86_64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 837s # Return code: 0 837s # Output: 837s # 837s # Error: 837s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 837s # gi-compile-repository: /usr/bin/gi-compile-repository 837s # tmpdir: /tmp/tmp29afzve9 837s # 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/x86_64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 837s # Return code: 1 837s # Output: 837s # 837s # Error: 837s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 838s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 838s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 838s # gi-compile-repository: /usr/bin/gi-compile-repository 838s # tmpdir: /tmp/tmpwg52cjn9 838s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmpwg52cjn9/Gio-2.typelib', '--includedir', '/usr/lib/x86_64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 838s # Return code: 0 838s # Output: 838s # 838s # Error: 838s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 838s # gi-compile-repository: /usr/bin/gi-compile-repository 838s # tmpdir: /tmp/tmpzahn2rh2 838s # 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/x86_64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 838s # Return code: 1 838s # Output: 838s # 838s # Error: 838s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 838s 1..7 838s ok - glib/gi-compile-repository.py.test 838s # Running test: glib/print.test 838s ok - glib/print.test 838s TAP version 14 838s # random seed: R02S3875f51d3855d3cf982593eaa8b6b715 838s 1..1 838s ok 1 /print-console # SKIP Testing console output only supported on Windows 838s # Running test: glib/fileattributematcher.test 838s ok - glib/fileattributematcher.test 838s # Running test: glib/filter-streams.test 838s ok - glib/filter-streams.test 838s # Running test: glib/memory-output-stream.test 838s TAP version 14 838s # random seed: R02Sb57f68c7253e644f151311a17bfd3a6c 838s 1..3 838s # Start of fileattributematcher tests 838s ok 1 /fileattributematcher/exact 838s ok 2 /fileattributematcher/equality 838s ok 3 /fileattributematcher/subtract 838s # End of fileattributematcher tests 838s TAP version 14 838s # random seed: R02Sdc1d7a306155f41e5ef11dc3ba225a01 838s 1..4 838s # Start of filter-stream tests 838s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 838s ok 1 /filter-stream/input 838s ok 2 /filter-stream/output 838s ok 3 /filter-stream/async-input 838s ok 4 /filter-stream/async-output 838s # End of filter-stream tests 838s TAP version 14 838s # random seed: R02S5bdc562268f45a220a3c08f141cfd180 838s 1..10 838s # Start of memory-output-stream tests 838s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 838s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 838s ok 1 /memory-output-stream/truncate 838s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 838s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 838s ok 2 /memory-output-stream/get-data-size 838s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 838s ok 3 /memory-output-stream/properties 838s ok 4 /memory-output-stream/write-bytes 838s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 838s ok 5 /memory-output-stream/write-null 838s ok 6 /memory-output-stream/writev 838s ok 7 /memory-output-stream/writev_nonblocking 838s ok 8 /memory-output-stream/steal_as_bytes 838s # Start of seek tests 838s ok 9 /memory-output-stream/seek/fixed 838s ok - glib/memory-output-stream.test 838s ok 10 /memory-output-stream/seek/resizable 838s # End of seek tests 838s # End of memory-output-stream tests 838s # Running test: glib/overflow-fallback.test 838s ok - glib/overflow-fallback.test 838s TAP version 14 838s # random seed: R02S29c1abf62ef425d085bb9aff44d2758d 838s 1..6 838s # Start of glib tests 838s # Start of checked-math tests 838s ok 1 /glib/checked-math/guint-add 838s ok 2 /glib/checked-math/guint-mul 838s ok 3 /glib/checked-math/guint64-add 838s ok 4 /glib/checked-math/guint64-mul 838s ok 5 /glib/checked-math/gsize-add 838s ok 6 /glib/checked-math/gsize-mul 838s # End of checked-math tests 838s # End of glib tests 838s # Running test: glib/actions.test 838s TAP version 14 838s # random seed: R02Sa07384e4214ae52138effa3b9e1b8a51 838s 1..13 838s # Start of actions tests 838s ok 1 /actions/basic 838s ok 2 /actions/name 838s ok 3 /actions/simplegroup 838s ok 4 /actions/stateful 838s ok 5 /actions/default-activate 838s ok 6 /actions/entries 838s ok 7 /actions/parse-detailed 838s ok 8 /actions/property 838s ok 9 /actions/no-properties 838s # Start of dbus tests 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s ok 10 /actions/dbus/export 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s ok 11 /actions/dbus/threaded 838s # slow test /actions/dbus/threaded executed in 0.56 secs 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 838s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s ok 12 /actions/dbus/bug679509 839s # Start of export tests 839s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 839s ok 13 /actions/dbus/export/error-handling 839s # End of export tests 839s # End of dbus tests 839s # End of actions tests 839s ok - glib/actions.test 839s # Running test: glib/deftype.test 839s ok - glib/deftype.test 839s # Running test: glib/utils-c-89.test 839s TAP version 14 839s # random seed: R02S4e365d96380a1e4024e7b923f7fa355e 839s 1..41 839s # Start of utils tests 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/language-names/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/language-names/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/language-names/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/language-names/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/language-names/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/language-names/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/language-names/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/language-names/.dirs/runtime 839s ok 1 /utils/language-names 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/locale-variants/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/locale-variants/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/locale-variants/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/locale-variants/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/locale-variants/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/locale-variants/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/locale-variants/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/locale-variants/.dirs/runtime 839s # Testing locale ‘en’ 839s # Testing locale ‘sr@latin’ 839s # Testing locale ‘fr_BE’ 839s # Testing locale ‘sr_SR@latin’ 839s # Testing locale ‘sr_SR@latin.UTF-8’ 839s # Testing locale ‘sr@latin_invalid’ 839s # Testing locale ‘sr.UTF-8@latin’ 839s # Testing locale ‘sr.UTF-8_latin’ 839s # Testing locale ‘sr.UTF-8@latin_invalid’ 839s ok 2 /utils/locale-variants 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/version/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/version/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/version/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/version/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/version/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/version/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/version/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/version/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/version/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/version/.dirs/runtime 839s ok 3 /utils/version 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/appname/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/appname/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/appname/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/appname/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/appname/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/appname/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/appname/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/appname/.dirs/runtime 839s ok 4 /utils/appname 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/prgname-thread-safety/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/prgname-thread-safety/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/prgname-thread-safety/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/prgname-thread-safety/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/prgname-thread-safety/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/prgname-thread-safety/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/prgname-thread-safety/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/prgname-thread-safety/.dirs/runtime 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 839s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 839s ok 5 /utils/prgname-thread-safety 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/tmpdir/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/tmpdir/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/tmpdir/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/tmpdir/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/tmpdir/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/tmpdir/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/tmpdir/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/tmpdir/.dirs/runtime 839s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 839s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 839s Unable to clean up temporary directory /tmp/test_utils-c-89_VEFXJ3/utils/tmpdir: No such file or directory 839s ok 6 /utils/tmpdir 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/basic_bits/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/basic_bits/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/basic_bits/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/basic_bits/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/basic_bits/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/basic_bits/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/basic_bits/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/basic_bits/.dirs/runtime 839s ok 7 /utils/basic_bits 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/bits/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/bits/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/bits/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/bits/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/bits/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/bits/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/bits/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/bits/.dirs/runtime 839s ok 8 /utils/bits 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/swap/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/swap/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/swap/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/swap/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/swap/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/swap/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/swap/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/swap/.dirs/runtime 839s ok 9 /utils/swap 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/find-program/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/find-program/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/find-program/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/find-program/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/find-program/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/find-program/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/find-program/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/find-program/.dirs/runtime 839s ok 10 /utils/find-program 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/find-program-for-path/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/find-program-for-path/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/find-program-for-path/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/find-program-for-path/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/find-program-for-path/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/find-program-for-path/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/find-program-for-path/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/find-program-for-path/.dirs/runtime 839s ok 11 /utils/find-program-for-path 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/debug/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/debug/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/debug/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/debug/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/debug/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/debug/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/debug/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/debug/.dirs/runtime 839s Unable to clean up temporary directory /tmp/test_utils-c-89_VEFXJ3/utils/debug: No such file or directory 839s ok 12 /utils/debug 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/codeset/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/codeset/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/codeset/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/codeset/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/codeset/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/codeset/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/codeset/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/codeset/.dirs/runtime 839s ok 13 /utils/codeset 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/codeset2/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/codeset2/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/codeset2/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/codeset2/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/codeset2/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/codeset2/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/codeset2/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/codeset2/.dirs/runtime 839s Unable to clean up temporary directory /tmp/test_utils-c-89_VEFXJ3/utils/codeset2: No such file or directory 839s ok 14 /utils/codeset2 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/console-charset/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/console-charset/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/console-charset/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/console-charset/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/console-charset/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/console-charset/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/console-charset/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/console-charset/.dirs/runtime 839s ok 15 /utils/console-charset 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/gettext/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/gettext/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/gettext/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/gettext/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/gettext/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/gettext/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/gettext/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/gettext/.dirs/runtime 839s ok 16 /utils/gettext 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/username/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/username/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/username/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/username/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/username/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/username/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/username/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/username/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/username/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/username/.dirs/runtime 839s ok 17 /utils/username 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/realname/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/realname/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/realname/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/realname/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/realname/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/realname/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/realname/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/realname/.dirs/runtime 839s ok 18 /utils/realname 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/hostname/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/hostname/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/hostname/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/hostname/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/hostname/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/hostname/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/hostname/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/hostname/.dirs/runtime 839s ok 19 /utils/hostname 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/os-info/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/os-info/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/os-info/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/os-info/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/os-info/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/os-info/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/os-info/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/os-info/.dirs/runtime 839s # NAME: Ubuntu 839s ok 20 /utils/os-info 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/.dirs/runtime 839s ok 21 /utils/clear-pointer 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer-cast/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer-cast/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer-cast/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer-cast/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer-cast/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer-cast/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer-cast/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer-cast/.dirs/runtime 839s ok 22 /utils/clear-pointer-cast 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/take-pointer/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/take-pointer/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/take-pointer/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/take-pointer/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/take-pointer/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/take-pointer/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/take-pointer/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/take-pointer/.dirs/runtime 839s ok 23 /utils/take-pointer 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-source/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-source/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/clear-source/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-source/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/clear-source/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-source/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-source/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/clear-source/.dirs/runtime 839s ok 24 /utils/clear-source 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/misc-mem/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/misc-mem/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/misc-mem/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/misc-mem/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/misc-mem/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/misc-mem/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/misc-mem/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/misc-mem/.dirs/runtime 839s ok 25 /utils/misc-mem 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/.dirs/runtime 839s # /utils/aligned-mem summary: Aligned memory allocator 839s # Alignment must not be zero 839s # Alignment must be a power of two 839s # Alignment must be a multiple of sizeof(void*) 839s ok 26 /utils/aligned-mem 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/free-sized/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/free-sized/.dirs/cache 839s ok - glib/utils-c-89.test 839s # Running test: glib/test-printf.test 839s ok - glib/test-printf.test 839s # Running test: glib/autoptr-gio.test 839s ok - glib/autoptr-gio.test 839s # Running test: glib/memory-input-stream.test 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/free-sized/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/free-sized/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/free-sized/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/free-sized/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/free-sized/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/free-sized/.dirs/runtime 839s # /utils/free-sized summary: Check that g_free_sized() works 839s ok 27 /utils/free-sized 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/nullify/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/nullify/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/nullify/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/nullify/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/nullify/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/nullify/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/nullify/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/nullify/.dirs/runtime 839s ok 28 /utils/nullify 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/atexit/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/atexit/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/atexit/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/atexit/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/atexit/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/atexit/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/atexit/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/atexit/.dirs/runtime 839s Unable to clean up temporary directory /tmp/test_utils-c-89_VEFXJ3/utils/atexit: No such file or directory 839s ok 29 /utils/atexit 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/check-setuid/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/check-setuid/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/check-setuid/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/check-setuid/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/check-setuid/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/check-setuid/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/check-setuid/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/check-setuid/.dirs/runtime 839s ok 30 /utils/check-setuid 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/int-limits/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/int-limits/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/int-limits/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/int-limits/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/int-limits/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/int-limits/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/int-limits/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/int-limits/.dirs/runtime 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 839s ok 31 /utils/int-limits 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-list/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-list/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/clear-list/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-list/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/clear-list/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-list/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-list/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/clear-list/.dirs/runtime 839s ok 32 /utils/clear-list 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-slist/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-slist/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/clear-slist/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-slist/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/clear-slist/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-slist/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-slist/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/clear-slist/.dirs/runtime 839s ok 33 /utils/clear-slist 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/steal-handle-id/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/steal-handle-id/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/steal-handle-id/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/steal-handle-id/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/steal-handle-id/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/steal-handle-id/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/steal-handle-id/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/steal-handle-id/.dirs/runtime 839s ok 34 /utils/steal-handle-id 839s # Start of user-special-dirs tests 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/desktop/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/desktop/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/desktop/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/desktop/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/desktop/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/desktop/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/desktop/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/desktop/.dirs/runtime 839s ok 35 /utils/user-special-dirs/desktop 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/load-unlocked/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/load-unlocked/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/load-unlocked/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/load-unlocked/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 839s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 839s Unable to clean up temporary directory /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/load-unlocked: No such file or directory 839s ok 36 /utils/user-special-dirs/load-unlocked 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/reload-leaks/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/reload-leaks/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/reload-leaks/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/reload-leaks/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 839s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 839s Unable to clean up temporary directory /tmp/test_utils-c-89_VEFXJ3/utils/user-special-dirs/reload-leaks: No such file or directory 839s ok 37 /utils/user-special-dirs/reload-leaks 839s # End of user-special-dirs tests 839s # Start of clear-pointer tests 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/side-effects/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/side-effects/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/side-effects/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/side-effects/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/side-effects/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/side-effects/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/side-effects/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/clear-pointer/side-effects/.dirs/runtime 839s ok 38 /utils/clear-pointer/side-effects 839s # End of clear-pointer tests 839s # Start of aligned-mem tests 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/alignment/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/alignment/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/alignment/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/alignment/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/alignment/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/alignment/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/alignment/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/alignment/.dirs/runtime 839s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 839s ok 39 /utils/aligned-mem/alignment 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/zeroed/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/zeroed/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/zeroed/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/zeroed/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/zeroed/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/zeroed/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/zeroed/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/zeroed/.dirs/runtime 839s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 839s ok 40 /utils/aligned-mem/zeroed 839s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/free-sized/.dirs/home 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/free-sized/.dirs/cache 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/free-sized/.dirs/system-config2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/free-sized/.dirs/config 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/free-sized/.dirs/system-data2 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/free-sized/.dirs/data 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/free-sized/.dirs/state 839s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_VEFXJ3/utils/aligned-mem/free-sized/.dirs/runtime 839s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 839s ok 41 /utils/aligned-mem/free-sized 839s # Start of subprocess tests 839s # End of subprocess tests 839s # End of aligned-mem tests 839s # End of utils tests 839s TAP version 14 839s # random seed: R02S8dd5eac3ae140b9a7f8329f01fddfc35 839s 1..24 839s # Start of snprintf tests 839s ok 1 /snprintf/retval-and-trunc 839s ok 2 /snprintf/%d 839s ok 3 /snprintf/%d-invalid 839s ok 4 /snprintf/%o 839s ok 5 /snprintf/%u 839s ok 6 /snprintf/%x 839s ok 7 /snprintf/%X 839s ok 8 /snprintf/%f 839s ok 9 /snprintf/%e 839s ok 10 /snprintf/%c 839s ok 11 /snprintf/%s 839s ok 12 /snprintf/%n 839s ok 13 /snprintf/test-percent 839s ok 14 /snprintf/test-positional-params 839s ok 15 /snprintf/test-64bit 839s ok 16 /snprintf/produce-embedded-nulls 839s # End of snprintf tests 839s # Start of printf tests 839s ok 17 /printf/test-percent 839s ok 18 /printf/test-positional-params 839s ok 19 /printf/test-64bit 839s # Start of test-64bit tests 839s # Start of subprocess tests 839s # End of subprocess tests 839s # End of test-64bit tests 839s # End of printf tests 839s # Start of fprintf tests 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3761 839s # /fprintf/produce-embedded-nulls summary: printf() functions can produce strings with embedded null characters. That happens when passing individual characters (%c) with value ' 839s ok 20 /fprintf/produce-embedded-nulls 839s # End of fprintf tests 839s # Start of sprintf tests 839s ok 21 /sprintf/test-positional-params 839s ok 22 /sprintf/upper-bound 839s # End of sprintf tests 839s # Start of vasprintf tests 839s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 839s ok 23 /vasprintf/invalid-format-placeholder 839s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 839s ok 24 /vasprintf/invalid-wide-string 839s # End of vasprintf tests 839s TAP version 14 839s # random seed: R02S609ebeb0ca05ccb82fbf6c9b5b63b3d6 839s 1..1 839s # Start of autoptr tests 839s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 839s ok 1 /autoptr/autoptr 839s # End of autoptr tests 839s TAP version 14 839s # random seed: R02S9090dafdf87f1886e3c0d855a4a8f911 839s 1..6 839s # Start of memory-input-stream tests 839s ok 1 /memory-input-stream/read-chunks 839s ok - glib/memory-input-stream.test 839s ok 2 /memory-input-stream/async 839s ok 3 /memory-input-stream/seek 839s ok 4 /memory-input-stream/truncate 839s ok 5 /memory-input-stream/read-bytes 839s ok 6 /memory-input-stream/from-bytes 839s # End of memory-input-stream tests 839s # Running test: glib/tls-database.test 839s TAP version 14 839s # random seed: R02S966825789aa86bf60bbb053007944d5d 839s ok - glib/tls-database.test 839s # Running test: glib/g-file.test 839s ok - glib/g-file.test 839s # Running test: glib/refcount-macro.test 839s 1..1 839s # Start of tls-backend tests 839s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 839s ok 1 /tls-backend/set-default-database 839s # End of tls-backend tests 839s TAP version 14 839s # random seed: R02Sfb85bb196cdcd2346378ff69ce7781d4 839s 1..8 839s # Start of g-file tests 839s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 839s ok 1 /g-file/test_g_file_new_null 839s ok 2 /g-file/test_g_file_new_for_path 839s ok 3 /g-file/test_g_file_new_for_uri 839s ok 4 /g-file/test_g_file_dup 839s ok 5 /g-file/test_g_file_get_parse_name_utf8 839s file:///tmp/test-tmp-glib_g-file.test-5J7VJ3 839s file:///tmp 839s file:///tmp 839s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 839s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 839s ok 6 /g-file/test_g_file_new_for_commandline_arg 839s /dir1 /dir1/dir2/dir3/ 839s /dir1/ /dir1/dir2/dir3/ 839s /dir1 /dir1/dir2/dir3 839s /dir1/ /dir1/dir2/dir3 839s /tmp/ /something/ 839s /dir1/dir2 /dir1/ 839s //dir1/new //dir1/new/dir2/dir3 839s /dir/UTF-8 příliš žluťoučký kůň /dir/UTF-8 příliš žluťoučký kůň/dir2 839s file:///dir1 file:///dir1/dir2/dir3/ 839s file:///dir1/ file:///dir1/dir2/dir3/ 839s file:///dir1 file:///dir1/dir2/dir3 839s file:///dir1/ file:///dir1/dir2/dir3 839s file:///tmp/ file:///something/ 839s file:///dir1/dir2 file:///dir1/ 839s file:////dir1/new file:////dir1/new/dir2/dir3 839s 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 839s ok 7 /g-file/test_g_file_has_prefix 839s ok 8 /g-file/test_g_file_get_parent_child 839s # End of g-file tests 839s TAP version 14 839s # random seed: R02Saea04671dc83a28bbdcf04cb2c7502b4 839s 1..4 839s # Start of refcount tests 839s ok 1 /refcount/grefcount 839s ok 2 /refcount/gatomicrefcount 839s # Start of grefcount tests 839s ok 3 /refcount/grefcount/saturation 839s ok - glib/refcount-macro.test 839s # Running test: glib/autoptr.test 839s ok - glib/autoptr.test 839s # Running test: glib/boxed.test 839s ok - glib/boxed.test 839s # Running test: glib/g-file-info.test 839s ok - glib/g-file-info.test 839s # Running test: glib/unix-fd.test 839s ok - glib/unix-fd.test 839s # Running test: glib/notify-init.test 839s ok - glib/notify-init.test 839s # Running test: glib/signals-refcount4.test 839s # End of grefcount tests 839s # Start of gatomicrefcount tests 839s ok 4 /refcount/gatomicrefcount/saturation 839s # End of gatomicrefcount tests 839s # End of refcount tests 839s TAP version 14 839s # random seed: R02S303a74db6ace7aa37f930df7f28840e1 839s 1..6 839s # Start of autoptr tests 839s ok 1 /autoptr/autoptr 839s ok 2 /autoptr/autoptr_steal 839s ok 3 /autoptr/autolist 839s ok 4 /autoptr/autoslist 839s ok 5 /autoptr/autoqueue 839s ok 6 /autoptr/autoclass 839s # End of autoptr tests 839s TAP version 14 839s # random seed: R02Sbfde683bc1711373c39758fe1f1fb271 839s 1..27 839s # Start of boxed tests 839s ok 1 /boxed/define 839s ok 2 /boxed/ownership 839s ok 3 /boxed/closure 839s ok 4 /boxed/date 839s ok 5 /boxed/value 839s ok 6 /boxed/string 839s ok 7 /boxed/hashtable 839s ok 8 /boxed/array 839s ok 9 /boxed/ptrarray 839s ok 10 /boxed/regex 839s ok 11 /boxed/varianttype 839s ok 12 /boxed/error 839s ok 13 /boxed/datetime 839s ok 14 /boxed/matchinfo 839s ok 15 /boxed/keyfile 839s ok 16 /boxed/mainloop 839s ok 17 /boxed/maincontext 839s ok 18 /boxed/source 839s ok 19 /boxed/variantbuilder 839s ok 20 /boxed/timezone 839s ok 21 /boxed/pollfd 839s ok 22 /boxed/markup 839s ok 23 /boxed/thread 839s ok 24 /boxed/checksum 839s ok 25 /boxed/tree 839s ok 26 /boxed/patternspec 839s ok 27 /boxed/rand 839s # End of boxed tests 839s TAP version 14 839s # random seed: R02S28720db8786561b23d816a60dfaaeb43 839s 1..6 839s # Start of g-file-info tests 839s ok 1 /g-file-info/test_g_file_info 839s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 839s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 839s ok 2 /g-file-info/xattrs 839s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 839s ok 3 /g-file-info/set-modified-date-time-precision 839s # Start of test_g_file_info tests 839s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 839s ok 4 /g-file-info/test_g_file_info/modification-time 839s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 839s ok 5 /g-file-info/test_g_file_info/access-time 839s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 839s ok 6 /g-file-info/test_g_file_info/creation-time 839s # End of test_g_file_info tests 839s # End of g-file-info tests 839s TAP version 14 839s # random seed: R02Se8694eb9c37bf7993625cdc73bc5c7cd 839s 1..2 839s # Start of unix-fd tests 839s ok 1 /unix-fd/fd-list 839s ok 2 /unix-fd/scm 839s # End of unix-fd tests 839s TAP version 14 839s # random seed: R02Sfbcbf052a23fe71a7040d38fcc8bae5f 839s 1..1 839s # Start of properties tests 839s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 839s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 839s ok 1 /properties/notify-in-init 839s # End of properties tests 839s TAP version 14 839s # random seed: R02S7dca36e5b7bb45119a2da4afdf2784d8 839s 1..1 839s # Start of gobject tests 839s # Start of refcount tests 839s # init 0x5b6b7f5364a0 839s # 839s # init 0x5b6b7f52e580 839s # 840s # Executing: glib/signals-refcount4.test 844s ok - glib/signals-refcount4.test 844s # Running test: glib/converter-stream.test 844s # dispose 0x5b6b7f5364a0! 844s # 844s # dispose 0x5b6b7f52e580! 844s # 844s ok 1 /gobject/refcount/signals 844s # slow test /gobject/refcount/signals executed in 5.00 secs 844s # End of refcount tests 844s # End of gobject tests 844s TAP version 14 844s # random seed: R02S6e44b8439215bb573aa56c017302f80d 844s 1..17 844s # Start of converter tests 844s ok 1 /converter/basics 844s # End of converter tests 844s # Start of converter-input-stream tests 844s ok 2 /converter-input-stream/expander 844s ok 3 /converter-input-stream/compressor 844s # Start of truncation tests 844s ok 4 /converter-input-stream/truncation/zlib 844s ok 5 /converter-input-stream/truncation/gzip 844s ok 6 /converter-input-stream/truncation/raw 844s # End of truncation tests 844s # Start of charset tests 844s ok 7 /converter-input-stream/charset/utf8->latin1 844s ok 8 /converter-input-stream/charset/latin1->utf8 844s ok 9 /converter-input-stream/charset/fallbacks 844s # End of charset tests 844s # End of converter-input-stream tests 844s # Start of converter-output-stream tests 844s # Start of roundtrip tests 844s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 844s ok 10 /converter-output-stream/roundtrip/zlib-0 844s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 844s ok 11 /converter-output-stream/roundtrip/zlib-9 844s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 844s ok 12 /converter-output-stream/roundtrip/gzip-0 844s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 844s ok 13 /converter-output-stream/roundtrip/gzip-9 844s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 844s ok 14 /converter-output-stream/roundtrip/raw-0 844s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 844s ok 15 /converter-output-stream/roundtrip/raw-9 844s # End of roundtrip tests 844s # End of converter-output-stream tests 844s # Start of converter-stream tests 844s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 844s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5b0a19691ae0 and GSocketClientAsyncConnectData 0x5b0a1968a240 844s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 844s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 844s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5b0a192d0bd0 for GSocketClientAsyncConnectData 0x5b0a1968a240 844s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 844s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 844s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 844s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 844s ok 16 /converter-stream/pollable 844s ok 17 /converter-stream/leftover 844s # End of converter-stream tests 844s ok - glib/converter-stream.test 844s # Running test: glib/cxx.test 844s TAP version 14 844s # random seed: R02Sdc4c8a66df5e72648eff9e6e09ce53b9 844s 1..2 844s # Start of gtask tests 844s # 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. 844s ok 1 /gtask/name 844s # Start of name tests 844s # 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. 844s ok 2 /gtask/name/macro-wrapper 844s # End of name tests 844s # End of gtask tests 844s ok - glib/cxx.test 844s # Running test: glib/environment.test 844s ok - glib/environment.test 844s # Running test: glib/type-flags.test 844s ok - glib/type-flags.test 844s # Running test: glib/gdbus-threading.test 844s ok - glib/gdbus-threading.test 844s # Running test: glib/filenamecompleter.test 844s ok - glib/filenamecompleter.test 844s # Running test: glib/gobject-query.py.test 844s TAP version 14 844s # random seed: R02S2f33ac8c987dd1cd1c78d369cbb7acb1 844s 1..7 844s # Start of environ tests 844s # /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. 844s ok 1 /environ/listenv 844s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 844s ok 2 /environ/getenv 844s ok 3 /environ/setenv 844s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 844s ok 4 /environ/array 844s # /environ/null summary: Test getting and setting variables on a NULL envp array. 844s ok 5 /environ/null 844s # /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. 844s ok 6 /environ/case 844s # /environ/expansion summary: Test expansion of environment variable references. 844s ok 7 /environ/expansion # SKIP Environment variable expansion is only supported on Windows 844s # End of environ tests 844s TAP version 14 844s # random seed: R02S06d893af3709eb72e022e301c9f72e52 844s 1..4 844s # Start of type tests 844s # Start of flags tests 844s ok 1 /type/flags/interface 844s ok 2 /type/flags/final 844s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 844s ok 3 /type/flags/deprecated 844s # Start of final tests 844s ok 4 /type/flags/final/instance-check 844s # End of final tests 844s # End of flags tests 844s # End of type tests 844s TAP version 14 844s # random seed: R02Sde84263361f87e1352b95055c213b31d 844s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 844s TAP version 14 844s # random seed: R02S609982887231e7a760d2ca157cd0075a 844s 1..1 844s # Start of filenamecompleter tests 844s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_filenamecompleter_DYOJJ3/filenamecompleter/basic/.dirs/home 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_filenamecompleter_DYOJJ3/filenamecompleter/basic/.dirs/cache 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_filenamecompleter_DYOJJ3/filenamecompleter/basic/.dirs/system-config1:/tmp/test_filenamecompleter_DYOJJ3/filenamecompleter/basic/.dirs/system-config2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_filenamecompleter_DYOJJ3/filenamecompleter/basic/.dirs/config 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_filenamecompleter_DYOJJ3/filenamecompleter/basic/.dirs/system-data1:/tmp/test_filenamecompleter_DYOJJ3/filenamecompleter/basic/.dirs/system-data2 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_filenamecompleter_DYOJJ3/filenamecompleter/basic/.dirs/data 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_filenamecompleter_DYOJJ3/filenamecompleter/basic/.dirs/state 844s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_filenamecompleter_DYOJJ3/filenamecompleter/basic/.dirs/runtime 844s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 844s ok 1 /filenamecompleter/basic 844s # End of filenamecompleter tests 844s TAP version 13 844s ok 1 __main__.TestGobjectQuery.test_froots 844s # gobject-query: /usr/bin/gobject-query 844s # tmpdir: /tmp/tmpax419brr 844s # Running: ['/usr/bin/gobject-query', 'froots'] 844s # Return code: 0 844s # Output: 844s # ├void 844s # ├GInterface 844s # │ └GTypePlugin 844s # ├gchar 844s # ├guchar 844s # ├gboolean 844s # ├gint 844s # ├guint 844s # ├glong 844s # ├gulong 844s # ├gint64 844s # ├guint64 844s # ├GEnum 844s # ├GFlags 844s # ├gfloat 844s # ├gdouble 844s # ├gchararray 844s # ├gpointer 844s # │ └GType 844s # ├GBoxed 844s # │ └GValueArray 844s # ├GParam 844s # │ ├GParamChar 844s # │ ├GParamUChar 844s # │ ├GParamBoolean 844s # │ ├GParamInt 844s # │ ├GParamUInt 844s # │ ├GParamLong 844s # │ ├GParamULong 844s # │ ├GParamInt64 844s # │ ├GParamUInt64 844s # │ ├GParamUnichar 844s # │ ├GParamEnum 844s # │ ├GParamFlags 844s # │ ├GParamFloat 844s # │ ├GParamDouble 844s # │ ├GParamString 844s # │ ├GParamParam 844s # │ ├GParamBoxed 844s # │ ├GParamPointer 844s # │ ├GParamValueArray 844s # │ ├GParamObject 844s # │ ├GParamOverride 844s # │ ├GParamGType 844s # │ └GParamVariant 844s # ├GObject 844s # └GVariant 844s # Error: 844s ok 2 __main__.TestGobjectQuery.test_help 844s # gobject-query: /usr/bin/gobject-query 844s # tmpdir: /tmp/tmpme5fevq2 844s # Running: ['/usr/bin/gobject-query', '--help'] 844s # Return code: 0 844s # Output: 844s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 844s # -r specify root type 844s # -n don't descend type tree 844s # -h show help 844s # -b specify indent string 844s # -i specify incremental indent string 844s # -s specify line spacing 844s # qualifiers: 844s # froots iterate over fundamental roots 844s # tree print type tree 844s # Error: 844s ok 3 __main__.TestGobjectQuery.test_tree 844s # gobject-query: /usr/bin/gobject-query 844s # tmpdir: /tmp/tmpjbw0guk5 844s # Running: ['/usr/bin/gobject-query', 'tree'] 844s # Return code: 0 844s # Output: 844s # GObject 844s # Error: 844s ok 4 __main__.TestGobjectQuery.test_version 844s # gobject-query: /usr/bin/gobject-query 844s # tmpdir: /tmp/tmpk6mt3ltm 844s # Running: ['/usr/bin/gobject-query', '--version'] 844s # Return code: 0 844s # Output: 844s # 2.86.3 844s # Error: 844s 1..4 844s ok - glib/gobject-query.py.test 844s # Running test: glib/markup.test 844s TAP version 14 844s # random seed: R02Sfd1246b1136f170725cc6933e2057450 844s 1..1 844s # Start of markup tests 844s ok 1 /markup/stack 844s # End of markup tests 844s ok - glib/markup.test 844s # Running test: glib/portal-support-none.test 844s TAP version 14 844s # random seed: R02S1a7c6afae6ad8cf8342d2e43fd4d97e7 844s 1..1 844s # Start of portal-support tests 844s ok 1 /portal-support/none 844s # End of portal-support tests 844s ok - glib/portal-support-none.test 844s # Running test: glib/socket-address.test 844s TAP version 14 844s # random seed: R02Saa6f89f7ad1bb4fdaee7a70d5fbda29a 844s 1..2 844s # Start of socket tests 844s # Start of address tests 844s # Start of unix tests 844s ok 1 /socket/address/unix/construct 844s ok - glib/socket-address.test 844s # Running test: glib/node.test 844s ok 2 /socket/address/unix/to-string 844s # End of unix tests 844s # End of address tests 844s # End of socket tests 844s TAP version 14 844s # random seed: R02S87a2dd2a5e8577288deb895f4978586f 844s 1..6 844s # Start of node tests 844s ok 1 /node/allocation 844s ok 2 /node/construction 844s ok 3 /node/traversal 844s ok 4 /node/misc 844s ok 5 /node/unlink 844s ok 6 /node/copy 844s # End of node tests 844s ok - glib/node.test 844s # Running test: glib/data-output-stream.test 844s TAP version 14 844s # random seed: R02S9190510f0047eb45aac8c2b02068007e 844s 1..7 844s # Start of data-output-stream tests 844s ok - glib/data-output-stream.test 844s # Running test: glib/messages-low-memory.py.test 844s ok 1 /data-output-stream/basic 844s ok 2 /data-output-stream/write-lines-LF 844s ok 3 /data-output-stream/write-lines-CR 844s ok 4 /data-output-stream/write-lines-CR-LF 844s ok 5 /data-output-stream/write-int 844s ok 6 /data-output-stream/seek 844s ok 7 /data-output-stream/truncate 844s # End of data-output-stream tests 844s TAP version 13 844s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 844s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 844s # tmpdir: /tmp/tmpuasccnrb 844s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 844s # Return code: -6 844s # Output: 844s # 844s # Error: 844s # GLib-Message: 12:39:46.791: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 844s # GLib-Message: 12:39:46.791: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 844s # ../../../glib/gprintf.c:351: failed to allocate memory 844s 1..1 844s ok - glib/messages-low-memory.py.test 844s # Running test: glib/gdatetime.test 844s TAP version 14 844s # random seed: R02Sae8fcb1430e1c4d391b948d371b60a89 844s 1..68 844s # Start of GDateTime tests 844s # Bug Reference: http://bugzilla.gnome.org/702674 844s ok 1 /GDateTime/invalid 844s ok 2 /GDateTime/add_days 844s ok 3 /GDateTime/add_full 844s ok 4 /GDateTime/add_hours 844s ok 5 /GDateTime/add_minutes 844s ok 6 /GDateTime/add_months 844s ok 7 /GDateTime/add_seconds 844s ok 8 /GDateTime/add_weeks 844s ok 9 /GDateTime/add_years 844s ok 10 /GDateTime/compare 844s ok 11 /GDateTime/diff 844s ok 12 /GDateTime/equal 844s ok 13 /GDateTime/get_day_of_week 844s ok 14 /GDateTime/get_day_of_month 844s ok 15 /GDateTime/get_day_of_year 844s ok 16 /GDateTime/get_hour 844s ok 17 /GDateTime/get_microsecond 844s ok 18 /GDateTime/get_minute 844s ok 19 /GDateTime/get_month 844s ok 20 /GDateTime/get_second 844s ok 21 /GDateTime/get_utc_offset 844s ok 22 /GDateTime/get_year 844s ok 23 /GDateTime/hash 844s ok 24 /GDateTime/new_from_unix 844s ok 25 /GDateTime/new_from_unix_utc 844s ok 26 /GDateTime/new_from_timeval 844s ok 27 /GDateTime/new_from_timeval_utc 844s ok 28 /GDateTime/new_from_iso8601 844s ok 29 /GDateTime/new_full 844s ok 30 /GDateTime/now 844s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 844s ok 31 /GDateTime/test-6-days-until-end-of-the-month 844s # %a -> expected: Sat 844s # %a -> actual: Sat 844s # %A -> expected: Saturday 844s # %A -> actual: Saturday 844s # %b -> expected: Oct 844s # %b -> actual: Oct 844s # %B -> expected: October 844s # %B -> actual: October 844s # %d -> expected: 24 844s # %d -> actual: 24 844s # %d -> expected: 01 844s # %d -> actual: 01 844s # %e -> expected: 24 844s # %e -> actual: 24 844s # %e -> expected:  1 844s # %e -> actual:  1 844s # %f -> expected: 001000 844s # %f -> actual: 001000 844s # %h -> expected: Oct 844s # %h -> actual: Oct 844s # %H -> expected: 00 844s # %H -> actual: 00 844s # %H -> expected: 15 844s # %H -> actual: 15 844s # %I -> expected: 12 844s # %I -> actual: 12 844s # %I -> expected: 12 844s # %I -> actual: 12 844s # %I -> expected: 03 844s # %I -> actual: 03 844s # %j -> expected: 297 844s # %j -> actual: 297 844s # %k -> expected:  0 844s # %k -> actual:  0 844s # %k -> expected: 13 844s # %k -> actual: 13 844s # %l -> expected: 12 844s # %l -> actual: 12 844s # %I -> expected: 12 844s # %I -> actual: 12 844s # %l -> expected:  1 844s # %l -> actual:  1 844s # %l -> expected: 10 844s # %l -> actual: 10 844s # %m -> expected: 10 844s # %m -> actual: 10 844s # %M -> expected: 00 844s # %M -> actual: 00 844s # %p -> expected: AM 844s # %p -> actual: AM 844s # %p -> expected: PM 844s # %p -> actual: PM 844s # %P -> expected: am 844s # %P -> actual: am 844s # %P -> expected: pm 844s # %P -> actual: pm 844s # %r -> expected: 12:00:00 AM 844s # %r -> actual: 12:00:00 AM 844s # %r -> expected: 01:13:13 PM 844s # %r -> actual: 01:13:13 PM 844s # %R -> expected: 00:00 844s # %R -> actual: 00:00 844s # %R -> expected: 13:13 844s # %R -> actual: 13:13 844s # %S -> expected: 00 844s # %S -> actual: 00 844s # %t -> expected: 844s # %t -> actual: 844s # %u -> expected: 6 844s # %u -> actual: 6 844s # %x -> expected: 10/24/09 844s # %x -> actual: 10/24/09 844s # %X -> expected: 00:00:00 844s # %X -> actual: 00:00:00 844s # %X -> expected: 13:14:15 844s # %X -> actual: 13:14:15 844s # %y -> expected: 09 844s # %y -> actual: 09 844s # %Y -> expected: 2009 844s # %Y -> actual: 2009 844s # %% -> expected: % 844s # %% -> actual: % 844s # % -> expected: 844s # % -> actual: 844s # %9 -> expected: (null) 844s # %9 -> actual: (null) 844s # %Z -> expected: UTC 844s # %Z -> actual: UTC 844s # %#Z %Z -> expected: utc UTC 844s # %#Z %Z -> actual: utc UTC 844s ok 32 /GDateTime/printf 844s # %a -> expected: 土 844s # %a -> actual: 土 844s # %A -> expected: 土曜日 844s # %A -> actual: 土曜日 844s # %b -> expected: 10月 844s # %b -> actual: 10月 844s # %B -> expected: 10月 844s # %B -> actual: 10月 844s # %c -> expected: 2009年10月24日 00時00分00秒 844s # %c -> actual: 2009年10月24日 00時00分00秒 844s # %C -> expected: 20 844s # %C -> actual: 20 844s # %d -> expected: 24 844s # %d -> actual: 24 844s # %d -> expected: 01 844s # %d -> actual: 01 844s # %e -> expected: 24 844s # %e -> actual: 24 844s # %h -> expected: 10月 844s # %h -> actual: 10月 844s # %H -> expected: 00 844s # %H -> actual: 00 844s # %H -> expected: 15 844s # %H -> actual: 15 844s # %I -> expected: 12 844s # %I -> actual: 12 844s # %I -> expected: 12 844s # %I -> actual: 12 844s # %I -> expected: 03 844s # %I -> actual: 03 844s # %j -> expected: 297 844s # %j -> actual: 297 844s # %k -> expected:  0 844s # %k -> actual:  0 844s # %k -> expected: 13 844s # %k -> actual: 13 844s # %l -> expected: 12 844s # %l -> actual: 12 844s # %I -> expected: 12 844s # %I -> actual: 12 844s # %l -> expected:  1 844s # %l -> actual:  1 844s # %l -> expected: 10 844s # %l -> actual: 10 844s # %m -> expected: 10 844s # %m -> actual: 10 844s # %M -> expected: 00 844s # %M -> actual: 00 844s # %p -> expected: 午前 844s # %p -> actual: 午前 844s # %p -> expected: 午後 844s # %p -> actual: 午後 844s # %P -> expected: 午前 844s # %P -> actual: 午前 844s # %P -> expected: 午後 844s # %P -> actual: 午後 844s # %r -> expected: 午前12時00分00秒 844s # %r -> actual: 午前12時00分00秒 844s # %r -> expected: 午後01時13分13秒 844s # %r -> actual: 午後01時13分13秒 844s # %R -> expected: 00:00 844s # %R -> actual: 00:00 844s # %R -> expected: 13:13 844s # %R -> actual: 13:13 844s # %S -> expected: 00 844s # %S -> actual: 00 844s # %t -> expected: 844s # %t -> actual: 844s # %u -> expected: 6 844s # %u -> actual: 6 844s # %x -> expected: 2009年10月24日 844s # %x -> actual: 2009年10月24日 844s # %X -> expected: 00時00分00秒 844s # %X -> actual: 00時00分00秒 844s # %X -> expected: 13時14分15秒 844s # %X -> actual: 13時14分15秒 844s # %y -> expected: 09 844s # %y -> actual: 09 844s # %Y -> expected: 2009 844s # %Y -> actual: 2009 844s # %% -> expected: % 844s # %% -> actual: % 844s # % -> expected: 844s # % -> actual: 844s # %9 -> expected: (null) 844s # %9 -> actual: (null) 844s # %Ec -> expected: 平成21年10月24日 00時00分00秒 844s # %Ec -> actual: 平成21年10月24日 00時00分00秒 844s # %EC -> expected: 平成 844s # %EC -> actual: 平成 844s # %Ex -> expected: 平成21年10月24日 844s # %Ex -> actual: 平成21年10月24日 844s # %EX -> expected: 00時00分00秒 844s # %EX -> actual: 00時00分00秒 844s # %Ey -> expected: 21 844s # %Ey -> actual: 21 844s # %EY -> expected: 平成21年 844s # %EY -> actual: 平成21年 844s ok 33 /GDateTime/non_utf8_printf 844s # ąśćł -> expected: ąśćł 844s # ąśćł -> actual: ąśćł 844s # %H∶%M -> expected: 23∶15 844s # %H∶%M -> actual: 23∶15 844s # %H∶%M -> expected: 23∶15 844s # %H∶%M -> actual: 23∶15 844s ok 34 /GDateTime/format_unrepresentable 844s ok 35 /GDateTime/format_iso8601 844s ok 36 /GDateTime/strftime 844s # %d -> expected: 01 844s # %d -> actual: 01 844s # %_d -> expected: 1 844s # %_d -> actual: 1 844s # %-d -> expected: 1 844s # %-d -> actual: 1 844s # %0d -> expected: 01 844s # %0d -> actual: 01 844s # %d -> expected: 21 844s # %d -> actual: 21 844s # %_d -> expected: 21 844s # %_d -> actual: 21 844s # %-d -> expected: 21 844s # %-d -> actual: 21 844s # %0d -> expected: 21 844s # %0d -> actual: 21 844s # %e -> expected:  1 844s # %e -> actual:  1 844s # %_e -> expected: 1 844s # %_e -> actual: 1 844s # %-e -> expected: 1 844s # %-e -> actual: 1 844s # %0e -> expected: 01 844s # %0e -> actual: 01 844s # %e -> expected: 21 844s # %e -> actual: 21 844s # %_e -> expected: 21 844s # %_e -> actual: 21 844s # %-e -> expected: 21 844s # %-e -> actual: 21 844s # %0e -> expected: 21 844s # %0e -> actual: 21 844s # %a -> expected: Thu 844s # %a -> actual: Thu 844s # %^a -> expected: THU 844s # %^a -> actual: THU 844s # %#a -> expected: THU 844s # %#a -> actual: THU 844s # %A -> expected: Thursday 844s # %A -> actual: Thursday 844s # %^A -> expected: THURSDAY 844s # %^A -> actual: THURSDAY 844s # %#A -> expected: THURSDAY 844s # %#A -> actual: THURSDAY 844s # %b -> expected: Jan 844s # %b -> actual: Jan 844s # %^b -> expected: JAN 844s # %^b -> actual: JAN 844s # %#b -> expected: JAN 844s # %#b -> actual: JAN 844s # %B -> expected: January 844s # %B -> actual: January 844s # %^B -> expected: JANUARY 844s # %^B -> actual: JANUARY 844s # %#B -> expected: JANUARY 844s # %#B -> actual: JANUARY 844s # %h -> expected: Jan 844s # %h -> actual: Jan 844s # %^h -> expected: JAN 844s # %^h -> actual: JAN 844s # %#h -> expected: JAN 844s # %#h -> actual: JAN 844s # %Z -> expected: UTC 844s # %Z -> actual: UTC 844s # %^Z -> expected: UTC 844s # %^Z -> actual: UTC 844s # %#Z -> expected: utc 844s # %#Z -> actual: utc 844s # %H -> expected: 01 844s # %H -> actual: 01 844s # %_H -> expected: 1 844s # %_H -> actual: 1 844s # %-H -> expected: 1 844s # %-H -> actual: 1 844s # %0H -> expected: 01 844s # %0H -> actual: 01 844s # %H -> expected: 21 844s # %H -> actual: 21 844s # %_H -> expected: 21 844s # %_H -> actual: 21 844s # %-H -> expected: 21 844s # %-H -> actual: 21 844s # %0H -> expected: 21 844s # %0H -> actual: 21 844s # %I -> expected: 01 844s # %I -> actual: 01 844s # %_I -> expected: 1 844s # %_I -> actual: 1 844s # %-I -> expected: 1 844s # %-I -> actual: 1 844s # %0I -> expected: 01 844s # %0I -> actual: 01 844s # %I -> expected: 11 844s # %I -> actual: 11 844s # %_I -> expected: 11 844s # %_I -> actual: 11 844s # %-I -> expected: 11 844s # %-I -> actual: 11 844s # %0I -> expected: 11 844s # %0I -> actual: 11 844s # %k -> expected:  1 844s # %k -> actual:  1 844s # %_k -> expected: 1 844s # %_k -> actual: 1 844s # %-k -> expected: 1 844s # %-k -> actual: 1 844s # %0k -> expected: 01 844s # %0k -> actual: 01 844s # %l -> expected:  1 844s # %l -> actual:  1 844s # %_l -> expected: 1 844s # %_l -> actual: 1 844s # %-l -> expected: 1 844s # %-l -> actual: 1 844s # %0l -> expected: 01 844s # %0l -> actual: 01 844s # %l -> expected: 11 844s # %l -> actual: 11 844s # %_l -> expected: 11 844s # %_l -> actual: 11 844s # %-l -> expected: 11 844s # %-l -> actual: 11 844s # %0l -> expected: 11 844s # %0l -> actual: 11 844s # %p -> expected: AM 844s # %p -> actual: AM 844s # %^p -> expected: AM 844s # %^p -> actual: AM 844s # %#p -> expected: am 844s # %#p -> actual: am 844s # %P -> expected: am 844s # %P -> actual: am 844s # %^P -> expected: AM 844s # %^P -> actual: AM 844s # %#P -> expected: am 844s # %#P -> actual: am 844s # %OH -> expected: ۲۳ 844s # %OH -> actual: ۲۳ 844s # %OI -> expected: ۱۱ 844s # %OI -> actual: ۱۱ 844s # %OM -> expected: ۰۰ 844s # %OM -> actual: ۰۰ 844s # %Om -> expected: ۰۷ 844s # %Om -> actual: ۰۷ 844s # %0Om -> expected: ۰۷ 844s # %0Om -> actual: ۰۷ 844s # %-Om -> expected: ۷ 844s # %-Om -> actual: ۷ 844s # %_Om -> expected: ۷ 844s # %_Om -> actual: ۷ 844s # %c -> expected: thu 01 jan 2009 00:00:00 utc 844s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 844s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 844s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 844s # %C -> expected: 20 844s # %C -> actual: 20 844s # %EC -> expected: 20 844s # %EC -> actual: 20 844s # %x -> expected: 02/01/09 844s # %x -> actual: 02/01/09 844s # %Ex -> expected: 02/01/09 844s # %Ex -> actual: 02/01/09 844s # %X -> expected: 01:02:03 844s # %X -> actual: 01:02:03 844s # %EX -> expected: 01:02:03 844s # %EX -> actual: 01:02:03 844s # %y -> expected: 09 844s # %y -> actual: 09 844s # %Ey -> expected: 09 844s # %Ey -> actual: 09 844s # %Y -> expected: 2009 844s # %Y -> actual: 2009 844s # %EY -> expected: 2009 844s # %EY -> actual: 2009 844s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 844s # Bug Reference: http://bugzilla.gnome.org/749206 844s # %B -> expected: January 844s # %B -> actual: January 844s # %OB -> expected: February 844s # %OB -> actual: February 844s # %b -> expected: Mar 844s # %b -> actual: Mar 844s # %Ob -> expected: Apr 844s # %Ob -> actual: Apr 844s # %h -> expected: May 844s # %h -> actual: May 844s # %Oh -> expected: Jun 844s # %Oh -> actual: Jun 844s # %B -> expected: Juli 844s # %B -> actual: Juli 844s # %OB -> expected: August 844s # %OB -> actual: August 844s # %b -> expected: Sep 844s # %b -> actual: Sep 844s # %Ob -> expected: Okt 844s # %Ob -> actual: Okt 844s # %h -> expected: Nov 844s # %h -> actual: Nov 844s # %Oh -> expected: Dez 844s # %Oh -> actual: Dez 844s # %B -> expected: enero 844s # %B -> actual: enero 844s # %OB -> expected: febrero 844s # %OB -> actual: febrero 844s # %b -> expected: mar 844s # %b -> actual: mar 844s # %Ob -> expected: abr 844s # %Ob -> actual: abr 844s # %h -> expected: may 844s # %h -> actual: may 844s # %Oh -> expected: jun 844s # %Oh -> actual: jun 844s # %B -> expected: juillet 844s # %B -> actual: juillet 844s # %OB -> expected: août 844s # %OB -> actual: août 844s # %b -> expected: sept. 844s # %b -> actual: sept. 844s # %Ob -> expected: oct. 844s # %Ob -> actual: oct. 844s # %h -> expected: nov. 844s # %h -> actual: nov. 844s # %Oh -> expected: déc. 844s # %Oh -> actual: déc. 844s # %B -> expected: Ιανουαρίου 844s # %B -> actual: Ιανουαρίου 844s # %B -> expected: Φεβρουαρίου 844s # %B -> actual: Φεβρουαρίου 844s # %B -> expected: Μαρτίου 844s # %B -> actual: Μαρτίου 844s # %OB -> expected: Απρίλιος 844s # %OB -> actual: Απρίλιος 844s # %OB -> expected: Μάιος 844s # %OB -> actual: Μάιος 844s # %OB -> expected: Ιούνιος 844s # %OB -> actual: Ιούνιος 844s # %b -> expected: Ιουλ 844s # %b -> actual: Ιουλ 844s # %Ob -> expected: Αύγ 844s # %Ob -> actual: Αύγ 844s # %B -> expected: svibnja 844s # %B -> actual: svibnja 844s # %B -> expected: lipnja 844s # %B -> actual: lipnja 844s # %B -> expected: srpnja 844s # %B -> actual: srpnja 844s # %OB -> expected: Kolovoz 844s # %OB -> actual: kolovoz 844s # %OB -> expected: Rujan 844s # %OB -> actual: rujan 844s # %OB -> expected: Listopad 844s # %OB -> actual: listopad 844s # %b -> expected: Stu 844s # %b -> actual: stu 844s # %Ob -> expected: Pro 844s # %Ob -> actual: pro 844s # %B -> expected: sausio 844s # %B -> actual: sausio 844s # %B -> expected: vasario 844s # %B -> actual: vasario 844s # %B -> expected: kovo 844s # %B -> actual: kovo 844s # %OB -> expected: balandis 844s # %OB -> actual: balandis 844s # %OB -> expected: gegužė 844s # %OB -> actual: gegužė 844s # %OB -> expected: birželis 844s # %OB -> actual: birželis 844s # %b -> expected: liep. 844s # %b -> actual: liep. 844s # %Ob -> expected: rugp. 844s # %Ob -> actual: rugp. 844s # %B -> expected: maja 844s # %B -> actual: maja 844s # %B -> expected: czerwca 844s # %B -> actual: czerwca 844s # %B -> expected: lipca 844s # %B -> actual: lipca 844s # %OB -> expected: sierpień 844s # %OB -> actual: sierpień 844s # %OB -> expected: wrzesień 844s # %OB -> actual: wrzesień 844s # %OB -> expected: październik 844s # %OB -> actual: październik 844s # %b -> expected: lis 844s # %b -> actual: lis 844s # %Ob -> expected: gru 844s # %Ob -> actual: gru 844s # %B -> expected: января 844s # %B -> actual: января 844s # %B -> expected: февраля 844s # %B -> actual: февраля 844s # %B -> expected: марта 844s # %B -> actual: марта 844s # %OB -> expected: Апрель 844s # %OB -> actual: Апрель 844s # %OB -> expected: Май 844s # %OB -> actual: Май 844s # %OB -> expected: Июнь 844s # %OB -> actual: Июнь 844s # %b -> expected: июл 844s # %b -> actual: июл 844s # %Ob -> expected: авг 844s # %Ob -> actual: авг 844s # %b -> expected: мая 844s # %b -> actual: мая 844s # %Ob -> expected: май 844s # %Ob -> actual: май 844s ok 38 /GDateTime/month_names 844s ok 39 /GDateTime/to_local 844s ok 40 /GDateTime/to_unix 844s ok 41 /GDateTime/to_timeval 844s ok 42 /GDateTime/to_utc 844s ok 43 /GDateTime/now_utc 844s ok 44 /GDateTime/dst 844s # Bug Reference: http://bugzilla.gnome.org/642935 844s ok 45 /GDateTime/test_z 845s # Executing: glib/gdatetime.test 845s ok 46 /GDateTime/test-all-dates 845s # slow test /GDateTime/test-all-dates executed in 0.55 secs 845s ok 47 /GDateTime/unix_usec 845s # Start of new_from_unix tests 845s # Bug Reference: http://bugzilla.gnome.org/782089 845s ok 48 /GDateTime/new_from_unix/overflow 845s # End of new_from_unix tests 845s # Start of new_from_timeval tests 845s # Bug Reference: http://bugzilla.gnome.org/782089 845s # Maximum supported GTimeVal.tv_sec = 253402300799 845s ok 49 /GDateTime/new_from_timeval/overflow 845s # End of new_from_timeval tests 845s # Start of new_from_iso8601 tests 845s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 845s # Vector 0: 1990-11-01T10:21:17Z 845s # Vector 1: 19901101T102117Z 845s # Vector 2: 1970-01-01T00:00:17.12Z 845s # Vector 3: 1970-01-01T00:00:17.1234Z 845s # Vector 4: 1970-01-01T00:00:17.123456Z 845s # Vector 5: 1980-02-22T12:36:00+02:00 845s # Vector 6: 1990-12-31T15:59:60-08:00 845s # Vector 7: 845s # Vector 8: x 845s # Vector 9: 123x 845s # Vector 10: 2001-10+x 845s # Vector 11: 1980-02-22T 845s # Vector 12: 2001-10-08Tx 845s # Vector 13: 2001-10-08T10:11x 845s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 845s # Vector 15: 1980-02-22T10:36:00Zulu 845s # Vector 16: 2T0+819855292164632335 845s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 845s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 845s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 845s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 845s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 845s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 845s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 845s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 845s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 845s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 845s # Vector 27: 20180803T140805.446178377+0100 845s # Vector 28: 21474836480803T140805.446178377+0100 845s # Vector 29: 20181303T140805.446178377+0100 845s # Vector 30: 20180003T140805.446178377+0100 845s # Vector 31: 20180800T140805.446178377+0100 845s # Vector 32: 20180832T140805.446178377+0100 845s # Vector 33: 20180803T240805.446178377+0100 845s # Vector 34: 20180803T146005.446178377+0100 845s # Vector 35: 20180803T140863.446178377+0100 845s # Vector 36: 20180803T140805.446178377+10000 845s # Vector 37: -0005-01-01T00:00:00Z 845s # Vector 38: 2018-08-06 845s # Vector 39: 20180803T140805,446178377+0100 845s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 845s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 845s # Vector 42: 1990-11-01T10:21:17 845s # Vector 43: 1719W462 407777-07 845s # Vector 44: 4011090 260528Z 845s # Vector 45: 0000W011 228214-22 845s ok 50 /GDateTime/new_from_iso8601/2 845s # End of new_from_iso8601 tests 845s # Start of format_mixed tests 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 845s # %b -> expected: mar 845s # %b -> actual: Mar 845s # %B -> expected: march 845s # %B -> actual: March 845s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 845s # %b -> expected: mar 845s # %b -> actual: Mar 845s # %B -> expected: march 845s # %B -> actual: March 845s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 845s # %b -> expected: Mär 845s # %b -> actual: Mär 845s # %B -> expected: März 845s # %B -> actual: März 845s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 845s # %b -> expected: Mär 845s # %b -> actual: Mär 845s # %B -> expected: März 845s # %B -> actual: März 845s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 845s # End of format_mixed tests 845s # Start of strftime tests 845s # %r -> expected: (null) 845s # %r -> actual: (null) 845s ok 55 /GDateTime/strftime/error_handling 845s # End of strftime tests 845s # Start of eras tests 845s # %Ec -> expected: 令和05年06月01日 00時00分00秒 845s # %Ec -> actual: 令和05年06月01日 00時00分00秒 845s # %EC -> expected: 令和 845s # %EC -> actual: 令和 845s # %Ex -> expected: 令和05年06月01日 845s # %Ex -> actual: 令和05年06月01日 845s # %EX -> expected: 00時00分00秒 845s # %EX -> actual: 00時00分00秒 845s # %Ey -> expected: 05 845s # %Ey -> actual: 05 845s # %EY -> expected: 令和05年 845s # %EY -> actual: 令和05年 845s # %Ec -> expected: 平成31年04月30日 00時00分00秒 845s # %Ec -> actual: 平成31年04月30日 00時00分00秒 845s # %EC -> expected: 平成 845s # %EC -> actual: 平成 845s # %Ex -> expected: 平成31年04月30日 845s # %Ex -> actual: 平成31年04月30日 845s # %EX -> expected: 00時00分00秒 845s # %EX -> actual: 00時00分00秒 845s # %Ey -> expected: 31 845s # %Ey -> actual: 31 845s # %EY -> expected: 平成31年 845s # %EY -> actual: 平成31年 845s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 845s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 845s # %EC -> expected: 昭和 845s # %EC -> actual: 昭和 845s # %Ex -> expected: 昭和元年12月25日 845s # %Ex -> actual: 昭和元年12月25日 845s # %EX -> expected: 00時00分00秒 845s # %EX -> actual: 00時00分00秒 845s # %Ey -> expected: 01 845s # %Ey -> actual: 01 845s # %EY -> expected: 昭和元年 845s # %EY -> actual: 昭和元年 845s ok 56 /GDateTime/eras/japan 845s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 845s # Vector 0: 845s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 845s # 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年 845s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 845s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 845s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 845s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 845s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 845s # Vector 8: + 845s # Vector 9: +: 845s # Vector 10: +:: 845s # Vector 11: +:200 845s # Vector 12: +:2nonsense 845s # Vector 13: +:2nonsense: 845s # Vector 14: +:2: 845s # Vector 15: +:2:: 845s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 845s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 845s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 845s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 845s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 845s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 845s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 845s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 845s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 845s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 845s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 845s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 845s # Vector 28: +:2:2020/01/01 845s # Vector 29: +:2:2020/01/01: 845s # Vector 30: +:2:2020/01/01:: 845s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 845s # Vector 32: +:2:2020/01/01:+* 845s # Vector 33: +:2:2020/01/01:+*: 845s # Vector 34: +:2:2020/01/01:+*:: 845s # Vector 35: +:2:2020/01/01:+*:令和 845s # Vector 36: +:2:2020/01/01:+*:令和: 845s # Vector 37: +:2:2020/01/01:+*:令和:; 845s ok 58 /GDateTime/eras/parsing 845s # End of eras tests 845s # End of GDateTime tests 845s # Start of GTimeZone tests 845s ok 59 /GTimeZone/find-interval 845s ok 60 /GTimeZone/adjust-time 845s ok 61 /GTimeZone/no-header 845s ok 62 /GTimeZone/no-header-identifier 845s ok 63 /GTimeZone/posix-parse 845s # Bug Reference: http://bugzilla.gnome.org/697715 845s ok 64 /GTimeZone/floating-point 845s # System time zone identifier: Etc/UTC 845s ok 65 /GTimeZone/identifier 845s # Vector 0: -158400 845s # Vector 1: -10000 845s # Vector 2: -3600 845s # Vector 3: -61 845s # Vector 4: -60 845s # Vector 5: -59 845s # Vector 6: 0 845s # Vector 7: 59 845s # Vector 8: 60 845s # Vector 9: 61 845s # Vector 10: 3600 845s # Vector 11: 10000 845s # Vector 12: 158400 845s ok 66 /GTimeZone/new-offset 845s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 845s ok 67 /GTimeZone/parse-rfc8536 845s # /GTimeZone/caching summary: GTimeZone instances are cached 845s ok 68 /GTimeZone/caching 845s # End of GTimeZone tests 845s ok - glib/gdatetime.test 845s # Running test: glib/utf8-misc.test 845s TAP version 14 845s # random seed: R02S09c0793a06336a48175fade142cbd428 845s 1..7 845s # Start of utf8 tests 845s ok 1 /utf8/strlen 845s ok 2 /utf8/strncpy 845s ok 3 /utf8/strrchr 845s ok 4 /utf8/reverse 845s ok 5 /utf8/substring 845s ok 6 /utf8/make-valid 845s ok 7 /utf8/truncate-middle 845s # End of utf8 tests 845s ok - glib/utf8-misc.test 845s # Running test: glib/gdbus-address-get-session.test 845s TAP version 14 845s # random seed: R02Sb5e00a945451dd7f47253f44b4dddf92 845s 1..2 845s # Start of gdbus tests 845s ok 1 /gdbus/x11-autolaunch 845s ok - glib/gdbus-address-get-session.test 845s # Running test: glib/base64.test 845s ok - glib/base64.test 845s # Running test: glib/readwrite.test 845s ok - glib/readwrite.test 845s # Running test: glib/642026.test 845s ok 2 /gdbus/xdg-runtime 845s # End of gdbus tests 845s TAP version 14 845s # random seed: R02S129cefac50b830110519249b784f22c5 845s 1..28 845s # Start of base64 tests 845s ok 1 /base64/encode 845s ok 2 /base64/decode 845s ok 3 /base64/decode-inplace 845s ok 4 /base64/encode-decode 845s # Start of full tests 845s ok 5 /base64/full/1 845s ok 6 /base64/full/2 845s ok 7 /base64/full/3 845s ok 8 /base64/full/4 845s # End of full tests 845s # Start of encode tests 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 845s ok 9 /base64/encode/empty 845s # Start of incremental tests 845s # Start of small-block tests 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 845s ok 10 /base64/encode/incremental/small-block/1 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 845s ok 11 /base64/encode/incremental/small-block/2 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 845s ok 12 /base64/encode/incremental/small-block/3 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 845s ok 13 /base64/encode/incremental/small-block/4 845s # End of small-block tests 845s # End of incremental tests 845s # End of encode tests 845s # Start of incremental tests 845s # Start of nobreak tests 845s ok 14 /base64/incremental/nobreak/1 845s ok 15 /base64/incremental/nobreak/2 845s ok 16 /base64/incremental/nobreak/3 845s ok 17 /base64/incremental/nobreak/4-a 845s ok 18 /base64/incremental/nobreak/4-b 845s ok 19 /base64/incremental/nobreak/4-c 845s # End of nobreak tests 845s # Start of break tests 845s ok 20 /base64/incremental/break/1 845s ok 21 /base64/incremental/break/2 845s ok 22 /base64/incremental/break/3 845s # End of break tests 845s # Start of smallblock tests 845s ok 23 /base64/incremental/smallblock/1 845s ok 24 /base64/incremental/smallblock/2 845s ok 25 /base64/incremental/smallblock/3 845s ok 26 /base64/incremental/smallblock/4 845s # End of smallblock tests 845s # End of incremental tests 845s # Start of decode tests 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 845s ok 27 /base64/decode/empty 845s # End of decode tests 845s # Start of encode-decode tests 845s # Vector 0: 845s # Vector 1: f 845s # Vector 2: fo 845s # Vector 3: foo 845s # Vector 4: foob 845s # Vector 5: fooba 845s # Vector 6: foobar 845s ok 28 /base64/encode-decode/rfc4648 845s # End of encode-decode tests 845s # End of base64 tests 845s TAP version 14 845s # random seed: R02Seb454109fe4c98f0cea6f0775f1f5669 845s 1..3 845s # Start of readwrite tests 845s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 845s ok 1 /readwrite/test_g_file_open_readwrite 845s ok 2 /readwrite/test_g_file_create_readwrite 845s ok 3 /readwrite/test_g_file_replace_readwrite 845s # End of readwrite tests 845s TAP version 14 845s # random seed: R02S8afb525f654f1f6d88f826529ed81637 845s 1..1 845s # Start of glib tests 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 845s ok - glib/642026.test 845s ok 1 /glib/642026 845s # End of glib tests 845s # Running test: glib/flags.test 845s TAP version 14 845s # random seed: R02S1c9071e2664aa8501870148f5fad9bdf 845s 1..1 845s # Start of gobject tests 845s # Start of flags tests 845s ok 1 /gobject/flags/validate 845s # End of flags tests 845s # End of gobject tests 845s ok - glib/flags.test 845s # Running test: glib/signal-handler.test 845s TAP version 14 845s # random seed: R02S4cb2bcf00e939ec154d5e4b0aca5f4cd 845s ok - glib/signal-handler.test 845s 1..7 845s # Start of signal tests 845s # Start of handler tests 845s # min perf: connected 1 handlers in 0.000 seconds 845s ok 1 /signal/handler/connect-many 845s # min perf: disconnected 1 handlers in 0.000 seconds 845s ok 2 /signal/handler/disconnect-many-ordered 845s # min perf: disconnected 1 handlers in 0.000 seconds 845s ok 3 /signal/handler/disconnect-many-inverse 845s # min perf: disconnected 1 handlers in 0.000 seconds 845s ok 4 /signal/handler/disconnect-many-random 845s # min perf: disconnected 1 handlers in 0.000 seconds 845s ok 5 /signal/handler/disconnect-2-signals 845s # min perf: disconnected 1 handlers in 0.000 seconds 845s ok 6 /signal/handler/disconnect-2-objects 845s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 845s ok 7 /signal/handler/block-many 845s # End of handler tests 845s # End of signal tests 845s # Running test: glib/asyncqueue.test 845s TAP version 14 845s # random seed: R02Sa429d76b9575a4cb4a5e9cafbde8c670 845s 1..7 845s # Start of asyncqueue tests 845s ok 1 /asyncqueue/basics 845s ok 2 /asyncqueue/sort 845s ok 3 /asyncqueue/destroy 845s ok 4 /asyncqueue/threads 845s ok 5 /asyncqueue/timed 845s ok 6 /asyncqueue/remove 845s ok 7 /asyncqueue/push_front 845s # End of asyncqueue tests 845s ok - glib/asyncqueue.test 845s # Running test: glib/error.test 845s ok - glib/error.test 845s # Running test: glib/portal-support-flatpak-network-only.test 845s ok - glib/portal-support-flatpak-network-only.test 845s # Running test: glib/function-info.test 845s TAP version 14 845s # random seed: R02S6bb6ca55d88814dc8d3c141e93b86167 845s 1..3 845s # Start of error tests 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_06MQJ3/error/from-errno/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_06MQJ3/error/from-errno/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_06MQJ3/error/from-errno/.dirs/system-config1:/tmp/test_error_06MQJ3/error/from-errno/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_06MQJ3/error/from-errno/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_06MQJ3/error/from-errno/.dirs/system-data1:/tmp/test_error_06MQJ3/error/from-errno/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_06MQJ3/error/from-errno/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_06MQJ3/error/from-errno/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_06MQJ3/error/from-errno/.dirs/runtime 845s ok 1 /error/from-errno 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_06MQJ3/error/from-file-error/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_06MQJ3/error/from-file-error/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_06MQJ3/error/from-file-error/.dirs/system-config1:/tmp/test_error_06MQJ3/error/from-file-error/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_06MQJ3/error/from-file-error/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_06MQJ3/error/from-file-error/.dirs/system-data1:/tmp/test_error_06MQJ3/error/from-file-error/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_06MQJ3/error/from-file-error/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_06MQJ3/error/from-file-error/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_06MQJ3/error/from-file-error/.dirs/runtime 845s ok 2 /error/from-file-error 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_06MQJ3/error/from-win32-error/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_06MQJ3/error/from-win32-error/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_06MQJ3/error/from-win32-error/.dirs/system-config1:/tmp/test_error_06MQJ3/error/from-win32-error/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_06MQJ3/error/from-win32-error/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_06MQJ3/error/from-win32-error/.dirs/system-data1:/tmp/test_error_06MQJ3/error/from-win32-error/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_06MQJ3/error/from-win32-error/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_06MQJ3/error/from-win32-error/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_06MQJ3/error/from-win32-error/.dirs/runtime 845s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 845s # End of error tests 845s TAP version 14 845s # random seed: R02S0334273955a202ecbaaff040901298e4 845s 1..1 845s # Start of portal-support tests 845s # Start of flatpak tests 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_HQ7PJ3/portal-support/flatpak/network/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_HQ7PJ3/portal-support/flatpak/network/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_HQ7PJ3/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_HQ7PJ3/portal-support/flatpak/network/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_HQ7PJ3/portal-support/flatpak/network/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_HQ7PJ3/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_HQ7PJ3/portal-support/flatpak/network/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_HQ7PJ3/portal-support/flatpak/network/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_HQ7PJ3/portal-support/flatpak/network/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_HQ7PJ3/portal-support/flatpak/network/.dirs/runtime 845s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_HQ7PJ3/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 845s ok 1 /portal-support/flatpak/network 845s # End of flatpak tests 845s # End of portal-support tests 845s ok - glib/function-info.test 845s TAP version 14 845s # random seed: R02Se6f4c4bc4a96a87c08b5478a248d42f8 845s 1..1 845s # Start of function-info tests 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_SY9PJ3/function-info/invoker/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_SY9PJ3/function-info/invoker/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_SY9PJ3/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_SY9PJ3/function-info/invoker/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_SY9PJ3/function-info/invoker/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_SY9PJ3/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_SY9PJ3/function-info/invoker/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_SY9PJ3/function-info/invoker/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_SY9PJ3/function-info/invoker/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_SY9PJ3/function-info/invoker/.dirs/runtime 845s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 845s # /function-info/invoker summary: Test preparing a function invoker 845s ok 1 /function-info/invoker 845s # End of function-info tests 845s # Running test: glib/gdbus-peer.test 845s TAP version 14 845s # random seed: R02S7653a000515607b2903146c9853bac10 845s 1..12 845s # Start of gdbus tests 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/.dirs/runtime 845s # Testing with unix:dir address 845s # Testing with unix:tmpdir address 845s # Testing with unix:path address 845s ok 1 /gdbus/peer-to-peer 845s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/delayed-message-processing/.dirs/home 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/delayed-message-processing/.dirs/cache 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_844PJ3/gdbus/delayed-message-processing/.dirs/system-config2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/delayed-message-processing/.dirs/config 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_844PJ3/gdbus/delayed-message-processing/.dirs/system-data2 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/delayed-message-processing/.dirs/data 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/delayed-message-processing/.dirs/state 845s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_844PJ3/gdbus/delayed-message-processing/.dirs/runtime 845s # Testing with unix:dir address 846s ok 2 /gdbus/delayed-message-processing 846s # slow test /gdbus/delayed-message-processing executed in 0.50 secs 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/nonce-tcp/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/nonce-tcp/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_844PJ3/gdbus/nonce-tcp/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/nonce-tcp/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_844PJ3/gdbus/nonce-tcp/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/nonce-tcp/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/nonce-tcp/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_844PJ3/gdbus/nonce-tcp/.dirs/runtime 846s ok 3 /gdbus/nonce-tcp 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/tcp-anonymous/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/tcp-anonymous/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_844PJ3/gdbus/tcp-anonymous/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/tcp-anonymous/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_844PJ3/gdbus/tcp-anonymous/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/tcp-anonymous/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/tcp-anonymous/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_844PJ3/gdbus/tcp-anonymous/.dirs/runtime 846s ok 4 /gdbus/tcp-anonymous 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/credentials/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/credentials/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_844PJ3/gdbus/credentials/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/credentials/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_844PJ3/gdbus/credentials/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/credentials/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/credentials/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_844PJ3/gdbus/credentials/.dirs/runtime 846s ok 5 /gdbus/credentials 846s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/codegen-peer-to-peer/.dirs/home 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/codegen-peer-to-peer/.dirs/cache 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_844PJ3/gdbus/codegen-peer-to-peer/.dirs/system-config2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/codegen-peer-to-peer/.dirs/config 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_844PJ3/gdbus/codegen-peer-to-peer/.dirs/system-data2 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/codegen-peer-to-peer/.dirs/data 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/codegen-peer-to-peer/.dirs/state 846s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_844PJ3/gdbus/codegen-peer-to-peer/.dirs/runtime 846s # Testing with unix:dir address 846s # Machine ID: 7efbdfe1a08b493c9b188a03f9075d51 847s ok 6 /gdbus/codegen-peer-to-peer 847s # slow test /gdbus/codegen-peer-to-peer executed in 1.10 secs 847s # Start of peer-to-peer tests 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/signals/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/signals/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/signals/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/signals/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/signals/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/signals/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/signals/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/signals/.dirs/runtime 847s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 847s # Testing with unix:dir address 847s ok 7 /gdbus/peer-to-peer/signals 847s # Start of invalid tests 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/server/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/server/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/server/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/server/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/server/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/server/.dirs/runtime 847s ok 8 /gdbus/peer-to-peer/invalid/server 847s # Start of conn tests 847s # Start of stream tests 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 847s ok - glib/gdbus-peer.test 847s # Running test: glib/convert.test 847s ok - glib/convert.test 847s # Running test: glib/642026-ec.test 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 847s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 847s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 847s # End of stream tests 847s # Start of addr tests 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 847s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_844PJ3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 847s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 847s # End of addr tests 847s # End of conn tests 847s # End of invalid tests 847s # End of peer-to-peer tests 847s # End of gdbus tests 847s TAP version 14 847s # random seed: R02S1486e2f367ce432e0551de1335927819 847s 1..14 847s # Start of conversion tests 847s ok 1 /conversion/no-conv 847s ok 2 /conversion/iconv-state 847s ok 3 /conversion/illegal-sequence 847s ok 4 /conversion/byte-order 847s ok 5 /conversion/unicode 847s ok 6 /conversion/filename-utf8 847s ok 7 /conversion/filename-display 847s ok 8 /conversion/convert-embedded-nul 847s # Start of locale-to-utf8 tests 847s ok 9 /conversion/locale-to-utf8/embedded-nul 847s # Start of embedded-nul tests 847s # Start of subprocess tests 847s # End of subprocess tests 847s # End of embedded-nul tests 847s # End of locale-to-utf8 tests 847s # Start of locale-from-utf8 tests 847s ok 10 /conversion/locale-from-utf8/embedded-nul 847s # Start of embedded-nul tests 847s # Start of subprocess tests 847s # End of subprocess tests 847s # End of embedded-nul tests 847s # End of locale-from-utf8 tests 847s # Start of filename-to-utf8 tests 847s ok 11 /conversion/filename-to-utf8/embedded-nul 847s # Start of embedded-nul tests 847s # Start of subprocess tests 847s # End of subprocess tests 847s # End of embedded-nul tests 847s # End of filename-to-utf8 tests 847s # Start of filename-from-utf8 tests 847s ok 12 /conversion/filename-from-utf8/embedded-nul 847s # Start of embedded-nul tests 847s # Start of subprocess tests 847s # End of subprocess tests 847s # End of embedded-nul tests 847s # End of filename-from-utf8 tests 847s # Start of filename-from-uri tests 847s ok 13 /conversion/filename-from-uri/query-is-ignored 847s ok 14 /conversion/filename-from-uri/fragment-is-ignored 847s # End of filename-from-uri tests 847s # End of conversion tests 847s TAP version 14 847s # random seed: R02S0eb1930b4b81a10baa7e1edfadba9322 847s 1..1 847s # Start of glib tests 847s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 847s ok 1 /glib/642026 847s # End of glib tests 847s ok - glib/642026-ec.test 847s # Running test: glib/closure.test 847s TAP version 14 847s # random seed: R02Sc55d820d08fd5b85642ccbb5f9ca04c9 847s 1..6 847s # Start of closure tests 847s ok 1 /closure/idle 847s ok 2 /closure/timeout 847s ok 3 /closure/iochannel 847s ok 4 /closure/child 847s ok 5 /closure/fd 847s ok 6 /closure/signal 847s # End of closure tests 847s ok - glib/closure.test 847s # Running test: glib/buffered-input-stream.test 847s ok - glib/buffered-input-stream.test 847s # Running test: glib/repository.test 847s TAP version 14 847s # random seed: R02S203b65c9eddf0fa9b55b22f9f3dd85c3 847s 1..10 847s # Start of buffered-input-stream tests 847s ok 1 /buffered-input-stream/peek 847s ok 2 /buffered-input-stream/peek-buffer 847s ok 3 /buffered-input-stream/set-buffer-size 847s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 847s ok 4 /buffered-input-stream/read-byte 847s ok 5 /buffered-input-stream/read 847s ok 6 /buffered-input-stream/read-async 847s ok 7 /buffered-input-stream/skip 847s ok 8 /buffered-input-stream/skip-async 847s ok 9 /buffered-input-stream/seek 847s # End of buffered-input-stream tests 847s # Start of filter-input-stream tests 847s ok 10 /filter-input-stream/close 847s # End of filter-input-stream tests 847s TAP version 14 847s ok - glib/repository.test 847s # Running test: glib/utils-c-99.test 847s # random seed: R02S5343c17fde36facbcd4dc78d4ced19a5 847s 1..24 847s # Start of repository tests 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/basic/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/basic/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/basic/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/basic/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/basic/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/basic/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/basic/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/basic/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/basic/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/basic/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 847s ok 1 /repository/basic 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/info/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/info/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/info/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/info/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/info/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/info/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/info/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/info/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/info/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/info/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/info summary: Test retrieving some basic info blobs from a typelib 847s ok 2 /repository/info 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/dependencies/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/dependencies/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/dependencies/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/dependencies/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/dependencies/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/dependencies/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/dependencies/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/dependencies/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/dependencies/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/dependencies/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 847s ok 3 /repository/dependencies 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/arg-info/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/arg-info/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/arg-info/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/arg-info/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/arg-info/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/arg-info/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/arg-info/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/arg-info/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/arg-info/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/arg-info/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 847s ok 4 /repository/arg-info 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/callable-info/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/callable-info/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/callable-info/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/callable-info/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/callable-info/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/callable-info/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/callable-info/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/callable-info/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/callable-info/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/callable-info/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 847s ok 5 /repository/callable-info 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/callback-info/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/callback-info/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/callback-info/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/callback-info/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/callback-info/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/callback-info/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/callback-info/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/callback-info/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/callback-info/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/callback-info/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 847s ok 6 /repository/callback-info 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/char-types/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/char-types/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/char-types/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/char-types/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/char-types/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/char-types/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/char-types/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/char-types/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/char-types/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/char-types/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 847s ok 7 /repository/char-types 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/constructor-return-type/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/constructor-return-type/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/constructor-return-type/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/constructor-return-type/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/constructor-return-type/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/constructor-return-type/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/constructor-return-type/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/constructor-return-type/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 847s ok 8 /repository/constructor-return-type 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/enum-info-c-identifier/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/enum-info-c-identifier/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/enum-info-c-identifier/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/enum-info-c-identifier/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/enum-info-c-identifier/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/enum-info-c-identifier/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/enum-info-c-identifier/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/enum-info-c-identifier/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 847s ok 9 /repository/enum-info-c-identifier 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/enum-info-static-methods/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/enum-info-static-methods/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/enum-info-static-methods/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/enum-info-static-methods/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/enum-info-static-methods/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/enum-info-static-methods/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/enum-info-static-methods/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/enum-info-static-methods/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/enum-info-static-methods summary: Test an enum with methods 847s ok 10 /repository/enum-info-static-methods 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/error-quark/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/error-quark/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/error-quark/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/error-quark/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/error-quark/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/error-quark/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/error-quark/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/error-quark/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/error-quark/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/error-quark/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/error-quark summary: Test finding an error quark by error domain 847s ok 11 /repository/error-quark 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/flags-info-c-identifier/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/flags-info-c-identifier/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/flags-info-c-identifier/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/flags-info-c-identifier/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/flags-info-c-identifier/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/flags-info-c-identifier/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/flags-info-c-identifier/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/flags-info-c-identifier/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 847s ok 12 /repository/flags-info-c-identifier 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/fundamental-ref-func/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/fundamental-ref-func/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/fundamental-ref-func/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/fundamental-ref-func/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/fundamental-ref-func/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/fundamental-ref-func/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/fundamental-ref-func/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/fundamental-ref-func/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 847s ok 13 /repository/fundamental-ref-func 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/instance-method-ownership-transfer/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/instance-method-ownership-transfer/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/instance-method-ownership-transfer/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/instance-method-ownership-transfer/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/instance-method-ownership-transfer/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/instance-method-ownership-transfer/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/instance-method-ownership-transfer/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/instance-method-ownership-transfer/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 847s ok 14 /repository/instance-method-ownership-transfer 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/object-gtype-interfaces/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/object-gtype-interfaces/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/object-gtype-interfaces/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/object-gtype-interfaces/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/object-gtype-interfaces/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/object-gtype-interfaces/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/object-gtype-interfaces/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/object-gtype-interfaces/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 847s ok 15 /repository/object-gtype-interfaces 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/signal-info-with-array-length-arg/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/signal-info-with-array-length-arg/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/signal-info-with-array-length-arg/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/signal-info-with-array-length-arg/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/signal-info-with-array-length-arg/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/signal-info-with-array-length-arg/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/signal-info-with-array-length-arg/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/signal-info-with-array-length-arg/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 847s ok 16 /repository/signal-info-with-array-length-arg 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/type-info-name/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/type-info-name/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/type-info-name/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/type-info-name/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/type-info-name/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/type-info-name/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/type-info-name/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/type-info-name/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 847s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 847s ok 17 /repository/type-info-name 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-no-invoker/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-no-invoker/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/vfunc-info-with-no-invoker/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-no-invoker/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/vfunc-info-with-no-invoker/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-no-invoker/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-no-invoker/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-no-invoker/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 847s ok 18 /repository/vfunc-info-with-no-invoker 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 847s ok 19 /repository/vfunc-info-with-invoker-on-interface 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-object/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-object/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-object/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-object/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-object/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 847s ok 20 /repository/vfunc-info-with-invoker-on-object 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/find-by-gtype/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/find-by-gtype/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/find-by-gtype/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/find-by-gtype/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/find-by-gtype/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/find-by-gtype/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/find-by-gtype/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/find-by-gtype/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/find-by-gtype summary: Test finding a GType 847s ok 21 /repository/find-by-gtype 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/loaded-namespaces/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/loaded-namespaces/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/loaded-namespaces/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/loaded-namespaces/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/loaded-namespaces/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/loaded-namespaces/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/loaded-namespaces/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/loaded-namespaces/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/loaded-namespaces summary: Test listing loaded namespaces 847s ok 22 /repository/loaded-namespaces 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/dup_default/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/dup_default/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/dup_default/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/dup_default/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/dup_default/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/dup_default/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/dup_default/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/dup_default/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/dup_default/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/dup_default/.dirs/runtime 847s ok 23 /repository/dup_default 847s # Start of base-info tests 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3C8JJ3/repository/base-info/clear/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3C8JJ3/repository/base-info/clear/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3C8JJ3/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_3C8JJ3/repository/base-info/clear/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3C8JJ3/repository/base-info/clear/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3C8JJ3/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_3C8JJ3/repository/base-info/clear/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3C8JJ3/repository/base-info/clear/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3C8JJ3/repository/base-info/clear/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3C8JJ3/repository/base-info/clear/.dirs/runtime 847s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 847s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 847s ok 24 /repository/base-info/clear 847s # End of base-info tests 847s # End of repository tests 847s TAP version 14 847s # random seed: R02S8cebf96d6d0a380e5ff4feb94e52bc1f 847s 1..41 847s # Start of utils tests 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/language-names/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/language-names/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/language-names/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/language-names/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/language-names/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/language-names/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/language-names/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/language-names/.dirs/runtime 847s ok 1 /utils/language-names 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/locale-variants/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/locale-variants/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/locale-variants/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/locale-variants/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/locale-variants/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/locale-variants/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/locale-variants/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/locale-variants/.dirs/runtime 847s # Testing locale ‘en’ 847s # Testing locale ‘sr@latin’ 847s # Testing locale ‘fr_BE’ 847s # Testing locale ‘sr_SR@latin’ 847s # Testing locale ‘sr_SR@latin.UTF-8’ 847s # Testing locale ‘sr@latin_invalid’ 847s # Testing locale ‘sr.UTF-8@latin’ 847s # Testing locale ‘sr.UTF-8_latin’ 847s # Testing locale ‘sr.UTF-8@latin_invalid’ 847s ok 2 /utils/locale-variants 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/version/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/version/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/version/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/version/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/version/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/version/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/version/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/version/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/version/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/version/.dirs/runtime 847s ok 3 /utils/version 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/appname/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/appname/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/appname/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/appname/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/appname/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/appname/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/appname/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/appname/.dirs/runtime 847s ok 4 /utils/appname 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/prgname-thread-safety/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/prgname-thread-safety/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/prgname-thread-safety/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/prgname-thread-safety/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/prgname-thread-safety/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/prgname-thread-safety/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/prgname-thread-safety/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/prgname-thread-safety/.dirs/runtime 847s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 847s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 847s ok 5 /utils/prgname-thread-safety 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/tmpdir/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/tmpdir/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/tmpdir/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/tmpdir/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/tmpdir/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/tmpdir/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/tmpdir/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/tmpdir/.dirs/runtime 847s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 847s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 847s Unable to clean up temporary directory /tmp/test_utils-c-99_TE7JJ3/utils/tmpdir: No such file or directory 847s ok 6 /utils/tmpdir 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/basic_bits/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/basic_bits/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/basic_bits/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/basic_bits/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/basic_bits/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/basic_bits/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/basic_bits/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/basic_bits/.dirs/runtime 847s ok 7 /utils/basic_bits 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/bits/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/bits/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/bits/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/bits/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/bits/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/bits/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/bits/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/bits/.dirs/runtime 847s ok 8 /utils/bits 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/swap/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/swap/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/swap/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/swap/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/swap/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/swap/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/swap/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/swap/.dirs/runtime 847s ok 9 /utils/swap 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/find-program/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/find-program/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/find-program/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/find-program/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/find-program/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/find-program/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/find-program/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/find-program/.dirs/runtime 847s ok 10 /utils/find-program 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/find-program-for-path/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/find-program-for-path/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/find-program-for-path/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/find-program-for-path/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/find-program-for-path/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/find-program-for-path/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/find-program-for-path/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/find-program-for-path/.dirs/runtime 847s ok 11 /utils/find-program-for-path 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/debug/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/debug/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/debug/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/debug/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/debug/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/debug/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/debug/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/debug/.dirs/runtime 847s Unable to clean up temporary directory /tmp/test_utils-c-99_TE7JJ3/utils/debug: No such file or directory 847s ok 12 /utils/debug 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/codeset/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/codeset/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/codeset/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/codeset/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/codeset/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/codeset/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/codeset/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/codeset/.dirs/runtime 847s ok 13 /utils/codeset 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/codeset2/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/codeset2/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/codeset2/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/codeset2/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/codeset2/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/codeset2/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/codeset2/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/codeset2/.dirs/runtime 847s Unable to clean up temporary directory /tmp/test_utils-c-99_TE7JJ3/utils/codeset2: No such file or directory 847s ok 14 /utils/codeset2 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/console-charset/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/console-charset/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/console-charset/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/console-charset/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/console-charset/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/console-charset/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/console-charset/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/console-charset/.dirs/runtime 847s ok 15 /utils/console-charset 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/gettext/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/gettext/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/gettext/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/gettext/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/gettext/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/gettext/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/gettext/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/gettext/.dirs/runtime 847s ok 16 /utils/gettext 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/username/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/username/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/username/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/username/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/username/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/username/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/username/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/username/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/username/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/username/.dirs/runtime 847s ok 17 /utils/username 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/realname/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/realname/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/realname/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/realname/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/realname/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/realname/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/realname/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/realname/.dirs/runtime 847s ok 18 /utils/realname 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/hostname/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/hostname/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/hostname/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/hostname/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/hostname/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/hostname/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/hostname/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/hostname/.dirs/runtime 847s ok 19 /utils/hostname 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/os-info/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/os-info/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/os-info/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/os-info/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/os-info/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/os-info/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/os-info/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/os-info/.dirs/runtime 847s # NAME: Ubuntu 847s ok 20 /utils/os-info 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/.dirs/runtime 847s ok 21 /utils/clear-pointer 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer-cast/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer-cast/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer-cast/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer-cast/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer-cast/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer-cast/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer-cast/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer-cast/.dirs/runtime 847s ok 22 /utils/clear-pointer-cast 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/take-pointer/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/take-pointer/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/take-pointer/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/take-pointer/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/take-pointer/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/take-pointer/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/take-pointer/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/take-pointer/.dirs/runtime 847s ok 23 /utils/take-pointer 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-source/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-source/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/clear-source/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-source/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/clear-source/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-source/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-source/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/clear-source/.dirs/runtime 847s ok 24 /utils/clear-source 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/misc-mem/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/misc-mem/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/misc-mem/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/misc-mem/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/misc-mem/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/misc-mem/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/misc-mem/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/misc-mem/.dirs/runtime 847s ok 25 /utils/misc-mem 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/.dirs/runtime 847s # /utils/aligned-mem summary: Aligned memory allocator 847s # Alignment must not be zero 847s # Alignment must be a power of two 847s # Alignment must be a multiple of sizeof(void*) 847s ok 26 /utils/aligned-mem 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/free-sized/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/free-sized/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/free-sized/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/free-sized/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/free-sized/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/free-sized/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/free-sized/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/free-sized/.dirs/runtime 847s # /utils/free-sized summary: Check that g_free_sized() works 847s ok 27 /utils/free-sized 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/nullify/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/nullify/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/nullify/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/nullify/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/nullify/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/nullify/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/nullify/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/nullify/.dirs/runtime 847s ok 28 /utils/nullify 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/atexit/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/atexit/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/atexit/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/atexit/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/atexit/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/atexit/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/atexit/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/atexit/.dirs/runtime 847s Unable to clean up temporary directory /tmp/test_utils-c-99_TE7JJ3/utils/atexit: No such file or directory 847s ok 29 /utils/atexit 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/check-setuid/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/check-setuid/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/check-setuid/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/check-setuid/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/check-setuid/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/check-setuid/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/check-setuid/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/check-setuid/.dirs/runtime 847s ok 30 /utils/check-setuid 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/int-limits/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/int-limits/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/int-limits/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/int-limits/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/int-limits/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/int-limits/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/int-limits/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/int-limits/.dirs/runtime 847s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 847s ok 31 /utils/int-limits 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-list/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-list/.dirs/cache 847s ok - glib/utils-c-99.test 847s # Running test: glib/rwlock.test 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/clear-list/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-list/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/clear-list/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-list/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-list/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/clear-list/.dirs/runtime 847s ok 32 /utils/clear-list 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-slist/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-slist/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/clear-slist/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-slist/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/clear-slist/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-slist/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-slist/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/clear-slist/.dirs/runtime 847s ok 33 /utils/clear-slist 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/steal-handle-id/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/steal-handle-id/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/steal-handle-id/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/steal-handle-id/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/steal-handle-id/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/steal-handle-id/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/steal-handle-id/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/steal-handle-id/.dirs/runtime 847s ok 34 /utils/steal-handle-id 847s # Start of user-special-dirs tests 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/desktop/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/desktop/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/desktop/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/desktop/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/desktop/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/desktop/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/desktop/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/desktop/.dirs/runtime 847s ok 35 /utils/user-special-dirs/desktop 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/load-unlocked/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/load-unlocked/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/load-unlocked/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/load-unlocked/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/load-unlocked/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/load-unlocked/.dirs/runtime 847s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 847s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 847s Unable to clean up temporary directory /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/load-unlocked: No such file or directory 847s ok 36 /utils/user-special-dirs/load-unlocked 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/reload-leaks/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/reload-leaks/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/reload-leaks/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/reload-leaks/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/reload-leaks/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/reload-leaks/.dirs/runtime 847s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 847s Unable to clean up temporary directory /tmp/test_utils-c-99_TE7JJ3/utils/user-special-dirs/reload-leaks: No such file or directory 847s ok 37 /utils/user-special-dirs/reload-leaks 847s # End of user-special-dirs tests 847s # Start of clear-pointer tests 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/side-effects/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/side-effects/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/side-effects/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/side-effects/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/side-effects/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/side-effects/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/side-effects/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/clear-pointer/side-effects/.dirs/runtime 847s ok 38 /utils/clear-pointer/side-effects 847s # End of clear-pointer tests 847s # Start of aligned-mem tests 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/alignment/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/alignment/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/alignment/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/alignment/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/alignment/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/alignment/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/alignment/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/alignment/.dirs/runtime 847s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 847s ok 39 /utils/aligned-mem/alignment 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/zeroed/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/zeroed/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/zeroed/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/zeroed/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/zeroed/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/zeroed/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/zeroed/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/zeroed/.dirs/runtime 847s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 847s ok 40 /utils/aligned-mem/zeroed 847s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/free-sized/.dirs/home 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/free-sized/.dirs/cache 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/free-sized/.dirs/system-config2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/free-sized/.dirs/config 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/free-sized/.dirs/system-data2 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/free-sized/.dirs/data 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/free-sized/.dirs/state 847s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_TE7JJ3/utils/aligned-mem/free-sized/.dirs/runtime 847s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 847s ok 41 /utils/aligned-mem/free-sized 847s # Start of subprocess tests 847s # End of subprocess tests 847s # End of aligned-mem tests 847s # End of utils tests 847s TAP version 14 847s # random seed: R02Sacfd70f99426b935cf3552778ef81ab8 847s 1..8 847s # Start of thread tests 847s ok 1 /thread/rwlock1 847s ok 2 /thread/rwlock2 847s ok 3 /thread/rwlock3 847s ok 4 /thread/rwlock4 847s ok 5 /thread/rwlock5 847s ok 6 /thread/rwlock6 850s # Executing: glib/rwlock.test 851s ok 7 /thread/rwlock7 851s # slow test /thread/rwlock7 executed in 3.02 secs 851s ok - glib/rwlock.test 851s ok 8 /thread/rwlock8 851s # End of thread tests 851s TAP version 14 851s # random seed: R02Sfd7f5f1f72f7f1d7d9582ad39f97c235 851s 1..7 851s # Start of threadpool tests 851s ok 1 /threadpool/functions 851s # Running test: glib/thread-pool-slow.test 851s ok 2 /threadpool/stop-unused 851s # slow test /threadpool/stop-unused executed in 0.51 secs 851s ok 3 /threadpool/pools 851s # [unsorted] ===> pushed new thread with id:77, number of threads:1, unprocessed:1 851s # [unsorted] ===> pushed new thread with id:2, number of threads:2, unprocessed:2 851s # [unsorted] ===> pushed new thread with id:20, number of threads:3, unprocessed:3 851s # [unsorted] ===> pushed new thread with id:49, number of threads:4, unprocessed:4 851s # [unsorted] ===> pushed new thread with id:90, number of threads:5, unprocessed:5 851s # [unsorted] ===> pushed new thread with id:100, number of threads:6, unprocessed:6 851s # [unsorted] ===> pushed new thread with id:69, number of threads:7, unprocessed:7 851s # [unsorted] ===> pushed new thread with id:11, number of threads:8, unprocessed:8 851s # [unsorted] ===> pushed new thread with id:28, number of threads:9, unprocessed:9 851s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:10 851s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:10 851s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:10 851s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:3 851s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:4 851s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:5 851s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:6 851s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:7 851s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:8 851s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:9 851s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:10 851s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:11 851s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:12 851s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:13 851s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:14 851s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:15 851s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:16 851s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:17 851s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:18 851s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:19 851s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:20 851s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:21 851s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:22 851s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:23 851s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:24 851s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:25 851s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:26 851s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:27 851s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:28 851s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:29 851s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:30 851s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:31 851s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:32 851s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:33 851s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:34 851s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:35 851s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:36 851s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:37 851s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:38 851s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:39 851s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:40 851s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:41 851s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:42 851s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:43 851s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:44 851s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:45 851s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:46 851s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:47 851s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:48 851s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:49 851s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:50 851s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:51 851s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:52 851s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:53 851s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:54 851s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:55 851s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:56 851s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:57 851s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:58 851s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:59 851s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:60 851s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:61 851s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:62 851s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:63 851s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:64 851s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:65 851s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:66 851s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:67 851s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:68 851s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:69 851s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:70 851s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:71 851s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:72 851s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:73 851s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:74 851s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:75 851s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:76 851s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:77 851s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:78 851s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:79 851s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:80 851s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:81 851s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:82 851s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:83 851s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:84 851s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:85 851s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:86 851s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:87 851s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:88 851s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:89 851s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:90 851s ok 4 /threadpool/no-sort 851s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:1 851s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:2 851s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:3 851s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:4 851s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:5 851s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:6 851s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:7 851s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:8 851s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:9 851s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:10 851s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:11 851s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:12 851s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:13 851s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:14 851s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:15 851s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:16 851s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:17 851s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:18 851s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:19 851s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:20 851s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:21 851s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:22 851s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:23 851s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:24 851s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:25 851s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:26 851s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:27 851s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:28 851s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:29 851s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:30 851s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:31 851s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:32 851s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:33 851s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:34 851s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:35 851s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:36 851s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:37 851s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:38 851s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:39 851s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:40 851s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:41 851s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:42 851s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:43 851s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:44 851s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:45 851s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:46 851s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:47 851s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:48 851s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:49 851s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:50 851s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:51 851s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:52 851s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:53 851s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:54 851s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:55 851s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:56 851s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:57 851s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:58 851s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:59 851s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:60 851s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:61 851s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:62 851s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:63 851s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:64 851s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:65 851s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:66 851s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:67 851s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:68 851s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:69 851s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:70 851s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:71 851s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:72 851s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:73 851s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:74 851s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:75 851s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:76 851s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:77 851s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:78 851s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:79 851s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:80 851s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:81 851s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:82 851s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:83 851s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:84 851s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:85 851s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:86 851s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:87 851s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:88 851s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:89 851s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:90 851s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:91 851s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:92 851s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:93 851s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:94 851s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:95 851s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:96 851s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:97 851s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:98 851s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:99 851s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:100 851s # Starting thread pool processing 851s ok 5 /threadpool/sort 851s ok 6 /threadpool/stop-unused-multiple 851s # slow test /threadpool/stop-unused-multiple executed in 0.50 secs 851s # Pool idle thread count: 0, unprocessed jobs: 49 852s # Pool idle thread count: 0, unprocessed jobs: 0 852s # Pool idle thread count: 0, unprocessed jobs: 0 852s # Pool idle thread count: 10, unprocessed jobs: 0 852s # Pool idle thread count: 10, unprocessed jobs: 0 853s # Pool idle thread count: 10, unprocessed jobs: 0 853s # Pool idle thread count: 10, unprocessed jobs: 0 853s # Pool idle thread count: 10, unprocessed jobs: 0 853s # Pool idle thread count: 10, unprocessed jobs: 0 854s # Pool idle thread count: 10, unprocessed jobs: 0 854s # Pool idle thread count: 10, unprocessed jobs: 0 854s # Pool idle thread count: 10, unprocessed jobs: 0 854s # Pool idle thread count: 10, unprocessed jobs: 0 855s # Pool idle thread count: 10, unprocessed jobs: 0 855s # Pool idle thread count: 10, unprocessed jobs: 0 855s # Executing: glib/thread-pool-slow.test 855s # Pool idle thread count: 10, unprocessed jobs: 0 855s # Pool idle thread count: 10, unprocessed jobs: 0 856s # Pool idle thread count: 10, unprocessed jobs: 0 856s # Pool idle thread count: 10, unprocessed jobs: 0 856s # Pool idle thread count: 10, unprocessed jobs: 0 856s # Pool idle thread count: 10, unprocessed jobs: 0 857s # Pool idle thread count: 10, unprocessed jobs: 0 857s # Pool idle thread count: 10, unprocessed jobs: 0 857s # Pool idle thread count: 10, unprocessed jobs: 0 857s # Pool idle thread count: 10, unprocessed jobs: 0 858s # Pool idle thread count: 10, unprocessed jobs: 0 858s # Pool idle thread count: 10, unprocessed jobs: 0 858s # Pool idle thread count: 10, unprocessed jobs: 0 858s # Pool idle thread count: 10, unprocessed jobs: 0 859s # Pool idle thread count: 10, unprocessed jobs: 0 859s # Pool idle thread count: 10, unprocessed jobs: 0 859s # Pool idle thread count: 10, unprocessed jobs: 0 859s # Pool idle thread count: 10, unprocessed jobs: 0 860s # Pool idle thread count: 10, unprocessed jobs: 0 860s # Pool idle thread count: 10, unprocessed jobs: 0 860s # Executing: glib/thread-pool-slow.test 860s # Pool idle thread count: 10, unprocessed jobs: 2 860s # Pool idle thread count: 8, unprocessed jobs: 0 860s # Pool idle thread count: 8, unprocessed jobs: 0 860s # Pool idle thread count: 8, unprocessed jobs: 0 861s # Pool idle thread count: 10, unprocessed jobs: 0 861s # Pool idle thread count: 10, unprocessed jobs: 0 861s # Pool idle thread count: 10, unprocessed jobs: 0 861s # Pool idle thread count: 10, unprocessed jobs: 0 862s # Pool idle thread count: 10, unprocessed jobs: 0 862s # Pool idle thread count: 10, unprocessed jobs: 0 862s # Pool idle thread count: 2, unprocessed jobs: 0 862s # Pool idle thread count: 2, unprocessed jobs: 0 863s # Pool idle thread count: 2, unprocessed jobs: 0 863s # Pool idle thread count: 2, unprocessed jobs: 0 863s # Pool idle thread count: 2, unprocessed jobs: 0 863s # Pool idle thread count: 2, unprocessed jobs: 0 864s # Pool idle thread count: 2, unprocessed jobs: 0 864s # Pool idle thread count: 2, unprocessed jobs: 0 864s # Pool idle thread count: 2, unprocessed jobs: 0 864s # Pool idle thread count: 2, unprocessed jobs: 0 865s # Pool idle thread count: 2, unprocessed jobs: 0 865s # Pool idle thread count: 2, unprocessed jobs: 0 865s # Executing: glib/thread-pool-slow.test 865s # Pool idle thread count: 2, unprocessed jobs: 0 865s # Pool idle thread count: 2, unprocessed jobs: 0 866s # Pool idle thread count: 2, unprocessed jobs: 0 866s # Pool idle thread count: 2, unprocessed jobs: 0 866s # Pool idle thread count: 2, unprocessed jobs: 0 866s # Pool idle thread count: 2, unprocessed jobs: 0 867s # Pool idle thread count: 2, unprocessed jobs: 0 867s # Pool idle thread count: 2, unprocessed jobs: 0 867s # Pool idle thread count: 2, unprocessed jobs: 0 867s # Pool idle thread count: 2, unprocessed jobs: 0 868s # Pool idle thread count: 2, unprocessed jobs: 0 868s # Pool idle thread count: 2, unprocessed jobs: 0 868s # Pool idle thread count: 2, unprocessed jobs: 0 868s # Pool idle thread count: 2, unprocessed jobs: 0 869s # Pool idle thread count: 2, unprocessed jobs: 0 869s # Pool idle thread count: 2, unprocessed jobs: 0 869s # Pool idle thread count: 2, unprocessed jobs: 0 869s # Pool idle thread count: 2, unprocessed jobs: 0 870s # Pool idle thread count: 2, unprocessed jobs: 0 870s # Pool idle thread count: 2, unprocessed jobs: 0 870s # Executing: glib/thread-pool-slow.test 870s # Pool idle thread count: 2, unprocessed jobs: 0 870s # Pool idle thread count: 2, unprocessed jobs: 0 871s ok 7 /threadpool/idle-time 871s # slow test /threadpool/idle-time executed in 19.52 secs 871s # End of threadpool tests 871s ok - glib/thread-pool-slow.test 871s # Running test: glib/override.test 871s ok - glib/override.test 871s TAP version 14 871s # random seed: R02S5b20eab0ee441acc882fed639a5da564 871s 1..1 871s # Start of gobject tests 871s # *** emitting foo on a TestA instance 871s # Expecting: TestA::foo,TestI::foo 871s # Got: TestA::foo,TestI::foo 871s # *** emitting bar on a TestA instance 871s # Expecting: TestA::bar 871s # Got: TestA::bar 871s # *** emitting baz on a TestA instance 871s # Expecting: TestA::baz 871s # Got: TestA::baz 871s # *** emitting foo on a TestB instance 871s # Expecting: TestB::foo,TestA::foo,TestI::foo 871s # Got: TestB::foo,TestA::foo,TestI::foo 871s # *** emitting bar on a TestB instance 871s # Expecting: TestB::bar,TestA::bar 871s # Got: TestB::bar,TestA::bar 871s # *** emitting baz on a TestB instance 871s # Expecting: TestB::baz,TestA::baz 871s # Got: TestB::baz,TestA::baz 871s # *** emitting foo on a TestC instance 871s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 871s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 871s # *** emitting bar on a TestC instance 871s # Expecting: TestC::bar,TestB::bar,TestA::bar 871s # Got: TestC::bar,TestB::bar,TestA::bar 871s # *** emitting baz on a TestC instance 871s # Expecting: TestC::baz,TestB::baz,TestA::baz 871s # Got: TestC::baz,TestB::baz,TestA::baz 871s ok 1 /gobject/override 871s # End of gobject tests 871s # Running test: glib/gdbus-proxy.test 871s TAP version 14 871s # random seed: R02Sadf8f55781ab7d4982cf5aaa926a7e96 871s 1..5 871s # Start of gdbus tests 871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/.dirs/home 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/.dirs/cache 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/.dirs/system-config2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/.dirs/config 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/.dirs/system-data2 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/.dirs/data 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/.dirs/state 871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/.dirs/runtime 873s ok 1 /gdbus/proxy 873s # slow test /gdbus/proxy executed in 1.71 secs 873s # Start of proxy tests 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-properties/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-properties/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-properties/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-properties/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-properties/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-properties/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-properties/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-properties/.dirs/runtime 873s ok 2 /gdbus/proxy/no-properties 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/wellknown-noauto/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/wellknown-noauto/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/wellknown-noauto/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/wellknown-noauto/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/wellknown-noauto/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/wellknown-noauto/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/wellknown-noauto/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/wellknown-noauto/.dirs/runtime 873s ok 3 /gdbus/proxy/wellknown-noauto 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/async/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/async/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/async/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/async/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/async/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/async/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/async/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/async/.dirs/runtime 874s ok 4 /gdbus/proxy/async 874s # slow test /gdbus/proxy/async executed in 1.71 secs 874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-match-rule/.dirs/home 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-match-rule/.dirs/cache 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-match-rule/.dirs/system-config2 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-match-rule/.dirs/config 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-match-rule/.dirs/system-data2 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-match-rule/.dirs/data 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-match-rule/.dirs/state 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_0VQ0J3/gdbus/proxy/no-match-rule/.dirs/runtime 874s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 874s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 875s # Executing: glib/gdbus-proxy.test 876s ok 5 /gdbus/proxy/no-match-rule 876s # slow test /gdbus/proxy/no-match-rule executed in 1.71 secs 876s # End of proxy tests 876s # End of gdbus tests 876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 876s ok - glib/gdbus-proxy.test 876s # Running test: glib/dynamictests.test 876s TAP version 14 876s # random seed: R02S1d5f7a2a4beb4792d1831a6ac90363df 876s 1..2 876s # Start of GObject tests 876s ok - glib/dynamictests.test 876s # Running test: glib/union-info.test 876s ok 1 /GObject/threaded-dynamic-ref-unref-init 876s ok 2 /GObject/dynamic-interface-properties 876s # End of GObject tests 876s TAP version 14 876s ok - glib/union-info.test 876s # Running test: glib/dir.test 876s ok - glib/dir.test 876s # Running test: glib/keyfile.test 876s # random seed: R02Sc6071ca734e19fa46a4b195230521ddc 876s 1..2 876s # Start of union-info tests 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_ZQ6YJ3/union-info/basic/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_ZQ6YJ3/union-info/basic/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_ZQ6YJ3/union-info/basic/.dirs/system-config1:/tmp/test_union-info_ZQ6YJ3/union-info/basic/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_ZQ6YJ3/union-info/basic/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_ZQ6YJ3/union-info/basic/.dirs/system-data1:/tmp/test_union-info_ZQ6YJ3/union-info/basic/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_ZQ6YJ3/union-info/basic/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_ZQ6YJ3/union-info/basic/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_ZQ6YJ3/union-info/basic/.dirs/runtime 876s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 876s # /union-info/basic summary: Test basic properties of GIUnionInfo 876s ok 1 /union-info/basic 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_ZQ6YJ3/union-info/methods/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_ZQ6YJ3/union-info/methods/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_ZQ6YJ3/union-info/methods/.dirs/system-config1:/tmp/test_union-info_ZQ6YJ3/union-info/methods/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_ZQ6YJ3/union-info/methods/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_ZQ6YJ3/union-info/methods/.dirs/system-data1:/tmp/test_union-info_ZQ6YJ3/union-info/methods/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_ZQ6YJ3/union-info/methods/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_ZQ6YJ3/union-info/methods/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_ZQ6YJ3/union-info/methods/.dirs/runtime 876s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 876s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 876s ok 2 /union-info/methods 876s # End of union-info tests 876s TAP version 14 876s # random seed: R02S9ba56e9a800d42b937e0d29c1f85e262 876s 1..3 876s # Start of dir tests 876s ok 1 /dir/read 876s ok 2 /dir/nonexisting 876s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 876s ok 3 /dir/refcounting 876s # End of dir tests 876s TAP version 14 876s # random seed: R02S04d4a4ee647c40881f011f9d8aa629c9 876s 1..36 876s # Start of keyfile tests 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/line-ends/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/line-ends/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/line-ends/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/line-ends/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/line-ends/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/line-ends/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/line-ends/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/line-ends/.dirs/runtime 876s ok 1 /keyfile/line-ends 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/whitespace/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/whitespace/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/whitespace/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/whitespace/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/whitespace/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/whitespace/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/whitespace/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/whitespace/.dirs/runtime 876s ok 2 /keyfile/whitespace 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/comments/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/comments/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/comments/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/comments/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/comments/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/comments/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/comments/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/comments/.dirs/runtime 876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 876s ok 3 /keyfile/comments 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/listing/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/listing/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/listing/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/listing/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/listing/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/listing/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/listing/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/listing/.dirs/runtime 876s ok 4 /keyfile/listing 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/string/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/string/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/string/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/string/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/string/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/string/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/string/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/string/.dirs/runtime 876s ok 5 /keyfile/string 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/boolean/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/boolean/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/boolean/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/boolean/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/boolean/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/boolean/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/boolean/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/boolean/.dirs/runtime 876s ok 6 /keyfile/boolean 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/number/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/number/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/number/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/number/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/number/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/number/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/number/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/number/.dirs/runtime 876s ok 7 /keyfile/number 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/.dirs/runtime 876s ok 8 /keyfile/locale-string 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/lists/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/lists/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/lists/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/lists/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/lists/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/lists/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/lists/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/lists/.dirs/runtime 876s ok 9 /keyfile/lists 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/lists-set-get/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/lists-set-get/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/lists-set-get/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/lists-set-get/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/lists-set-get/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/lists-set-get/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/lists-set-get/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/lists-set-get/.dirs/runtime 876s ok 10 /keyfile/lists-set-get 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/group-remove/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/group-remove/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/group-remove/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/group-remove/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/group-remove/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/group-remove/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/group-remove/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/group-remove/.dirs/runtime 876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 876s ok 11 /keyfile/group-remove 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/key-remove/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/key-remove/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/key-remove/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/key-remove/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/key-remove/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/key-remove/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/key-remove/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/key-remove/.dirs/runtime 876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 876s ok 12 /keyfile/key-remove 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/groups/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/groups/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/groups/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/groups/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/groups/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/groups/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/groups/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/groups/.dirs/runtime 876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 876s ok 13 /keyfile/groups 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-keys/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-keys/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-keys/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-keys/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-keys/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-keys/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-keys/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-keys/.dirs/runtime 876s ok 14 /keyfile/duplicate-keys 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups/.dirs/runtime 876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 876s ok 15 /keyfile/duplicate-groups 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups2/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups2/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups2/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups2/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups2/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups2/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups2/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/duplicate-groups2/.dirs/runtime 876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 876s ok 16 /keyfile/duplicate-groups2 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/group-names/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/group-names/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/group-names/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/group-names/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/group-names/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/group-names/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/group-names/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/group-names/.dirs/runtime 876s ok 17 /keyfile/group-names 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/key-names/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/key-names/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/key-names/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/key-names/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/key-names/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/key-names/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/key-names/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/key-names/.dirs/runtime 876s ok 18 /keyfile/key-names 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/reload/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/reload/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/reload/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/reload/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/reload/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/reload/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/reload/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/reload/.dirs/runtime 876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 876s ok 19 /keyfile/reload 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/int64/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/int64/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/int64/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/int64/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/int64/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/int64/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/int64/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/int64/.dirs/runtime 876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 876s ok 20 /keyfile/int64 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/load/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/load/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/load/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/load/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/load/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/load/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/load/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/load/.dirs/runtime 876s ok 21 /keyfile/load 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/save/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/save/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/save/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/save/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/save/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/save/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/save/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/save/.dirs/runtime 876s ok 22 /keyfile/save 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/load-fail/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/load-fail/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/load-fail/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/load-fail/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/load-fail/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/load-fail/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/load-fail/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/load-fail/.dirs/runtime 876s ok 23 /keyfile/load-fail 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/non-utf8/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/non-utf8/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/non-utf8/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/non-utf8/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/non-utf8/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/non-utf8/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/non-utf8/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/non-utf8/.dirs/runtime 876s ok 24 /keyfile/non-utf8 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/page-boundary/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/page-boundary/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/page-boundary/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/page-boundary/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/page-boundary/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/page-boundary/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/page-boundary/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/page-boundary/.dirs/runtime 876s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 876s ok 25 /keyfile/page-boundary 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/ref/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/ref/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/ref/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/ref/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/ref/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/ref/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/ref/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/ref/.dirs/runtime 876s ok 26 /keyfile/ref 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/replace-value/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/replace-value/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/replace-value/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/replace-value/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/replace-value/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/replace-value/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/replace-value/.dirs/state 876s ok - glib/keyfile.test 876s # Running test: glib/file-enumerator.test 876s ok - glib/file-enumerator.test 876s # Running test: glib/memchunk.test 876s ok - glib/memchunk.test 876s # Running test: glib/array-test.test 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/replace-value/.dirs/runtime 876s ok 27 /keyfile/replace-value 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/list-separator/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/list-separator/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/list-separator/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/list-separator/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/list-separator/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/list-separator/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/list-separator/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/list-separator/.dirs/runtime 876s ok 28 /keyfile/list-separator 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/empty-string/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/empty-string/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/empty-string/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/empty-string/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/empty-string/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/empty-string/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/empty-string/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/empty-string/.dirs/runtime 876s ok 29 /keyfile/empty-string 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/limbo/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/limbo/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/limbo/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/limbo/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/limbo/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/limbo/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/limbo/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/limbo/.dirs/runtime 876s ok 30 /keyfile/limbo 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/utf8/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/utf8/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/utf8/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/utf8/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/utf8/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/utf8/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/utf8/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/utf8/.dirs/runtime 876s # Testing invalid encoding ‘non-UTF-8’ 876s # Testing invalid encoding ‘UTF’ 876s # Testing invalid encoding ‘UTF-9’ 876s ok 31 /keyfile/utf8 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/roundtrip/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/roundtrip/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/roundtrip/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/roundtrip/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/roundtrip/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/roundtrip/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/roundtrip/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/roundtrip/.dirs/runtime 876s ok 32 /keyfile/roundtrip 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/bytes/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/bytes/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/bytes/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/bytes/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/bytes/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/bytes/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/bytes/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/bytes/.dirs/runtime 876s ok 33 /keyfile/bytes 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/get-locale/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/get-locale/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/get-locale/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/get-locale/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/get-locale/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/get-locale/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/get-locale/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/get-locale/.dirs/runtime 876s ok 34 /keyfile/get-locale 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/free-when-not-last-ref/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/free-when-not-last-ref/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/free-when-not-last-ref/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/free-when-not-last-ref/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/free-when-not-last-ref/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/free-when-not-last-ref/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/free-when-not-last-ref/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/free-when-not-last-ref/.dirs/runtime 876s ok 35 /keyfile/free-when-not-last-ref 876s # Start of locale-string tests 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/multiple-loads/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/multiple-loads/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/multiple-loads/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/multiple-loads/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/multiple-loads/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/multiple-loads/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/multiple-loads/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_5Y2YJ3/keyfile/locale-string/multiple-loads/.dirs/runtime 876s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 876s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 876s ok 36 /keyfile/locale-string/multiple-loads 876s # End of locale-string tests 876s # End of keyfile tests 876s TAP version 14 876s # random seed: R02S90e47dfcaebf2fe3ca299ea105e01e75 876s 1..1 876s # Start of file-enumerator tests 876s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 876s ok 1 /file-enumerator/close-on-dispose 876s # End of file-enumerator tests 876s TAP version 14 876s # random seed: R02S16ab9002ee86cd2dde0e6dd344cc9d1f 876s 1..1 876s # Start of memchunk tests 876s ok 1 /memchunk/basic 876s # End of memchunk tests 876s TAP version 14 876s # random seed: R02Sfc31c6e759ea90d6d77b6229296ef562 876s 1..120 876s # Start of array tests 876s ok 1 /array/ref-count 876s ok 2 /array/steal 876s ok 3 /array/clear-func 876s ok 4 /array/binary-search 876s ok 5 /array/overflow-append-vals 876s ok 6 /array/overflow-set-size 876s # Start of new tests 876s ok 7 /array/new/zero-terminated 876s ok 8 /array/new/take 876s ok 9 /array/new/take-zero-terminated 876s # Start of take tests 876s ok 10 /array/new/take/empty 876s ok 11 /array/new/take/overflow 876s ok 12 /array/new/take/zero-size 876s # End of take tests 876s # Start of take-zero-terminated tests 876s ok 13 /array/new/take-zero-terminated/zero-size 876s ok 14 /array/new/take-zero-terminated/null 876s # End of take-zero-terminated tests 876s # End of new tests 876s # Start of copy tests 876s # /array/copy/sized summary: Test that copying a newly-allocated sized array works. 876s ok 15 /array/copy/sized 876s ok 16 /array/copy/zero-terminated 876s ok 17 /array/copy/non-zero-terminated-no-clear 876s ok 18 /array/copy/non-zero-terminated-clear 876s ok 19 /array/copy/zero-terminated-no-clear 876s ok 20 /array/copy/zero-terminated-clear 876s # End of copy tests 876s # Start of remove-range tests 876s ok 21 /array/remove-range/zero-terminated-null 876s ok 22 /array/remove-range/non-zero-terminated-no-clear 876s ok 23 /array/remove-range/non-zero-terminated-clear 876s ok 24 /array/remove-range/zero-terminated-no-clear 876s ok 25 /array/remove-range/zero-terminated-clear 876s # End of remove-range tests 876s # Start of set-size tests 876s ok 26 /array/set-size/zero-terminated-null 876s ok 27 /array/set-size/non-zero-terminated-no-clear 876s ok 28 /array/set-size/non-zero-terminated-clear 876s ok 29 /array/set-size/zero-terminated-no-clear 876s ok 30 /array/set-size/zero-terminated-clear 876s # Start of sized tests 876s ok 31 /array/set-size/sized/non-zero-terminated-no-clear 876s ok 32 /array/set-size/sized/non-zero-terminated-clear 876s ok 33 /array/set-size/sized/zero-terminated-no-clear 876s ok 34 /array/set-size/sized/zero-terminated-clear 876s # End of sized tests 876s # End of set-size tests 876s # Start of append-val tests 876s ok 35 /array/append-val/non-zero-terminated-no-clear 876s ok 36 /array/append-val/non-zero-terminated-clear 876s ok 37 /array/append-val/zero-terminated-no-clear 876s ok 38 /array/append-val/zero-terminated-clear 876s # End of append-val tests 876s # Start of prepend-val tests 876s ok 39 /array/prepend-val/non-zero-terminated-no-clear 876s ok 40 /array/prepend-val/non-zero-terminated-clear 876s ok 41 /array/prepend-val/zero-terminated-no-clear 876s ok 42 /array/prepend-val/zero-terminated-clear 876s # End of prepend-val tests 876s # Start of prepend-vals tests 876s ok 43 /array/prepend-vals/non-zero-terminated-no-clear 876s ok 44 /array/prepend-vals/non-zero-terminated-clear 876s ok 45 /array/prepend-vals/zero-terminated-no-clear 876s ok 46 /array/prepend-vals/zero-terminated-clear 876s # End of prepend-vals tests 876s # Start of insert-vals tests 876s ok 47 /array/insert-vals/non-zero-terminated-no-clear 876s ok 48 /array/insert-vals/non-zero-terminated-clear 876s ok 49 /array/insert-vals/zero-terminated-no-clear 876s ok 50 /array/insert-vals/zero-terminated-clear 876s # End of insert-vals tests 876s # Start of remove-index tests 876s ok 51 /array/remove-index/non-zero-terminated-no-clear 876s ok 52 /array/remove-index/non-zero-terminated-clear 876s ok 53 /array/remove-index/zero-terminated-no-clear 876s ok 54 /array/remove-index/zero-terminated-clear 876s # End of remove-index tests 876s # Start of remove-index-fast tests 876s ok 55 /array/remove-index-fast/non-zero-terminated-no-clear 876s ok 56 /array/remove-index-fast/non-zero-terminated-clear 876s ok 57 /array/remove-index-fast/zero-terminated-no-clear 876s ok 58 /array/remove-index-fast/zero-terminated-clear 876s # End of remove-index-fast tests 876s # Start of sort tests 876s ok 59 /array/sort/non-zero-terminated-no-clear 876s ok 60 /array/sort/non-zero-terminated-clear 876s ok 61 /array/sort/zero-terminated-no-clear 876s ok 62 /array/sort/zero-terminated-clear 876s # End of sort tests 876s # Start of sort-with-data tests 876s ok 63 /array/sort-with-data/non-zero-terminated-no-clear 876s ok 64 /array/sort-with-data/non-zero-terminated-clear 876s ok 65 /array/sort-with-data/zero-terminated-no-clear 876s ok 66 /array/sort-with-data/zero-terminated-clear 876s # End of sort-with-data tests 876s # End of array tests 876s # Start of pointerarray tests 876s ok 67 /pointerarray/add 876s ok 68 /pointerarray/insert 876s ok 69 /pointerarray/new-take 876s ok 70 /pointerarray/new-take-null-terminated 876s ok 71 /pointerarray/new-from-array 876s ok 72 /pointerarray/new-from-null-terminated-array 876s ok 73 /pointerarray/free-func 876s ok 74 /pointerarray/array_extend_and_steal 876s ok 75 /pointerarray/sort 876s ok 76 /pointerarray/sort-with-data 876s ok 77 /pointerarray/sort-values 876s ok 78 /pointerarray/sort-values-with-data 876s ok 79 /pointerarray/remove-range 876s ok 80 /pointerarray/steal 876s # Start of free tests 876s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 876s ok 81 /pointerarray/free/null-terminated 876s # End of free tests 876s # Start of new-take tests 876s ok 82 /pointerarray/new-take/empty 876s ok 83 /pointerarray/new-take/overflow 876s ok 84 /pointerarray/new-take/with-free-func 876s # End of new-take tests 876s # Start of new-take-null-terminated tests 876s ok 85 /pointerarray/new-take-null-terminated/empty 876s ok 86 /pointerarray/new-take-null-terminated/with-free-func 876s ok 87 /pointerarray/new-take-null-terminated/from-gstrv 876s # End of new-take-null-terminated tests 876s # Start of new-from-array tests 876s ok 88 /pointerarray/new-from-array/empty 876s ok 89 /pointerarray/new-from-array/overflow 876s ok 90 /pointerarray/new-from-array/with-copy-and-free-func 876s # End of new-from-array tests 876s # Start of new-from-null-terminated-array tests 876s ok 91 /pointerarray/new-from-null-terminated-array/empty 876s ok 92 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 876s ok 93 /pointerarray/new-from-null-terminated-array/from-gstrv 876s # End of new-from-null-terminated-array tests 876s # Start of ref-count tests 876s ok 94 /pointerarray/ref-count/not-null-terminated 876s ok 95 /pointerarray/ref-count/null-terminated 876s # End of ref-count tests 876s # Start of array_copy tests 876s # /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 876s ok 96 /pointerarray/array_copy/not-null-terminated 876s # /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 876s ok 97 /pointerarray/array_copy/null-terminated 876s # End of array_copy tests 876s # Start of array_extend tests 876s ok 98 /pointerarray/array_extend/not-null-terminated 876s ok 99 /pointerarray/array_extend/null-terminated 876s # End of array_extend tests 876s # Start of sort tests 876s ok - glib/array-test.test 876s # Running test: glib/power-profile-monitor-dbus.test 876s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 876s ok 100 /pointerarray/sort/example 876s # End of sort tests 876s # Start of sort-with-data tests 876s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 876s ok 101 /pointerarray/sort-with-data/example 876s # End of sort-with-data tests 876s # Start of sort-values tests 876s ok 102 /pointerarray/sort-values/example 876s # End of sort-values tests 876s # Start of sort-values-with-data tests 876s ok 103 /pointerarray/sort-values-with-data/example 876s # End of sort-values-with-data tests 876s # Start of find tests 876s ok 104 /pointerarray/find/empty 876s ok 105 /pointerarray/find/non-empty 876s # End of find tests 876s # Start of steal_index tests 876s ok 106 /pointerarray/steal_index/not-null-terminated 876s ok 107 /pointerarray/steal_index/null-terminated 876s # End of steal_index tests 876s # End of pointerarray tests 876s # Start of bytearray tests 876s ok 108 /bytearray/steal 876s ok 109 /bytearray/append 876s ok 110 /bytearray/prepend 876s ok 111 /bytearray/remove 876s ok 112 /bytearray/remove-fast 876s ok 113 /bytearray/remove-range 876s ok 114 /bytearray/ref-count 876s ok 115 /bytearray/set-size 876s ok 116 /bytearray/sort 876s ok 117 /bytearray/sort-with-data 876s ok 118 /bytearray/new-take 876s ok 119 /bytearray/new-take-overflow 876s ok 120 /bytearray/free-to-bytes 876s # End of bytearray tests 876s TAP version 13 876s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 876s 1..1 876s ok - glib/power-profile-monitor-dbus.test 876s # Running test: glib/tls-interaction.test 876s TAP version 14 876s # random seed: R02Sf378b67b9ee3f25b83f28a0217fd8a4a 876s 1..42 876s # Start of tls-interaction tests 876s # Start of ask-password tests 876s # Start of invoke-with-loop tests 876s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 876s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 876s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 876s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 876s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 876s # End of invoke-with-loop tests 876s # Start of invoke-without-loop tests 876s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 876s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 876s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 876s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 876s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 876s # End of invoke-without-loop tests 876s # Start of invoke-in-loop tests 876s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 876s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 876s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 876s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 876s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 876s # End of invoke-in-loop tests 876s # Start of sync tests 876s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 876s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 876s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 876s # End of sync tests 876s # Start of async tests 876s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 876s ok 20 /tls-interaction/ask-password/async/async-implementation-success 876s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 876s # End of async tests 876s # End of ask-password tests 876s # Start of request-certificate tests 876s # Start of invoke-with-loop tests 876s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 876s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 876s ok - glib/tls-interaction.test 876s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 876s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 876s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 876s # End of invoke-with-loop tests 876s # Start of invoke-without-loop tests 876s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 876s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 876s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 876s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 876s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 876s # End of invoke-without-loop tests 876s # Start of invoke-in-loop tests 876s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 876s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 876s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 876s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 876s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 876s # End of invoke-in-loop tests 876s # Start of sync tests 876s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 876s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 876s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 876s # End of sync tests 876s # Start of async tests 876s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 876s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 876s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 876s # End of async tests 876s # End of request-certificate tests 876s # End of tls-interaction tests 876s # Running test: glib/signalgroup.test 876s TAP version 14 876s # random seed: R02S1638e8b03243a2d6f6a920fce8ed7ef2 876s 1..9 876s # Start of GObject tests 876s # Start of SignalGroup tests 876s ok 1 /GObject/SignalGroup/invalid 876s ok 2 /GObject/SignalGroup/simple 876s ok 3 /GObject/SignalGroup/changing-target 876s ok 4 /GObject/SignalGroup/blocking 876s ok 5 /GObject/SignalGroup/weak-ref-target 876s ok 6 /GObject/SignalGroup/connect-object 876s ok - glib/signalgroup.test 876s ok 7 /GObject/SignalGroup/signal-parsing 876s ok 8 /GObject/SignalGroup/properties 876s ok 9 /GObject/SignalGroup/interface 876s # Start of signal-parsing tests 876s # End of signal-parsing tests 876s # End of SignalGroup tests 876s # End of GObject tests 876s # Running test: glib/stream-rw_all.test 876s TAP version 14 876s # random seed: R02Sea723b2cbab63212d433a75e323e19b3 876s 1..3 876s # Start of stream tests 876s # Start of read_all_async tests 876s ok 1 /stream/read_all_async/memory 876s # End of read_all_async tests 876s # Start of write_all_async tests 876s ok 2 /stream/write_all_async/memory 876s # End of write_all_async tests 876s # Start of read_write_all_async tests 876s ok 3 /stream/read_write_all_async/pipe 876s # End of read_write_all_async tests 876s # End of stream tests 876s ok - glib/stream-rw_all.test 876s # Running test: glib/mimeapps.test 876s TAP version 14 876s # random seed: R02Sc862e6824396b47f7fe1a8afaeb938e4 876s 1..13 876s # Start of appinfo tests 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/runtime 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/system-data1/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/data/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/data/applications/myapp.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/data/applications/myapp2.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/data/applications/myapp3.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/data/applications/myapp4.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/data/applications/myapp5.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 876s # removing '/tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/data/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/data/applications/mimeinfo.cache' 876s ok 1 /appinfo/all 876s # Start of mime tests 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/runtime 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/system-data1/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/data/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 876s # removing '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/config 876s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9P8GJ3/appinfo/all/.dirs/config to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/config 876s ok 2 /appinfo/mime/api 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/runtime 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/system-data1/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/data/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 876s # removing '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/config 876s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9P8GJ3/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/config 876s ok 3 /appinfo/mime/default 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/runtime 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/system-data1/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/data/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 876s # removing '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/config 876s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/config 876s ok 4 /appinfo/mime/file 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/runtime 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/data/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 876s # removing '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 876s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9P8GJ3/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/config 876s ok 5 /appinfo/mime/scheme-handler 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/runtime 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/system-data1/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/data/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 876s # removing '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/config 876s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9P8GJ3/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/config 876s ok 6 /appinfo/mime/default-last-used 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/runtime 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 876s # removing '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 876s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9P8GJ3/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/config 876s ok 7 /appinfo/mime/ignore-nonexisting 876s # End of mime tests 876s # Start of mime-symlinked tests 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/system-config1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/system-data1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/runtime 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/system-data1/applications' 876s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/system-data1/applications/mimeapps.list.c' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/data/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp2.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp3.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp4.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp5.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/data/applications/nosuchapp.desktop' 876s # removing '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeinfo.cache' 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/config 876s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9P8GJ3/appinfo/mime/ignore-nonexisting/.dirs/config to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/config 876s ok 8 /appinfo/mime-symlinked/api 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/system-config1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/system-data1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/runtime 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/system-data1/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/system-data1/applications/mimeapps.list.c' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/data/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp2.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp3.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp4.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp5.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/data/applications/nosuchapp.desktop' 876s # removing '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeinfo.cache' 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/config 876s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/api/.dirs/config to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/config 876s ok 9 /appinfo/mime-symlinked/default 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/system-config1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/system-data1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/runtime 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/system-data1/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/system-data1/applications/mimeapps.list.c' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/data/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp2.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp3.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp4.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp5.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/data/applications/nosuchapp.desktop' 876s # removing '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeinfo.cache' 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/config 876s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default/.dirs/config to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/config 876s ok 10 /appinfo/mime-symlinked/file 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/runtime 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications/mimeapps.list.c' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp2.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp3.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp4.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp5.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 876s # removing '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeinfo.cache' 876s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/file/.dirs/config to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/config 876s ok 11 /appinfo/mime-symlinked/scheme-handler 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/runtime 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications/mimeapps.list.c' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp2.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp3.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp4.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp5.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/nosuchapp.desktop' 876s # removing '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeinfo.cache' 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 876s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/scheme-handler/.dirs/config to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 876s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/config 876s ok 12 /appinfo/mime-symlinked/default-last-used 876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/home 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/cache 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data2 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/state 876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/runtime 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list.c' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 876s # removing '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 876s # creating '/tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 876s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/default-last-used/.dirs/config to /tmp/test_mimeapps_9P8GJ3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 876s ok - glib/mimeapps.test 876s ok 13 /appinfo/mime-symlinked/ignore-nonexisting 876s # End of mime-symlinked tests 876s # End of appinfo tests 876s # Running test: glib/objects-refcount2.test 876s TAP version 14 876s # random seed: R02Sbf32b55b5d7b272352ba4b02a7b28342 876s 1..1 876s # Start of gobject tests 876s # Start of refcount tests 876s # init 0x5eac9c494d70 876s # 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # dispose 0x5eac9c494d70! 879s # 879s ok 1 /gobject/refcount/object-advanced 879s # slow test /gobject/refcount/object-advanced executed in 2.22 secs 879s # End of refcount tests 879s # End of gobject tests 879s ok - glib/objects-refcount2.test 879s # Running test: glib/bookmarkfile.test 879s TAP version 14 879s # random seed: R02S3a221cb9fab02cb59e584d77871c46a9 879s 1..96 879s # Start of bookmarks tests 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/load-from-data-dirs/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/load-from-data-dirs/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/load-from-data-dirs/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/load-from-data-dirs/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/load-from-data-dirs/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/load-from-data-dirs/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/load-from-data-dirs/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/load-from-data-dirs/.dirs/runtime 879s ok 1 /bookmarks/load-from-data-dirs 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/to-file/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/to-file/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/to-file/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/to-file/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/to-file/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/to-file/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/to-file/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/to-file/.dirs/runtime 879s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_QUIXJ3/bookmarkfile-test-GJJXJ3.xbel 879s # Roundtrip from a valid bookmark file 879s ok 2 /bookmarks/to-file 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/move-item/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/move-item/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/move-item/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/move-item/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/move-item/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/move-item/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/move-item/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/move-item/.dirs/runtime 879s ok 3 /bookmarks/move-item 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/corner-cases/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/corner-cases/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/corner-cases/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/corner-cases/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/corner-cases/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/corner-cases/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/corner-cases/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/corner-cases/.dirs/runtime 879s ok 4 /bookmarks/corner-cases 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/misc/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/misc/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/misc/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/misc/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/misc/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/misc/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/misc/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/misc/.dirs/runtime 879s ok 5 /bookmarks/misc 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/deprecated/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/deprecated/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/deprecated/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/deprecated/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/deprecated/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/deprecated/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/deprecated/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/deprecated/.dirs/runtime 879s ok 6 /bookmarks/deprecated 879s # Start of parse tests 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-08.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-08.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-08.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-08.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-08.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-08.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-08.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-08.xbel/.dirs/runtime 879s ok 7 /bookmarks/parse/fail-08.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-19.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-19.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-19.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-19.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-19.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-19.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-19.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-19.xbel/.dirs/runtime 879s ok 8 /bookmarks/parse/fail-19.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-24.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-24.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-24.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-24.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-24.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-24.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-24.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-24.xbel/.dirs/runtime 879s ok 9 /bookmarks/parse/fail-24.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-02.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-02.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-02.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-02.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-02.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-02.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-02.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-02.xbel/.dirs/runtime 879s ok 10 /bookmarks/parse/fail-02.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-17.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-17.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-17.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-17.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-17.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-17.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-17.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-17.xbel/.dirs/runtime 879s ok 11 /bookmarks/parse/fail-17.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-18.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-18.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-18.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-18.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-18.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-18.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-18.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-18.xbel/.dirs/runtime 879s ok 12 /bookmarks/parse/fail-18.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-13.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-13.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-13.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-13.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-13.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-13.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-13.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-13.xbel/.dirs/runtime 879s ok 13 /bookmarks/parse/fail-13.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-40.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-40.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-40.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-40.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-40.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-40.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-40.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-40.xbel/.dirs/runtime 879s ok 14 /bookmarks/parse/fail-40.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-39.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-39.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-39.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-39.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-39.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-39.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-39.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-39.xbel/.dirs/runtime 879s ok 15 /bookmarks/parse/fail-39.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-25.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-25.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-25.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-25.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-25.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-25.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-25.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-25.xbel/.dirs/runtime 879s ok 16 /bookmarks/parse/fail-25.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-14.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-14.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-14.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-14.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-14.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-14.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-14.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-14.xbel/.dirs/runtime 879s ok 17 /bookmarks/parse/fail-14.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-22.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-22.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-22.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-22.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-22.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-22.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-22.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-22.xbel/.dirs/runtime 879s ok 18 /bookmarks/parse/fail-22.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-04.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-04.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-04.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-04.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-04.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-04.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-04.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-04.xbel/.dirs/runtime 879s ok 19 /bookmarks/parse/fail-04.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-09.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-09.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-09.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-09.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-09.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-09.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-09.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-09.xbel/.dirs/runtime 879s ok 20 /bookmarks/parse/fail-09.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-01.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-01.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-01.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-01.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-01.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-01.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-01.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-01.xbel/.dirs/runtime 879s ok 21 /bookmarks/parse/fail-01.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-07.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-07.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-07.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-07.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-07.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-07.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-07.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-07.xbel/.dirs/runtime 879s ok 22 /bookmarks/parse/fail-07.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-34.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-34.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-34.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-34.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-34.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-34.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-34.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-34.xbel/.dirs/runtime 879s ok 23 /bookmarks/parse/fail-34.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-23.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-23.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-23.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-23.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-23.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-23.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-23.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-23.xbel/.dirs/runtime 879s ok 24 /bookmarks/parse/fail-23.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-03.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-03.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-03.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-03.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-03.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-03.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-03.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-03.xbel/.dirs/runtime 879s ok 25 /bookmarks/parse/valid-03.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-30.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-30.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-30.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-30.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-30.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-30.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-30.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-30.xbel/.dirs/runtime 879s ok 26 /bookmarks/parse/fail-30.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-29.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-29.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-29.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-29.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-29.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-29.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-29.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-29.xbel/.dirs/runtime 879s ok 27 /bookmarks/parse/fail-29.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-36.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-36.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-36.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-36.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-36.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-36.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-36.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-36.xbel/.dirs/runtime 879s ok 28 /bookmarks/parse/fail-36.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-15.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-15.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-15.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-15.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-15.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-15.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-15.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-15.xbel/.dirs/runtime 879s ok 29 /bookmarks/parse/fail-15.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-11.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-11.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-11.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-11.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-11.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-11.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-11.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-11.xbel/.dirs/runtime 879s ok 30 /bookmarks/parse/fail-11.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-27.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-27.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-27.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-27.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-27.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-27.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-27.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-27.xbel/.dirs/runtime 879s ok 31 /bookmarks/parse/fail-27.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-41.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-41.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-41.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-41.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-41.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-41.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-41.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-41.xbel/.dirs/runtime 879s ok 32 /bookmarks/parse/fail-41.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-32.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-32.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-32.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-32.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-32.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-32.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-32.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-32.xbel/.dirs/runtime 879s ok 33 /bookmarks/parse/fail-32.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-01.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-01.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-01.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-01.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-01.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-01.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-01.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-01.xbel/.dirs/runtime 879s ok 34 /bookmarks/parse/valid-01.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-06.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-06.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-06.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-06.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-06.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-06.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-06.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-06.xbel/.dirs/runtime 879s ok 35 /bookmarks/parse/fail-06.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-21.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-21.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-21.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-21.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-21.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-21.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-21.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-21.xbel/.dirs/runtime 879s ok 36 /bookmarks/parse/fail-21.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-33.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-33.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-33.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-33.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-33.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-33.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-33.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-33.xbel/.dirs/runtime 879s ok 37 /bookmarks/parse/fail-33.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-16.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-16.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-16.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-16.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-16.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-16.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-16.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-16.xbel/.dirs/runtime 879s ok 38 /bookmarks/parse/fail-16.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-35.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-35.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-35.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-35.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-35.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-35.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-35.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-35.xbel/.dirs/runtime 879s ok 39 /bookmarks/parse/fail-35.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-03.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-03.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-03.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-03.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-03.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-03.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-03.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-03.xbel/.dirs/runtime 879s ok 40 /bookmarks/parse/fail-03.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-10.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-10.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-10.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-10.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-10.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-10.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-10.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-10.xbel/.dirs/runtime 879s ok 41 /bookmarks/parse/fail-10.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-12.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-12.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-12.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-12.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-12.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-12.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-12.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-12.xbel/.dirs/runtime 879s ok 42 /bookmarks/parse/fail-12.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-26.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-26.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-26.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-26.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-26.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-26.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-26.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-26.xbel/.dirs/runtime 879s ok 43 /bookmarks/parse/fail-26.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-20.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-20.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-20.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-20.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-20.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-20.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-20.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-20.xbel/.dirs/runtime 879s ok 44 /bookmarks/parse/fail-20.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-02.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-02.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-02.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-02.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-02.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-02.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-02.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/valid-02.xbel/.dirs/runtime 879s ok 45 /bookmarks/parse/valid-02.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-05.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-05.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-05.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-05.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-05.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-05.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-05.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-05.xbel/.dirs/runtime 879s ok 46 /bookmarks/parse/fail-05.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-42.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-42.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-42.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-42.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-42.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-42.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-42.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-42.xbel/.dirs/runtime 879s ok 47 /bookmarks/parse/fail-42.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-37.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-37.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-37.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-37.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-37.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-37.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-37.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-37.xbel/.dirs/runtime 879s ok 48 /bookmarks/parse/fail-37.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-31.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-31.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-31.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-31.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-31.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-31.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-31.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-31.xbel/.dirs/runtime 879s ok 49 /bookmarks/parse/fail-31.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-28.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-28.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-28.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-28.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-28.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-28.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-28.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-28.xbel/.dirs/runtime 879s ok 50 /bookmarks/parse/fail-28.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-38.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-38.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-38.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-38.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-38.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-38.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-38.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/parse/fail-38.xbel/.dirs/runtime 879s ok 51 /bookmarks/parse/fail-38.xbel 879s # End of parse tests 879s # Start of copy tests 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-08.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-08.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-08.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-08.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-08.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-08.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-08.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-08.xbel/.dirs/runtime 879s ok 52 /bookmarks/copy/fail-08.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-19.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-19.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-19.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-19.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-19.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-19.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-19.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-19.xbel/.dirs/runtime 879s ok 53 /bookmarks/copy/fail-19.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-24.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-24.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-24.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-24.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-24.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-24.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-24.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-24.xbel/.dirs/runtime 879s ok 54 /bookmarks/copy/fail-24.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-02.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-02.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-02.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-02.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-02.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-02.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-02.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-02.xbel/.dirs/runtime 879s ok 55 /bookmarks/copy/fail-02.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-17.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-17.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-17.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-17.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-17.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-17.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-17.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-17.xbel/.dirs/runtime 879s ok 56 /bookmarks/copy/fail-17.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-18.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-18.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-18.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-18.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-18.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-18.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-18.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-18.xbel/.dirs/runtime 879s ok 57 /bookmarks/copy/fail-18.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-13.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-13.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-13.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-13.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-13.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-13.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-13.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-13.xbel/.dirs/runtime 879s ok 58 /bookmarks/copy/fail-13.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-40.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-40.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-40.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-40.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-40.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-40.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-40.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-40.xbel/.dirs/runtime 879s ok 59 /bookmarks/copy/fail-40.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-39.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-39.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-39.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-39.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-39.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-39.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-39.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-39.xbel/.dirs/runtime 879s ok 60 /bookmarks/copy/fail-39.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-25.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-25.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-25.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-25.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-25.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-25.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-25.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-25.xbel/.dirs/runtime 879s ok 61 /bookmarks/copy/fail-25.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-14.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-14.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-14.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-14.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-14.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-14.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-14.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-14.xbel/.dirs/runtime 879s ok 62 /bookmarks/copy/fail-14.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-22.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-22.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-22.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-22.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-22.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-22.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-22.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-22.xbel/.dirs/runtime 879s ok 63 /bookmarks/copy/fail-22.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-04.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-04.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-04.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-04.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-04.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-04.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-04.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-04.xbel/.dirs/runtime 879s ok 64 /bookmarks/copy/fail-04.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-09.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-09.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-09.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-09.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-09.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-09.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-09.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-09.xbel/.dirs/runtime 879s ok 65 /bookmarks/copy/fail-09.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-01.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-01.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-01.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-01.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-01.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-01.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-01.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-01.xbel/.dirs/runtime 879s ok 66 /bookmarks/copy/fail-01.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-07.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-07.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-07.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-07.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-07.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-07.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-07.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-07.xbel/.dirs/runtime 879s ok 67 /bookmarks/copy/fail-07.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-34.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-34.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-34.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-34.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-34.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-34.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-34.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-34.xbel/.dirs/runtime 879s ok 68 /bookmarks/copy/fail-34.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-23.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-23.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-23.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-23.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-23.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-23.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-23.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-23.xbel/.dirs/runtime 879s ok 69 /bookmarks/copy/fail-23.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-03.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-03.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-03.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-03.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-03.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-03.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-03.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-03.xbel/.dirs/runtime 879s ok 70 /bookmarks/copy/valid-03.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-30.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-30.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-30.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-30.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-30.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-30.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-30.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-30.xbel/.dirs/runtime 879s ok 71 /bookmarks/copy/fail-30.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-29.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-29.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-29.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-29.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-29.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-29.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-29.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-29.xbel/.dirs/runtime 879s ok 72 /bookmarks/copy/fail-29.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-36.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-36.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-36.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-36.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-36.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-36.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-36.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-36.xbel/.dirs/runtime 879s ok 73 /bookmarks/copy/fail-36.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-15.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-15.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-15.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-15.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-15.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-15.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-15.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-15.xbel/.dirs/runtime 879s ok 74 /bookmarks/copy/fail-15.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-11.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-11.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-11.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-11.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-11.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-11.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-11.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-11.xbel/.dirs/runtime 879s ok 75 /bookmarks/copy/fail-11.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-27.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-27.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-27.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-27.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-27.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-27.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-27.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-27.xbel/.dirs/runtime 879s ok 76 /bookmarks/copy/fail-27.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-41.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-41.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-41.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-41.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-41.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-41.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-41.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-41.xbel/.dirs/runtime 879s ok 77 /bookmarks/copy/fail-41.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-32.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-32.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-32.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-32.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-32.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-32.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-32.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-32.xbel/.dirs/runtime 879s ok 78 /bookmarks/copy/fail-32.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-01.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-01.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-01.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-01.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-01.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-01.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-01.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-01.xbel/.dirs/runtime 879s ok 79 /bookmarks/copy/valid-01.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-06.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-06.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-06.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-06.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-06.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-06.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-06.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-06.xbel/.dirs/runtime 879s ok 80 /bookmarks/copy/fail-06.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-21.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-21.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-21.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-21.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-21.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-21.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-21.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-21.xbel/.dirs/runtime 879s ok 81 /bookmarks/copy/fail-21.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-33.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-33.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-33.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-33.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-33.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-33.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-33.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-33.xbel/.dirs/runtime 879s ok 82 /bookmarks/copy/fail-33.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-16.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-16.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-16.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-16.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-16.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-16.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-16.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-16.xbel/.dirs/runtime 879s ok 83 /bookmarks/copy/fail-16.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-35.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-35.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-35.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-35.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-35.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-35.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-35.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-35.xbel/.dirs/runtime 879s ok 84 /bookmarks/copy/fail-35.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-03.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-03.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-03.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-03.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-03.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-03.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-03.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-03.xbel/.dirs/runtime 879s ok 85 /bookmarks/copy/fail-03.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-10.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-10.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-10.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-10.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-10.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-10.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-10.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-10.xbel/.dirs/runtime 879s ok 86 /bookmarks/copy/fail-10.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-12.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-12.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-12.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-12.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-12.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-12.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-12.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-12.xbel/.dirs/runtime 879s ok 87 /bookmarks/copy/fail-12.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-26.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-26.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-26.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-26.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-26.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-26.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-26.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-26.xbel/.dirs/runtime 879s ok 88 /bookmarks/copy/fail-26.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-20.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-20.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-20.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-20.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-20.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-20.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-20.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-20.xbel/.dirs/runtime 879s ok 89 /bookmarks/copy/fail-20.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-02.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-02.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-02.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-02.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-02.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-02.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-02.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/valid-02.xbel/.dirs/runtime 879s ok 90 /bookmarks/copy/valid-02.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-05.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-05.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-05.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-05.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-05.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-05.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-05.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-05.xbel/.dirs/runtime 879s ok 91 /bookmarks/copy/fail-05.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-42.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-42.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-42.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-42.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-42.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-42.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-42.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-42.xbel/.dirs/runtime 879s ok 92 /bookmarks/copy/fail-42.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-37.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-37.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-37.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-37.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-37.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-37.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-37.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-37.xbel/.dirs/runtime 879s ok 93 /bookmarks/copy/fail-37.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-31.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-31.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-31.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-31.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-31.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-31.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-31.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-31.xbel/.dirs/runtime 879s ok 94 /bookmarks/copy/fail-31.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-28.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-28.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-28.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-28.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-28.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-28.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-28.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-28.xbel/.dirs/runtime 879s ok 95 /bookmarks/copy/fail-28.xbel 879s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-38.xbel/.dirs/home 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-38.xbel/.dirs/cache 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-38.xbel/.dirs/system-config2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-38.xbel/.dirs/config 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-38.xbel/.dirs/system-data2 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-38.xbel/.dirs/data 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-38.xbel/.dirs/state 879s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QUIXJ3/bookmarks/copy/fail-38.xbel/.dirs/runtime 879s ok 96 /bookmarks/copy/fail-38.xbel 879s # End of copy tests 879s # End of bookmarks tests 879s ok - glib/bookmarkfile.test 879s # Running test: glib/thread-pool.test 879s TAP version 14 879s # random seed: R02S6db144a660ac1b0986dc6db829962f4e 879s 1..6 879s # Start of thread_pool tests 879s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3712 879s ok 1 /thread_pool/pool_fail 879s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 879s ok 2 /thread_pool/shared 879s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 879s ok 3 /thread_pool/exclusive 879s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 879s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 879s ok 4 /thread_pool/create_shared_after_exclusive 879s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 879s ok 5 /thread_pool/create_full 879s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 879s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 879s ok 6 /thread_pool/create_exclusive_after_shared 879s # End of thread_pool tests 879s ok - glib/thread-pool.test 879s # Running test: glib/simple-proxy.test 879s TAP version 14 879s # random seed: R02Sbef0a88d53e077f3c44068b627e1efef 879s 1..3 879s # Start of static-proxy tests 879s ok 1 /static-proxy/uri 879s ok 2 /static-proxy/socks 879s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string *.eee.xx:8000 879s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 10.0.0.1:8000 879s ok 3 /static-proxy/ignore 879s # End of static-proxy tests 879s ok - glib/simple-proxy.test 879s # Running test: glib/gio-tool.py.test 879s TAP version 13 879s ok 1 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_folder 879s # gio: /usr/bin/gio 879s # tmpdir: /tmp/tmpxsvfyanw 879s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpxsvfyanw/folder/desktop.entry'] 879s # Working Directory: /tmp/tmpxsvfyanw/folder 879s # Return code: 0 879s # Output: 879s # /tmp/tmpxsvfyanw/folder/desktop.entry 879s # Error: 879s ok 2 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_parent 879s # gio: /usr/bin/gio 879s # tmpdir: /tmp/tmptatj20xh 879s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmptatj20xh/folder/desktop.entry'] 879s # Working Directory: /tmp/tmptatj20xh 879s # Return code: 0 879s # Output: 879s # /tmp/tmptatj20xh/folder/desktop.entry 879s # Error: 879s ok 3 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_sibling 879s # gio: /usr/bin/gio 879s # tmpdir: /tmp/tmp3e96ty_6 879s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmp3e96ty_6/folder/desktop.entry'] 879s # Working Directory: /tmp/tmp3e96ty_6/sibling 879s # Return code: 0 879s # Output: 879s # /tmp/tmp3e96ty_6/folder/desktop.entry 879s # Error: 879s ok 4 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_folder 879s # gio: /usr/bin/gio 879s # tmpdir: /tmp/tmp073wp3qx 879s # Running: ['/usr/bin/gio', 'launch', 'desktop.entry'] 879s # Working Directory: /tmp/tmp073wp3qx/folder 879s # Return code: 0 879s # Output: 879s # /tmp/tmp073wp3qx/folder/desktop.entry 879s # Error: 879s ok 5 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_parent 879s # gio: /usr/bin/gio 879s # tmpdir: /tmp/tmpkon2irih 879s # Running: ['/usr/bin/gio', 'launch', 'folder/desktop.entry'] 879s # Working Directory: /tmp/tmpkon2irih 879s # Return code: 0 879s # Output: 879s # /tmp/tmpkon2irih/folder/desktop.entry 879s # Error: 879s ok 6 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_sibling 879s # gio: /usr/bin/gio 879s # tmpdir: /tmp/tmp4lqh20j1 879s # Running: ['/usr/bin/gio', 'launch', '../folder/desktop.entry'] 879s # Working Directory: /tmp/tmp4lqh20j1/sibling 879s # Return code: 0 879s # Output: 879s # /tmp/tmp4lqh20j1/folder/desktop.entry 879s # Error: 879s ok 7 __main__.TestGioTool.test_help 879s # gio: /usr/bin/gio 879s # tmpdir: /tmp/tmpntb_2qii 879s # Running: ['/usr/bin/gio', '--help'] 879s # Return code: 0 879s # Output: 879s # Usage: 879s # gio COMMAND [ARGS…] 879s # 879s # Commands: 879s # help Print help 879s # version Print version 879s # cat Concatenate files to standard output 879s # copy Copy one or more files 879s # info Show information about locations 879s # launch Launch an application from a desktop file 879s # list List the contents of locations 879s # mime Get or set the handler for a mimetype 879s # mkdir Create directories 879s # monitor Monitor files and directories for changes 879s # mount Mount or unmount the locations 879s # move Move one or more files 879s # open Open files with the default application 879s # rename Rename a file 879s # remove Delete one or more files 879s # save Read from standard input and save 879s # set Set a file attribute 879s # trash Move files or directories to the trash 879s # tree Lists the contents of locations in a tree 879s # 879s # Use “gio help COMMAND” to get detailed help. 879s # Error: 879s # 879s # Running: ['/usr/bin/gio', 'help'] 879s # Return code: 0 879s # Output: 879s # Usage: 879s # gio COMMAND [ARGS…] 879s # 879s # Commands: 879s # help Print help 879s # version Print version 879s # cat Concatenate files to standard output 879s # copy Copy one or more files 879s # info Show information about locations 879s # launch Launch an application from a desktop file 879s # list List the contents of locations 879s # mime Get or set the handler for a mimetype 879s # mkdir Create directories 879s # monitor Monitor files and directories for changes 879s # mount Mount or unmount the locations 879s # move Move one or more files 879s # open Open files with the default application 879s # rename Rename a file 879s # remove Delete one or more files 879s # save Read from standard input and save 879s # set Set a file attribute 879s # trash Move files or directories to the trash 879s # tree Lists the contents of locations in a tree 879s # 879s # Use “gio help COMMAND” to get detailed help. 879s # Error: 879s ok 8 __main__.TestGioTool.test_info_non_default_attributes 879s # gio: /usr/bin/gio 879s # tmpdir: /tmp/tmpacaszneo 879s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpacaszneo/tmpakq1ye1m'] 879s # Return code: 0 879s # Output: 879s # uri: file:///tmp/tmpacaszneo/tmpakq1ye1m 879s # local path: /tmp/tmpacaszneo/tmpakq1ye1m 879s # unix mount: /dev/sda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 879s # attributes: 879s # standard::content-type: application/x-zerosize 879s # Error: 879s ok 9 __main__.TestGioTool.test_no_args 879s # gio: /usr/bin/gio 879s # tmpdir: /tmp/tmpova7cmkq 879s # Running: ['/usr/bin/gio'] 879s # Return code: 1 879s # Output: 879s # 879s # Error: 879s # Usage: 879s # gio COMMAND [ARGS…] 879s # 879s # Commands: 879s # help Print help 879s # version Print version 879s # cat Concatenate files to standard output 879s # copy Copy one or more files 879s # info Show information about locations 879s # launch Launch an application from a desktop file 879s # list List the contents of locations 879s # mime Get or set the handler for a mimetype 879s # mkdir Create directories 879s # monitor Monitor files and directories for changes 879s # mount Mount or unmount the locations 879s # move Move one or more files 879s # open Open files with the default application 879s # rename Rename a file 879s # remove Delete one or more files 879s # save Read from standard input and save 879s # set Set a file attribute 879s # trash Move files or directories to the trash 879s # tree Lists the contents of locations in a tree 879s # 879s # Use “gio help COMMAND” to get detailed help. 879s 1..9 879s ok - glib/gio-tool.py.test 879s # Running test: glib/memory-settings-backend.test 879s TAP version 14 879s # random seed: R02S066e14d1d0b35c62ba2aeb3a5608262b 879s 1..1 879s # Start of memory-settings-backend tests 879s ok 1 /memory-settings-backend/extension-point-registered 879s # End of memory-settings-backend tests 879s ok - glib/memory-settings-backend.test 879s # SUMMARY: total=332; passed=331; skipped=1; failed=0; user=208.2s; system=71.1s; maxrss=146788 879s autopkgtest [12:40:22]: test installed-tests: -----------------------] 880s installed-tests PASS 880s autopkgtest [12:40:23]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 880s autopkgtest [12:40:23]: test closure-refcount: preparing testbed 880s Reading package lists... 880s Building dependency tree... 880s Reading state information... 880s Solving dependencies... 880s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 881s autopkgtest [12:40:24]: test closure-refcount: [----------------------- 881s Running test: glib/closure-refcount.test 881s TAP version 14 881s # random seed: R02S26b02dbcfb0fb7176c6b05b7ef35bb65 881s 1..1 881s # Start of closure tests 881s # Init 0x62934241cdb0 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from thread2 881s # Yielding from thread1 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from thread2 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from thread1 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 881s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from thread2 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from thread1 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from thread2 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from thread1 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from thread2 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from thread1 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from thread2 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from thread2 882s # Yielding from main thread 882s # Yielding from thread1 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from thread1 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from thread2 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from thread1 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from thread2 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from thread1 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from thread2 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from main thread 882s # Yielding from thread1 882s # Stopping 882s # Stopped 882s ok 1 /closure/refcount 882s # slow test /closure/refcount executed in 1.23 secs 882s # End of closure tests 882s PASS: glib/closure-refcount.test 882s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.5s; system=0.0s; maxrss=4100 883s autopkgtest [12:40:26]: test closure-refcount: -----------------------] 883s autopkgtest [12:40:26]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 883s closure-refcount PASS 883s autopkgtest [12:40:26]: test debugcontroller: preparing testbed 884s 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 [12:40:27]: test debugcontroller: [----------------------- 885s Running test: glib/debugcontroller.test 885s TAP version 14 885s # random seed: R02Sb02c43d1cd0bfecc21f2ded51be35a94 885s 1..3 885s # Start of debug-controller tests 885s # Start of dbus tests 885s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 885s # GLib-GIO-DEBUG: Debug output enabled 885s # GLib-GIO-DEBUG: Debug output disabled 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s ok 1 /debug-controller/dbus/basic 885s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s ok 2 /debug-controller/dbus/duplicate 885s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 885s # GLib-GIO-DEBUG: Debug output enabled 885s # GLib-GIO-DEBUG: Debug output disabled 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 885s ok 3 /debug-controller/dbus/properties 885s # End of dbus tests 885s # End of debug-controller tests 885s PASS: glib/debugcontroller.test 885s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6712 885s autopkgtest [12:40:28]: test debugcontroller: -----------------------] 885s debugcontroller PASS 885s autopkgtest [12:40:28]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 886s autopkgtest [12:40:29]: test gdbus-server-auth: preparing testbed 886s Reading package lists... 886s Building dependency tree... 886s Reading state information... 886s Solving dependencies... 886s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 887s autopkgtest [12:40:30]: test gdbus-server-auth: [----------------------- 887s Running test: glib/gdbus-server-auth.test 887s TAP version 14 887s # random seed: R02S5f53b8e0475758fc914cdfea8e8c54cb 887s 1..9 887s # Start of gdbus tests 887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/.dirs/home 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/.dirs/cache 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/.dirs/system-config2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/.dirs/config 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/.dirs/system-data2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/.dirs/data 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/.dirs/state 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/.dirs/runtime 887s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZH02J3/gdbus-server-auth-NZ02J3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 887s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZH02J3/gdbus-server-auth-NZ02J3/dbus-SNans02V 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40560 887s ok 1 /gdbus/server-auth 887s # Start of server-auth tests 887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/abstract/.dirs/home 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/abstract/.dirs/cache 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/abstract/.dirs/system-config2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/abstract/.dirs/config 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/abstract/.dirs/system-data2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/abstract/.dirs/data 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/abstract/.dirs/state 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/abstract/.dirs/runtime 887s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_ZH02J3/gdbus-server-auth-9Z30J3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 887s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZH02J3/gdbus-server-auth-9Z30J3/dbus-UyEm1xae 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40560 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 887s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40560 887s ok 2 /gdbus/server-auth/abstract 887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/tcp/.dirs/home 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/tcp/.dirs/cache 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/tcp/.dirs/system-config2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/tcp/.dirs/config 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/tcp/.dirs/system-data2 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/tcp/.dirs/data 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/tcp/.dirs/state 887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/tcp/.dirs/runtime 887s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 887s # Connectable address: tcp:host=127.0.0.1,port=36475 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 887s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 887s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 887s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 887s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 887s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 888s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 888s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 888s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 888s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 888s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 888s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 888s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 888s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 888s ok 3 /gdbus/server-auth/tcp 888s # slow test /gdbus/server-auth/tcp executed in 0.84 secs 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/.dirs/runtime 888s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZH02J3/gdbus-server-auth-JSQUJ3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 888s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZH02J3/gdbus-server-auth-JSQUJ3/dbus-MuxSrW8J 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40560 888s ok 4 /gdbus/server-auth/anonymous 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/.dirs/runtime 888s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZH02J3/gdbus-server-auth-9RVUJ3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 888s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZH02J3/gdbus-server-auth-9RVUJ3/dbus-Er9qIIEl 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 888s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40560 888s ok 5 /gdbus/server-auth/external 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/.dirs/runtime 888s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZH02J3/gdbus-server-auth-KGGUJ3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 888s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZH02J3/gdbus-server-auth-KGGUJ3/dbus-0DTNUe88 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40560 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 888s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40560 888s ok 6 /gdbus/server-auth/sha1 888s # Start of anonymous tests 888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/tcp/.dirs/home 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/tcp/.dirs/cache 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/tcp/.dirs/config 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/tcp/.dirs/data 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/tcp/.dirs/state 888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 888s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 888s # Connectable address: tcp:host=127.0.0.1,port=38535 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 888s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 888s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 888s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 888s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 888s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 889s ok 7 /gdbus/server-auth/anonymous/tcp 889s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.82 secs 889s # End of anonymous tests 889s # Start of external tests 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/require-same-user/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/require-same-user/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/require-same-user/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/require-same-user/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/require-same-user/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/external/require-same-user/.dirs/runtime 889s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZH02J3/gdbus-server-auth-E8MWJ3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 889s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZH02J3/gdbus-server-auth-E8MWJ3/dbus-rDxoH08R 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40560 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 889s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40560,uid=1000,gid=1000 889s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40560 889s ok 8 /gdbus/server-auth/external/require-same-user 889s # End of external tests 889s # Start of sha1 tests 889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/tcp/.dirs/home 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/tcp/.dirs/cache 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/tcp/.dirs/config 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/tcp/.dirs/data 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/tcp/.dirs/state 889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZH02J3/gdbus/server-auth/sha1/tcp/.dirs/runtime 889s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 889s # Connectable address: tcp:host=127.0.0.1,port=34095 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 889s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 889s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 889s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 889s ok 9 /gdbus/server-auth/sha1/tcp 889s # slow test /gdbus/server-auth/sha1/tcp executed in 0.82 secs 889s # End of sha1 tests 889s # End of server-auth tests 889s # End of gdbus tests 889s PASS: glib/gdbus-server-auth.test 889s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.1s; maxrss=8800 890s autopkgtest [12:40:33]: test gdbus-server-auth: -----------------------] 890s gdbus-server-auth PASS 890s autopkgtest [12:40:33]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 890s autopkgtest [12:40:33]: test gdbus-threading: preparing testbed 890s Reading package lists... 891s Building dependency tree... 891s Reading state information... 891s Solving dependencies... 891s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 891s autopkgtest [12:40:34]: test gdbus-threading: [----------------------- 892s Running test: glib/gdbus-threading.test 892s TAP version 14 892s # random seed: R02Secfe6ebc0180de0601a25bb7faf411fa 892s 1..3 892s # Start of gdbus tests 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_FFPMJ3/gdbus/delivery-in-thread/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_FFPMJ3/gdbus/delivery-in-thread/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_FFPMJ3/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_FFPMJ3/gdbus/delivery-in-thread/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_FFPMJ3/gdbus/delivery-in-thread/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_FFPMJ3/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_FFPMJ3/gdbus/delivery-in-thread/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_FFPMJ3/gdbus/delivery-in-thread/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_FFPMJ3/gdbus/delivery-in-thread/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_FFPMJ3/gdbus/delivery-in-thread/.dirs/runtime 892s ok 1 /gdbus/delivery-in-thread 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_FFPMJ3/gdbus/method-calls-in-thread/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_FFPMJ3/gdbus/method-calls-in-thread/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_FFPMJ3/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_FFPMJ3/gdbus/method-calls-in-thread/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_FFPMJ3/gdbus/method-calls-in-thread/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_FFPMJ3/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_FFPMJ3/gdbus/method-calls-in-thread/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_FFPMJ3/gdbus/method-calls-in-thread/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_FFPMJ3/gdbus/method-calls-in-thread/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_FFPMJ3/gdbus/method-calls-in-thread/.dirs/runtime 892s ok 2 /gdbus/method-calls-in-thread 892s # slow test /gdbus/method-calls-in-thread executed in 0.82 secs 892s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_FFPMJ3/gdbus/threaded-singleton/.dirs/home 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_FFPMJ3/gdbus/threaded-singleton/.dirs/cache 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_FFPMJ3/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_FFPMJ3/gdbus/threaded-singleton/.dirs/system-config2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_FFPMJ3/gdbus/threaded-singleton/.dirs/config 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_FFPMJ3/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_FFPMJ3/gdbus/threaded-singleton/.dirs/system-data2 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_FFPMJ3/gdbus/threaded-singleton/.dirs/data 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_FFPMJ3/gdbus/threaded-singleton/.dirs/state 892s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_FFPMJ3/gdbus/threaded-singleton/.dirs/runtime 892s # GLib-GIO-DEBUG: refcount of 0x70d6b40050b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: refcount of 0x70d6b4002060 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: refcount of 0x70d6b4001af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: refcount of 0x70d6b4001170 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s ok 3 /gdbus/threaded-singleton 893s # slow test /gdbus/threaded-singleton executed in 0.54 secs 893s # End of gdbus tests 893s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 893s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 893s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 893s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 893s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 893s PASS: glib/gdbus-threading.test 893s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=6744 893s autopkgtest [12:40:36]: test gdbus-threading: -----------------------] 894s gdbus-threading PASS 894s autopkgtest [12:40:37]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 894s autopkgtest [12:40:37]: test gmenumodel: preparing testbed 894s Reading package lists... 894s Building dependency tree... 894s Reading state information... 894s Solving dependencies... 894s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 895s autopkgtest [12:40:38]: test gmenumodel: [----------------------- 895s Running test: glib/gmenumodel.test 895s TAP version 14 895s # random seed: R02S2b486679120acdd5885dcb72ac8d4e38 895s 1..15 895s # Start of gmenu tests 895s ok 1 /gmenu/equality 895s ok 2 /gmenu/random 895s ok 3 /gmenu/attributes 895s ok 4 /gmenu/links 895s ok 5 /gmenu/mutable 895s ok 6 /gmenu/convenience 895s ok 7 /gmenu/menuitem 895s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 896s ok 8 /gmenu/input-validation 896s # Start of dbus tests 897s ok 9 /gmenu/dbus/roundtrip 897s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 897s ok 10 /gmenu/dbus/subscriptions 897s ok 11 /gmenu/dbus/threaded 897s # Start of peer tests 898s ok 12 /gmenu/dbus/peer/roundtrip 898s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 899s ok 13 /gmenu/dbus/peer/subscriptions 899s # End of peer tests 899s # Start of export tests 899s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 899s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 899s ok 14 /gmenu/dbus/export/error-handling 899s # End of export tests 899s # End of dbus tests 899s # Start of attributes tests 899s ok 15 /gmenu/attributes/iterate 899s # End of attributes tests 899s # End of gmenu tests 899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 899s PASS: glib/gmenumodel.test 899s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.0s; system=0.1s; maxrss=26304 899s autopkgtest [12:40:42]: test gmenumodel: -----------------------] 899s gmenumodel PASS 899s autopkgtest [12:40:42]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 900s autopkgtest [12:40:43]: test mainloop: preparing testbed 900s Reading package lists... 900s Building dependency tree... 900s Reading state information... 900s Solving dependencies... 900s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 901s autopkgtest [12:40:44]: test mainloop: [----------------------- 901s Running test: glib/mainloop.test 901s TAP version 14 901s # random seed: R02S02274a6b998cb8ebe4baf9ad24d75c52 901s 1..47 901s # Start of maincontext tests 901s ok 1 /maincontext/basic 901s # Add same-priority sources: 9 901s # Find each source: 1 901s # Remove in random order: 9 901s ok 2 /maincontext/nsources_same_priority 901s # Add different-priority sources: 10 901s # Find each source: 1 901s # Remove in random order: 12 901s ok 3 /maincontext/nsources_different_priority 901s # Add sources from threads: 18 901s # Remove sources from threads: 15 901s ok 4 /maincontext/nsources_threadpool 901s ok 5 /maincontext/source_finalization 901s # /maincontext/idle-once summary: Test g_idle_add_once() works 901s ok 6 /maincontext/idle-once 901s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 901s ok 7 /maincontext/timeout-once 901s # /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. 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 901s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 901s # Start of source_finalization_from_source tests 901s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 901s ok 9 /maincontext/source_finalization_from_source/0 901s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 901s ok 10 /maincontext/source_finalization_from_source/1 901s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 901s ok 11 /maincontext/source_finalization_from_source/2 901s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 901s ok 12 /maincontext/source_finalization_from_source/3 901s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 901s ok 13 /maincontext/source_finalization_from_source/4 901s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 901s ok 14 /maincontext/source_finalization_from_source/5 901s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 901s ok 15 /maincontext/source_finalization_from_source/6 901s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 901s ok 16 /maincontext/source_finalization_from_source/7 901s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 901s ok 17 /maincontext/source_finalization_from_source/8 901s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 901s ok 18 /maincontext/source_finalization_from_source/9 901s # End of source_finalization_from_source tests 901s # Start of source_finalization_from_dispatch tests 901s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 901s ok 19 /maincontext/source_finalization_from_dispatch/0 901s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 901s ok 20 /maincontext/source_finalization_from_dispatch/1 901s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 901s ok 21 /maincontext/source_finalization_from_dispatch/2 901s # End of source_finalization_from_dispatch tests 901s # End of maincontext tests 901s # Start of mainloop tests 901s ok 22 /mainloop/basic 901s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 901s ok 24 /mainloop/priorities 902s ok 25 /mainloop/invoke 902s # slow test /mainloop/invoke executed in 0.50 secs 903s ok 26 /mainloop/child_sources 903s # slow test /mainloop/child_sources executed in 1.17 secs 905s ok 27 /mainloop/recursive_child_sources 905s # slow test /mainloop/recursive_child_sources executed in 2.14 secs 905s ok 28 /mainloop/recursive_loop_child_sources 905s ok 29 /mainloop/swapping_child_sources 905s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 905s ok 30 /mainloop/blocked_child_sources 906s ok 31 /mainloop/source_time 906s # slow test /mainloop/source_time executed in 1.00 secs 906s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 906s ok 32 /mainloop/overflow 906s Executing: glib/mainloop.test 906s ok 33 /mainloop/ready-time 906s # slow test /mainloop/ready-time executed in 0.50 secs 906s ok 34 /mainloop/wakeup 906s ok 35 /mainloop/remove-invalid 906s ok 36 /mainloop/unref-while-pending 907s ok 37 /mainloop/unix-fd 907s ok 38 /mainloop/unix-fd-source 907s ok 39 /mainloop/source-unix-fd-api 907s ok 40 /mainloop/wait 907s ok 41 /mainloop/unix-file-poll 907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 907s ok 42 /mainloop/unix-fd-priority 907s ok 43 /mainloop/nfds 907s ok 44 /mainloop/steal-fd 908s ok 45 /mainloop/simultaneous-source-context-destruction 908s # slow test /mainloop/simultaneous-source-context-destruction executed in 0.55 secs 908s # Start of ownerless-polling tests 908s ok 46 /mainloop/ownerless-polling/attach-first 908s ok 47 /mainloop/ownerless-polling/pop-first 908s # End of ownerless-polling tests 908s # End of mainloop tests 908s PASS: glib/mainloop.test 908s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=1.0s; maxrss=17368 908s autopkgtest [12:40:51]: test mainloop: -----------------------] 908s mainloop PASS 908s autopkgtest [12:40:51]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 908s autopkgtest [12:40:51]: test memory-monitor-dbus: preparing testbed 909s Reading package lists... 909s Building dependency tree... 909s Reading state information... 909s Solving dependencies... 909s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 910s autopkgtest [12:40:53]: test memory-monitor-dbus: [----------------------- 910s Running test: glib/memory-monitor-dbus.test 910s TAP version 13 910s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 910s # Received memory warning signal, level 0 910s # Received memory warning signal, level 100 910s # Received memory warning signal, level 255 910s 1..1 910s PASS: glib/memory-monitor-dbus.test 910s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.0s; maxrss=31508 910s autopkgtest [12:40:53]: test memory-monitor-dbus: -----------------------] 911s autopkgtest [12:40:54]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 911s memory-monitor-dbus PASS 911s autopkgtest [12:40:54]: test socket: preparing testbed 911s Reading package lists... 911s Building dependency tree... 911s Reading state information... 911s Solving dependencies... 911s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 912s autopkgtest [12:40:55]: test socket: [----------------------- 912s Running test: glib/socket.test 912s TAP version 14 912s # random seed: R02S6e91b56a5201b6cf50526b0a4e7e3e9f 912s 1..30 912s # Start of socket tests 913s ok 1 /socket/ipv4_sync 913s # slow test /socket/ipv4_sync executed in 1.00 secs 914s ok 2 /socket/ipv4_async 914s # slow test /socket/ipv4_async executed in 1.00 secs 914s ok 3 /socket/ipv6_sync 914s ok 4 /socket/ipv6_async 914s ok 5 /socket/ipv6_v4mapped 915s ok 6 /socket/close_graceful 915s # slow test /socket/close_graceful executed in 1.00 secs 915s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 915s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 915s ok 8 /socket/fd_reuse 915s ok 9 /socket/address 915s ok 10 /socket/unix-from-fd 915s ok 11 /socket/unix-connection 915s ok 12 /socket/unix-connection-ancillary-data 915s ok 13 /socket/source-postmortem 915s ok 14 /socket/read_write 915s ok 15 /socket/read_writev 915s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 915s ok 16 /socket/receive_bytes 915s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 915s ok 17 /socket/receive_bytes_from 915s # Start of ipv4_sync tests 915s ok 18 /socket/ipv4_sync/datagram 915s # Start of datagram tests 916s ok 19 /socket/ipv4_sync/datagram/timeouts 916s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 916s # End of datagram tests 916s # End of ipv4_sync tests 916s # Start of ipv6_sync tests 916s ok 20 /socket/ipv6_sync/datagram 916s # Start of datagram tests 917s Executing: glib/socket.test 917s ok 21 /socket/ipv6_sync/datagram/timeouts 917s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 917s # End of datagram tests 917s # End of ipv6_sync tests 917s # Start of reuse tests 917s ok 22 /socket/reuse/tcp 917s ok 23 /socket/reuse/udp 917s # End of reuse tests 917s # Start of get_available tests 917s ok 24 /socket/get_available/datagram 917s ok 25 /socket/get_available/stream 917s # End of get_available tests 917s # Start of credentials tests 917s # Supported on this OS: GCredentials:linux-ucred:pid=0 917s ok 26 /socket/credentials/tcp_client 917s # Supported on this OS: GCredentials:linux-ucred:pid=0 917s ok 27 /socket/credentials/tcp_server 917s # Supported on this OS: GCredentials:linux-ucred:pid=66556,uid=1000,gid=1000 917s ok 28 /socket/credentials/unix_socketpair 917s # End of credentials tests 917s # Start of accept tests 917s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 917s ok 29 /socket/accept/cancelled 917s # End of accept tests 917s # Start of connect tests 917s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 917s ok 30 /socket/connect/cancelled 917s # End of connect tests 917s # End of socket tests 917s PASS: glib/socket.test 917s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6232 918s autopkgtest [12:41:01]: test socket: -----------------------] 918s autopkgtest [12:41:01]: test socket: - - - - - - - - - - results - - - - - - - - - - 918s socket PASS 918s autopkgtest [12:41:01]: test testfilemonitor: preparing testbed 918s Reading package lists... 919s Building dependency tree... 919s Reading state information... 919s Solving dependencies... 919s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 919s autopkgtest [12:41:02]: test testfilemonitor: [----------------------- 919s Running test: glib/testfilemonitor.test 919s TAP version 14 919s # random seed: R02Sced175cdb52f2b66b4bd4c1f16101463 919s 1..8 919s # Start of monitor tests 919s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 919s # Using temporary directory: /tmp/gio-test-testfilemonitor_63NQJ3 919s # Using GFileMonitor GInotifyFileMonitor 921s ok 1 /monitor/atomic-replace 921s # slow test /monitor/atomic-replace executed in 2.00 secs 921s # Using temporary directory: /tmp/gio-test-testfilemonitor_UGOQJ3 921s # Using GFileMonitor GInotifyFileMonitor 924s ok 2 /monitor/file-changes 924s # slow test /monitor/file-changes executed in 2.50 secs 924s # Using temporary directory: /tmp/gio-test-testfilemonitor_Q4WZJ3 924s # Using GFileMonitor GInotifyFileMonitor 924s Executing: glib/testfilemonitor.test 927s ok 3 /monitor/dir-monitor 927s # slow test /monitor/dir-monitor executed in 3.50 secs 927s # Using temporary directory: /tmp/gio-test-testfilemonitor_FU6PJ3 927s # Using GFileMonitor GInotifyFileMonitor 929s Executing: glib/testfilemonitor.test 934s Executing: glib/testfilemonitor.test 939s Executing: glib/testfilemonitor.test 944s Executing: glib/testfilemonitor.test 949s Executing: glib/testfilemonitor.test 952s ok 4 /monitor/dir-not-existent 952s # slow test /monitor/dir-not-existent executed in 25.02 secs 952s # Using temporary directory: /tmp/gio-test-testfilemonitor_EENOJ3 952s # Using GFileMonitor 0 GInotifyFileMonitor 952s # Using GFileMonitor 1 GInotifyFileMonitor 954s Executing: glib/testfilemonitor.test 954s ok 5 /monitor/cross-dir-moves 954s # slow test /monitor/cross-dir-moves executed in 2.00 secs 954s # Using temporary directory: /tmp/gio-test-testfilemonitor_JMNOJ3 954s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn’t cause a deadlock. 954s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 954s ok 6 /monitor/finalize-in-callback 954s # Using temporary directory: /tmp/gio-test-testfilemonitor_F9IOJ3 954s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 954s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 954s ok 7 /monitor/root 954s # Start of file tests 954s # Using temporary directory: /tmp/gio-test-testfilemonitor_W0IOJ3 954s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 954s # Running with hard link tests 954s # Using GFileMonitor GInotifyFileMonitor 958s # Event 0 at expected index 7 skipped because it is marked as optional 958s # Event 2 at expected index 11 skipped because it is marked as optional 958s ok 8 /monitor/file/hard-links 958s # slow test /monitor/file/hard-links executed in 3.50 secs 958s # End of file tests 958s # End of monitor tests 958s PASS: glib/testfilemonitor.test 958s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6440 959s autopkgtest [12:41:42]: test testfilemonitor: -----------------------] 959s testfilemonitor PASS 959s autopkgtest [12:41:42]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 959s autopkgtest [12:41:42]: test thread-pool-slow: preparing testbed 959s Reading package lists... 960s Building dependency tree... 960s Reading state information... 960s Solving dependencies... 960s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 960s autopkgtest [12:41:43]: test thread-pool-slow: [----------------------- 960s Running test: glib/thread-pool-slow.test 960s TAP version 14 960s # random seed: R02Scbd35634855e5d8843100f2931f098a6 960s 1..7 960s # Start of threadpool tests 960s ok 1 /threadpool/functions 961s ok 2 /threadpool/stop-unused 961s # slow test /threadpool/stop-unused executed in 0.51 secs 961s ok 3 /threadpool/pools 961s # [unsorted] ===> pushed new thread with id:62, number of threads:1, unprocessed:1 961s # [unsorted] ===> pushed new thread with id:60, number of threads:2, unprocessed:2 961s # [unsorted] ===> pushed new thread with id:59, number of threads:3, unprocessed:3 961s # [unsorted] ===> pushed new thread with id:38, number of threads:4, unprocessed:4 961s # [unsorted] ===> pushed new thread with id:7, number of threads:5, unprocessed:5 961s # [unsorted] ===> pushed new thread with id:100, number of threads:6, unprocessed:6 961s # [unsorted] ===> pushed new thread with id:82, number of threads:7, unprocessed:7 961s # [unsorted] ===> pushed new thread with id:25, number of threads:8, unprocessed:8 961s # [unsorted] ===> pushed new thread with id:21, number of threads:9, unprocessed:9 961s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:8 961s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:8 961s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:9 961s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:9 961s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:10 961s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:11 961s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:12 961s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:13 961s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:13 961s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:14 961s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:14 961s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:15 961s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:16 961s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:17 961s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:18 961s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:19 961s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:20 961s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:21 961s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:22 961s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:23 961s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:24 961s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:25 961s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:26 961s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:27 961s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:28 961s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:29 961s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:30 961s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:31 961s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:32 961s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:33 961s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:34 961s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:35 961s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:36 961s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:37 961s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:38 961s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:39 961s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:40 961s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:41 961s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:42 961s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:43 961s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:44 961s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:45 961s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:46 961s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:47 961s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:48 961s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:49 961s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:50 961s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:51 961s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:52 961s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:53 961s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:54 961s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:55 961s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:56 961s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:57 961s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:58 961s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:59 961s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:60 961s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:61 961s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:62 961s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:63 961s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:64 961s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:65 961s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:66 961s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:67 961s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:68 961s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:69 961s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:70 961s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:71 961s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:72 961s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:73 961s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:74 961s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:75 961s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:76 961s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:77 961s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:78 961s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:79 961s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:80 961s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:81 961s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:82 961s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:83 961s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:84 961s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:85 961s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:86 961s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:87 961s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:88 961s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:89 961s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:90 961s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:91 961s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:92 961s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:93 961s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:94 961s ok 4 /threadpool/no-sort 961s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:1 961s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:2 961s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:3 961s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:4 961s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:5 961s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:6 961s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:7 961s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:8 961s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:9 961s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:10 961s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:11 961s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:12 961s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:13 961s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:14 961s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:15 961s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:16 961s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:17 961s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:18 961s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:19 961s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:20 961s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:21 961s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:22 961s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:23 961s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:24 961s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:25 961s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:26 961s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:27 961s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:28 961s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:29 961s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:30 961s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:31 961s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:32 961s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:33 961s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:34 961s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:35 961s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:36 961s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:37 961s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:38 961s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:39 961s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:40 961s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:41 961s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:42 961s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:43 961s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:44 961s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:45 961s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:46 961s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:47 961s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:48 961s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:49 961s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:50 961s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:51 961s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:52 961s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:53 961s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:54 961s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:55 961s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:56 961s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:57 961s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:58 961s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:59 961s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:60 961s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:61 961s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:62 961s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:63 961s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:64 961s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:65 961s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:66 961s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:67 961s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:68 961s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:69 961s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:70 961s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:71 961s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:72 961s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:73 961s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:74 961s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:75 961s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:76 961s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:77 961s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:78 961s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:79 961s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:80 961s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:81 961s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:82 961s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:83 961s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:84 961s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:85 961s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:86 961s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:87 961s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:88 961s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:89 961s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:90 961s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:91 961s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:92 961s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:93 961s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:94 961s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:95 961s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:96 961s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:97 961s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:98 961s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:99 961s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:100 961s # Starting thread pool processing 961s ok 5 /threadpool/sort 962s ok 6 /threadpool/stop-unused-multiple 962s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 962s # Pool idle thread count: 0, unprocessed jobs: 47 962s # Pool idle thread count: 0, unprocessed jobs: 0 962s # Pool idle thread count: 0, unprocessed jobs: 0 963s # Pool idle thread count: 10, unprocessed jobs: 0 963s # Pool idle thread count: 10, unprocessed jobs: 0 963s # Pool idle thread count: 10, unprocessed jobs: 0 963s # Pool idle thread count: 10, unprocessed jobs: 0 964s # Pool idle thread count: 10, unprocessed jobs: 0 964s # Pool idle thread count: 10, unprocessed jobs: 0 964s # Pool idle thread count: 10, unprocessed jobs: 0 964s # Pool idle thread count: 10, unprocessed jobs: 0 965s # Pool idle thread count: 10, unprocessed jobs: 0 965s # Pool idle thread count: 10, unprocessed jobs: 0 965s # Pool idle thread count: 10, unprocessed jobs: 0 965s # Pool idle thread count: 10, unprocessed jobs: 0 965s Executing: glib/thread-pool-slow.test 966s # Pool idle thread count: 10, unprocessed jobs: 0 966s # Pool idle thread count: 10, unprocessed jobs: 0 966s # Pool idle thread count: 10, unprocessed jobs: 0 966s # Pool idle thread count: 10, unprocessed jobs: 0 967s # Pool idle thread count: 10, unprocessed jobs: 0 967s # Pool idle thread count: 10, unprocessed jobs: 0 967s # Pool idle thread count: 10, unprocessed jobs: 0 967s # Pool idle thread count: 10, unprocessed jobs: 0 968s # Pool idle thread count: 10, unprocessed jobs: 0 968s # Pool idle thread count: 10, unprocessed jobs: 0 968s # Pool idle thread count: 10, unprocessed jobs: 0 968s # Pool idle thread count: 10, unprocessed jobs: 0 969s # Pool idle thread count: 10, unprocessed jobs: 0 969s # Pool idle thread count: 10, unprocessed jobs: 0 969s # Pool idle thread count: 10, unprocessed jobs: 0 969s # Pool idle thread count: 10, unprocessed jobs: 0 970s # Pool idle thread count: 10, unprocessed jobs: 0 970s # Pool idle thread count: 10, unprocessed jobs: 0 970s # Pool idle thread count: 10, unprocessed jobs: 0 970s # Pool idle thread count: 10, unprocessed jobs: 0 970s Executing: glib/thread-pool-slow.test 971s # Pool idle thread count: 9, unprocessed jobs: 2 971s # Pool idle thread count: 9, unprocessed jobs: 2 971s # Pool idle thread count: 8, unprocessed jobs: 0 971s # Pool idle thread count: 8, unprocessed jobs: 0 971s # Pool idle thread count: 10, unprocessed jobs: 0 971s # Pool idle thread count: 10, unprocessed jobs: 0 972s # Pool idle thread count: 10, unprocessed jobs: 0 972s # Pool idle thread count: 10, unprocessed jobs: 0 972s # Pool idle thread count: 10, unprocessed jobs: 0 972s # Pool idle thread count: 10, unprocessed jobs: 0 973s # Pool idle thread count: 2, unprocessed jobs: 0 973s # Pool idle thread count: 2, unprocessed jobs: 0 973s # Pool idle thread count: 2, unprocessed jobs: 0 973s # Pool idle thread count: 2, unprocessed jobs: 0 974s # Pool idle thread count: 2, unprocessed jobs: 0 974s # Pool idle thread count: 2, unprocessed jobs: 0 974s # Pool idle thread count: 2, unprocessed jobs: 0 974s # Pool idle thread count: 2, unprocessed jobs: 0 975s # Pool idle thread count: 2, unprocessed jobs: 0 975s # Pool idle thread count: 2, unprocessed jobs: 0 975s # Pool idle thread count: 2, unprocessed jobs: 0 975s # Pool idle thread count: 2, unprocessed jobs: 0 975s Executing: glib/thread-pool-slow.test 976s # Pool idle thread count: 2, unprocessed jobs: 0 976s # Pool idle thread count: 2, unprocessed jobs: 0 976s # Pool idle thread count: 2, unprocessed jobs: 0 976s # Pool idle thread count: 2, unprocessed jobs: 0 977s # Pool idle thread count: 2, unprocessed jobs: 0 977s # Pool idle thread count: 2, unprocessed jobs: 0 977s # Pool idle thread count: 2, unprocessed jobs: 0 977s # Pool idle thread count: 2, unprocessed jobs: 0 978s # Pool idle thread count: 2, unprocessed jobs: 0 978s # Pool idle thread count: 2, unprocessed jobs: 0 978s # Pool idle thread count: 2, unprocessed jobs: 0 978s # Pool idle thread count: 2, unprocessed jobs: 0 979s # Pool idle thread count: 2, unprocessed jobs: 0 979s # Pool idle thread count: 2, unprocessed jobs: 0 979s # Pool idle thread count: 2, unprocessed jobs: 0 979s # Pool idle thread count: 2, unprocessed jobs: 0 980s # Pool idle thread count: 2, unprocessed jobs: 0 980s # Pool idle thread count: 2, unprocessed jobs: 0 980s # Pool idle thread count: 2, unprocessed jobs: 0 980s # Pool idle thread count: 2, unprocessed jobs: 0 980s Executing: glib/thread-pool-slow.test 981s # Pool idle thread count: 2, unprocessed jobs: 0 981s # Pool idle thread count: 2, unprocessed jobs: 0 981s ok 7 /threadpool/idle-time 981s # slow test /threadpool/idle-time executed in 19.52 secs 981s # End of threadpool tests 981s PASS: glib/thread-pool-slow.test 981s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=4452 981s autopkgtest [12:42:04]: test thread-pool-slow: -----------------------] 982s thread-pool-slow PASS 982s autopkgtest [12:42:05]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 982s autopkgtest [12:42:05]: test threadtests: preparing testbed 982s Reading package lists... 982s Building dependency tree... 982s Reading state information... 982s Solving dependencies... 982s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 983s autopkgtest [12:42:06]: test threadtests: [----------------------- 983s Running test: glib/threadtests.test 983s TAP version 14 983s # random seed: R02S06e493ab43f3e4080bf8d9bd55e6e5c2 983s 1..5 983s # Start of GObject tests 983s ok 1 /GObject/threaded-object-init 984s ok 2 /GObject/threaded-weak-ref 984s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 984s # /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 984s ok 3 /GObject/threaded-toggle-notify 984s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 984s # Start of threaded-weak-ref tests 984s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 984s # /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. 984s ok 5 /GObject/threaded-weak-ref/on-finalization 984s # End of threaded-weak-ref tests 984s # End of GObject tests 984s PASS: glib/threadtests.test 984s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.2s; maxrss=4160 984s autopkgtest [12:42:07]: test threadtests: -----------------------] 985s autopkgtest [12:42:08]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 985s threadtests PASS 985s autopkgtest [12:42:08]: test timeout: preparing testbed 985s Reading package lists... 985s Building dependency tree... 985s Reading state information... 985s Solving dependencies... 985s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 986s autopkgtest [12:42:09]: test timeout: [----------------------- 986s Running test: glib/timeout.test 986s TAP version 14 986s # random seed: R02S4ede6a13dfd550e85037bea46e0a6a6f 986s 1..5 986s # Start of timeout tests 986s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 988s ok 1 /timeout/seconds 988s # slow test /timeout/seconds executed in 2.10 secs 990s ok 2 /timeout/seconds-once 990s # slow test /timeout/seconds-once executed in 2.10 secs 990s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 991s Executing: glib/timeout.test 992s ok 3 /timeout/weeks-overflow 992s # slow test /timeout/weeks-overflow executed in 2.10 secs 992s ok 4 /timeout/far-future-ready-time 996s Executing: glib/timeout.test 1001s Executing: glib/timeout.test 1002s ok 5 /timeout/rounding 1002s # slow test /timeout/rounding executed in 10.03 secs 1002s # End of timeout tests 1002s PASS: glib/timeout.test 1002s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3560 1003s autopkgtest [12:42:26]: test timeout: -----------------------] 1003s autopkgtest [12:42:26]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1003s timeout PASS 1003s autopkgtest [12:42:26]: test timer: preparing testbed 1003s Reading package lists... 1004s Building dependency tree... 1004s Reading state information... 1004s Solving dependencies... 1004s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1004s autopkgtest [12:42:27]: test timer: [----------------------- 1004s Running test: glib/timer.test 1004s TAP version 14 1004s # random seed: R02Sbf6ab431843b45d093b47b0cfce8c3f2 1004s 1..10 1004s # Start of timer tests 1004s ok 1 /timer/basic 1004s ok 2 /timer/stop 1004s ok 3 /timer/continue 1004s ok 4 /timer/reset 1004s ok 5 /timer/is_active 1004s # End of timer tests 1004s # Start of timeval tests 1004s ok 6 /timeval/add 1004s ok 7 /timeval/from-iso8601 1004s ok 8 /timeval/to-iso8601 1004s # Start of to-iso8601 tests 1004s ok 9 /timeval/to-iso8601/overflow 1004s # End of to-iso8601 tests 1004s # End of timeval tests 1004s # Start of usleep tests 1004s ok 10 /usleep/with-zero-wait 1004s # End of usleep tests 1004s PASS: glib/timer.test 1004s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3560 1005s autopkgtest [12:42:28]: test timer: -----------------------] 1005s autopkgtest [12:42:28]: test timer: - - - - - - - - - - results - - - - - - - - - - 1005s timer PASS 1005s autopkgtest [12:42:28]: test 1065022-futureproofing: preparing testbed 1025s Creating nova instance adt-resolute-amd64-glib2.0-20260129-122543-juju-7f2275-prod-proposed-migration-environment-20-4e18df3a-ba16-40bf-b1d8-be9b9213db0f from image adt/ubuntu-resolute-amd64-server-20260129.img (UUID c052dd91-e629-41e8-9bf0-bad94c4bd713)... 1100s autopkgtest [12:44:03]: testbed dpkg architecture: amd64 1100s autopkgtest [12:44:03]: testbed apt version: 3.1.14 1100s autopkgtest [12:44:03]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1101s autopkgtest [12:44:04]: testbed release detected to be: resolute 1101s autopkgtest [12:44:04]: updating testbed package index (apt update) 1101s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 1101s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1101s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1101s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1102s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.4 kB] 1102s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [106 kB] 1102s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 1102s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1074 kB] 1102s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [114 kB] 1102s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [132 kB] 1102s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [4360 B] 1102s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [12.3 kB] 1102s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3696 B] 1102s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B] 1102s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [357 kB] 1102s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [872 kB] 1102s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [23.0 kB] 1102s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [3336 B] 1102s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [23.2 kB] 1102s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [1036 B] 1103s Fetched 2880 kB in 1s (2947 kB/s) 1103s Reading package lists... 1104s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 1104s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1104s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1104s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1105s Reading package lists... 1105s Reading package lists... 1105s Building dependency tree... 1105s Reading state information... 1105s Calculating upgrade... 1105s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1105s autopkgtest [12:44:08]: upgrading testbed (apt dist-upgrade and autopurge) 1105s Reading package lists... 1105s Building dependency tree... 1105s Reading state information... 1105s Calculating upgrade... 1105s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1106s Reading package lists... 1106s Building dependency tree... 1106s Reading state information... 1106s Solving dependencies... 1106s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1108s Reading package lists... 1108s Building dependency tree... 1108s Reading state information... 1108s Solving dependencies... 1108s The following NEW packages will be installed: 1108s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1108s libdconf1 1109s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1109s Need to get 141 kB of archives. 1109s After this operation, 638 kB of additional disk space will be used. 1109s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libdconf1 amd64 0.49.0-4 [40.5 kB] 1109s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 dconf-service amd64 0.49.0-4 [27.7 kB] 1109s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 dconf-gsettings-backend amd64 0.49.0-4 [22.2 kB] 1109s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 dpkg-repack all 1.54build1 [11.2 kB] 1109s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 gsettings-desktop-schemas all 50~alpha-1ubuntu1 [38.9 kB] 1109s Fetched 141 kB in 0s (370 kB/s) 1109s Selecting previously unselected package libdconf1:amd64. 1109s (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 ... 124211 files and directories currently installed.) 1109s Preparing to unpack .../libdconf1_0.49.0-4_amd64.deb ... 1109s Unpacking libdconf1:amd64 (0.49.0-4) ... 1109s Selecting previously unselected package dconf-service. 1109s Preparing to unpack .../dconf-service_0.49.0-4_amd64.deb ... 1109s Unpacking dconf-service (0.49.0-4) ... 1109s Selecting previously unselected package dconf-gsettings-backend:amd64. 1109s Preparing to unpack .../dconf-gsettings-backend_0.49.0-4_amd64.deb ... 1109s Unpacking dconf-gsettings-backend:amd64 (0.49.0-4) ... 1109s Selecting previously unselected package dpkg-repack. 1109s Preparing to unpack .../dpkg-repack_1.54build1_all.deb ... 1109s Unpacking dpkg-repack (1.54build1) ... 1109s Selecting previously unselected package gsettings-desktop-schemas. 1109s Preparing to unpack .../gsettings-desktop-schemas_50~alpha-1ubuntu1_all.deb ... 1109s Unpacking gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1109s Setting up dpkg-repack (1.54build1) ... 1109s Setting up libdconf1:amd64 (0.49.0-4) ... 1109s Setting up dconf-service (0.49.0-4) ... 1109s Setting up dconf-gsettings-backend:amd64 (0.49.0-4) ... 1109s Setting up gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1109s Processing triggers for man-db (2.13.1-1) ... 1109s Processing triggers for libglib2.0-0t64:amd64 (2.86.3-4) ... 1109s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1112s autopkgtest [12:44:15]: test 1065022-futureproofing: [----------------------- 1112s + export DEBIAN_FRONTEND=noninteractive 1112s + n=0 1112s + failed=0 1112s + binary_package=libglib2.0-0t64 1112s + future_binary_package=libglib2.0-0xyz 1112s + pwd 1112s + srcdir=/tmp/autopkgtest.7rmIHv/build.lCB/src 1112s + mktemp -d 1112s + tmpdir=/tmp/tmp.4hN6ClUEFH 1112s + cd /tmp/tmp.4hN6ClUEFH 1112s + exec 1112s + [ -e /tmp/autopkgtest.7rmIHv/build.lCB/src/debian/tests/manual/local-1065022.sources ] 1112s + dpkg-query -W dpkg-repack 1112s dpkg-repack 1.54build1 1112s + dpkg-query -s libglib2.0-0t64 1112s Package: libglib2.0-0t64 1112s Status: install ok installed 1112s Priority: important 1112s Section: libs 1112s Installed-Size: 4338 1112s Maintainer: Ubuntu Developers 1112s Architecture: amd64 1112s Multi-Arch: same 1112s Source: glib2.0 1112s Version: 2.86.3-4 1112s Replaces: libglib2.0-0 (<< 2.80.0-7~) 1112s Provides: libgio-2.0-0 (= 2.86.3-4), libglib-2.0-0 (= 2.86.3-4), libglib2.0-0 (= 2.86.3-4), libgmodule-2.0-0 (= 2.86.3-4), libgobject-2.0-0 (= 2.86.3-4), libgthread-2.0-0 (= 2.86.3-4) 1112s 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) 1112s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1112s Suggests: low-memory-monitor 1112s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~) 1112s Description: GLib library of C routines 1112s GLib is a library containing many useful C routines for things such 1112s as trees, hashes, lists, and strings. It is a useful general-purpose 1112s C library used by projects such as GTK+, GIMP, and GNOME. 1112s . 1112s This package contains the shared libraries. 1112s Original-Maintainer: Debian GNOME Maintainers 1112s Homepage: https://gitlab.gnome.org/GNOME/glib 1112s + dpkg-query -W -f ${Version} libglib2.0-0t64 1112s + binary_version=2.86.3-4 1112s + dpkg-repack --generate libglib2.0-0t64 1113s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1113s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.Bb3I3g for libglib2.0-0t64 1113s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.Bb3I3g ." 1113s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.Bb3I3g/DEBIAN/control 1113s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.Bb3I3g/DEBIAN/control 1113s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.Bb3I3g/DEBIAN/control 1113s + env binary_package=libglib2.0-0t64 binary_version=2.86.3-4 future_binary_package=libglib2.0-0xyz perl -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package} (= $ENV{binary_version})/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.Bb3I3g/DEBIAN/control 1113s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.Bb3I3g libglib2.0-0xyz.deb 1113s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1114s + dpkg-deb --info libglib2.0-0xyz.deb 1114s new Debian package, version 2.0. 1114s size 1608126 bytes: control archive=25806 bytes. 1114s 1218 bytes, 24 lines control 1114s 1144 bytes, 14 lines md5sums 1114s 1288 bytes, 44 lines * postinst #!/bin/sh 1114s 2577 bytes, 87 lines * postrm #!/bin/sh 1114s 2408 bytes, 53 lines * preinst #!/bin/sh 1114s 466 bytes, 10 lines shlibs 1114s 172677 bytes, 4529 lines symbols 1114s 171 bytes, 4 lines triggers 1114s Package: libglib2.0-0xyz 1114s Source: glib2.0 1114s Version: 2.86.3-4 1114s Architecture: amd64 1114s Maintainer: Ubuntu Developers 1114s Installed-Size: 4338 1114s 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) 1114s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1114s Suggests: low-memory-monitor 1114s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1114s Replaces: libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1114s Provides: libgio-2.0-0 (= 2.86.3-4), libglib-2.0-0 (= 2.86.3-4), libglib2.0-0 (= 2.86.3-4), libgmodule-2.0-0 (= 2.86.3-4), libgobject-2.0-0 (= 2.86.3-4), libgthread-2.0-0 (= 2.86.3-4), libglib2.0-0t64 (= 2.86.3-4) 1114s Section: libs 1114s Priority: important 1114s Multi-Arch: same 1114s Homepage: https://gitlab.gnome.org/GNOME/glib 1114s Description: GLib library of C routines 1114s GLib is a library containing many useful C routines for things such 1114s as trees, hashes, lists, and strings. It is a useful general-purpose 1114s C library used by projects such as GTK+, GIMP, and GNOME. 1114s . 1114s This package contains the shared libraries. 1114s . 1114s (Repackaged on Thu, 29 Jan 2026 12:44:14 +0000 by dpkg-repack.) 1114s + dpkg-deb --contents libglib2.0-0xyz.deb 1114s drwxr-xr-x root/root 0 2026-01-29 12:44 ./ 1114s drwxr-xr-x root/root 0 2026-01-29 12:44 ./usr/ 1114s drwxr-xr-x root/root 0 2026-01-29 12:44 ./usr/lib/ 1114s drwxr-xr-x root/root 0 2026-01-29 12:44 ./usr/lib/x86_64-linux-gnu/ 1114s drwxr-xr-x root/root 0 2026-01-29 12:44 ./usr/lib/x86_64-linux-gnu/gio/ 1114s drwxr-xr-x root/root 0 2026-01-29 12:44 ./usr/lib/x86_64-linux-gnu/gio/modules/ 1114s drwxr-xr-x root/root 0 2026-01-29 12:44 ./usr/lib/x86_64-linux-gnu/glib-2.0/ 1114s -rwxr-xr-x root/root 14728 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/glib-2.0/gio-launch-desktop 1114s -rwxr-xr-x root/root 18824 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/glib-2.0/gio-querymodules 1114s -rwxr-xr-x root/root 55768 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas 1114s -rw-r--r-- root/root 1936936 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.8600.3 1114s -rw-r--r-- root/root 1404688 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8600.3 1114s -rw-r--r-- root/root 22816 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.8600.3 1114s -rw-r--r-- root/root 403928 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.8600.3 1114s -rw-r--r-- root/root 14568 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0.8600.3 1114s drwxr-xr-x root/root 0 2026-01-29 12:44 ./usr/share/ 1114s drwxr-xr-x root/root 0 2026-01-29 12:44 ./usr/share/doc/ 1114s drwxr-xr-x root/root 0 2026-01-29 12:44 ./usr/share/doc/libglib2.0-0t64/ 1114s -rw-r--r-- root/root 258310 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/NEWS.gz 1114s -rw-r--r-- root/root 1703 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/README.Debian 1114s -rw-r--r-- root/root 3248 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/README.md 1114s -rw-r--r-- root/root 39086 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/changelog.Debian.gz 1114s -rw-r--r-- root/root 55103 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/copyright 1114s drwxr-xr-x root/root 0 2026-01-29 12:44 ./usr/share/glib-2.0/ 1114s drwxr-xr-x root/root 0 2026-01-29 12:44 ./usr/share/glib-2.0/schemas/ 1114s drwxr-xr-x root/root 0 2026-01-29 12:44 ./usr/share/lintian/ 1114s drwxr-xr-x root/root 0 2026-01-29 12:44 ./usr/share/lintian/overrides/ 1114s -rw-r--r-- root/root 520 2026-01-01 12:59 ./usr/share/lintian/overrides/libglib2.0-0t64 1114s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 -> libgio-2.0.so.0.8600.3 1114s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 -> libglib-2.0.so.0.8600.3 1114s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.8600.3 1114s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.8600.3 1114s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 -> libgthread-2.0.so.0.8600.3 1114s + apt-get -y install ./libglib2.0-0xyz.deb dconf-gsettings-backend gsettings-desktop-schemas 1114s Reading package lists... 1114s Building dependency tree... 1114s Reading state information... 1114s dconf-gsettings-backend is already the newest version (0.49.0-4). 1114s gsettings-desktop-schemas is already the newest version (50~alpha-1ubuntu1). 1114s Solving dependencies... 1114s The following additional packages will be installed: 1114s xdg-user-dirs 1114s Suggested packages: 1114s low-memory-monitor 1114s The following packages will be REMOVED: 1114s libglib2.0-0t64 1114s The following NEW packages will be installed: 1114s libglib2.0-0xyz xdg-user-dirs 1114s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 1114s Need to get 19.3 kB/1627 kB of archives. 1114s After this operation, 172 kB of additional disk space will be used. 1114s Get:1 /tmp/tmp.4hN6ClUEFH/libglib2.0-0xyz.deb libglib2.0-0xyz amd64 2.86.3-4 [1608 kB] 1114s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 xdg-user-dirs amd64 0.19-1 [19.3 kB] 1114s Fetched 19.3 kB in 0s (151 kB/s) 1114s dpkg: libglib2.0-0t64:amd64: dependency problems, but removing anyway as you requested: 1114s udisks2 depends on libglib2.0-0t64 (>= 2.80.0). 1114s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0). 1114s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~). 1114s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0). 1114s netplan.io depends on libglib2.0-0t64 (>= 2.70.0). 1114s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0). 1114s libxmlb2:amd64 depends on libglib2.0-0t64 (>= 2.54.0). 1114s libvolume-key1:amd64 depends on libglib2.0-0t64 (>= 2.18.0). 1114s libudisks2-0:amd64 depends on libglib2.0-0t64 (>= 2.83.0). 1114s libqrtr-glib0:amd64 depends on libglib2.0-0t64 (>= 2.56). 1114s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0). 1114s libqmi-glib5:amd64 depends on libglib2.0-0t64 (>= 2.54.0). 1114s libpolkit-gobject-1-0:amd64 depends on libglib2.0-0t64 (>= 2.38.0). 1114s libpolkit-agent-1-0:amd64 depends on libglib2.0-0t64 (>= 2.38.0). 1114s libnetplan1:amd64 depends on libglib2.0-0t64 (>= 2.76.0). 1114s libmm-glib0:amd64 depends on libglib2.0-0t64 (>= 2.62.0). 1114s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56). 1114s libmbim-glib4:amd64 depends on libglib2.0-0t64 (>= 2.56). 1114s libjson-glib-1.0-0:amd64 depends on libglib2.0-0t64 (>= 2.80.0). 1114s libjcat1:amd64 depends on libglib2.0-0t64 (>= 2.80.0). 1114s libgudev-1.0-0:amd64 depends on libglib2.0-0t64 (>= 2.80.0). 1114s libgirepository-2.0-0:amd64 depends on libglib2.0-0t64 (= 2.86.3-4). 1114s libfwupd3:amd64 depends on libglib2.0-0t64 (>= 2.80.0). 1114s libdconf1:amd64 depends on libglib2.0-0t64 (>= 2.80.0). 1114s libblockdev3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 1114s libblockdev-utils3:amd64 depends on libglib2.0-0t64 (>= 2.76.0). 1114s libblockdev-swap3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 1114s libblockdev-smart3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 1114s libblockdev-part3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 1114s libblockdev-nvme3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 1114s libblockdev-mdraid3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 1114s libblockdev-loop3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 1114s libblockdev-fs3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 1114s libblockdev-crypto3:amd64 depends on libglib2.0-0t64 (>= 2.42.2). 1114s gir1.2-glib-2.0:amd64 depends on libglib2.0-0t64 (= 2.86.3-4). 1114s fwupd depends on libglib2.0-0t64 (>= 2.83.0). 1114s dconf-service depends on libglib2.0-0t64 (>= 2.83.0). 1114s dconf-gsettings-backend:amd64 depends on libglib2.0-0t64 (>= 2.80.0). 1114s bolt depends on libglib2.0-0t64 (>= 2.80.0). 1114s 1114s (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 ... 124278 files and directories currently installed.) 1114s Removing libglib2.0-0t64:amd64 (2.86.3-4) ... 1114s Selecting previously unselected package libglib2.0-0xyz:amd64. 1114s (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 ... 124259 files and directories currently installed.) 1114s Preparing to unpack .../libglib2.0-0xyz.deb ... 1114s Unpacking libglib2.0-0xyz:amd64 (2.86.3-4) ... 1115s Selecting previously unselected package xdg-user-dirs. 1115s Preparing to unpack .../xdg-user-dirs_0.19-1_amd64.deb ... 1115s Unpacking xdg-user-dirs (0.19-1) ... 1115s Setting up xdg-user-dirs (0.19-1) ... 1115s Created symlink '/etc/systemd/user/graphical-session-pre.target.wants/xdg-user-dirs.service' → '/usr/lib/systemd/user/xdg-user-dirs.service'. 1115s Setting up libglib2.0-0xyz:amd64 (2.86.3-4) ... 1115s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1115s Processing triggers for man-db (2.13.1-1) ... 1115s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1115s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1115s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1115s + n=1 1115s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1115s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1115s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1115s + n=2 1115s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1115s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1115s ok 3 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1115s ok 4 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1115s ok 5 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1115s ok 6 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1115s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1115s + n=3 1115s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1115s + echo ok 3 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1115s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1115s + n=4 1115s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1115s + echo ok 4 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1115s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1115s + n=5 1115s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1115s + echo ok 5 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1115s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1115s + n=6 1115s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1115s + echo ok 6 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1115s + apt-get -y purge libglib2.0-0t64 1115s Reading package lists... 1115s Building dependency tree... 1115s Reading state information... 1115s Solving dependencies... 1115s The following packages will be REMOVED: 1115s libglib2.0-0t64* 1116s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1116s After this operation, 0 B of additional disk space will be used. 1116s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 124293 files and directories currently installed.) 1116s Purging configuration files for libglib2.0-0t64:amd64 (2.86.3-4) ... 1116s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1116s + n=7 1116s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1116s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1116s + assertok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1116s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1116s test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1116s + n=8 1116s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1116s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1116s + ok 9 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1116s ok 10 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1116s ok 11 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1116s ok 12 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1116s assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1116s + n=9 1116s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1116s + echo ok 9 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1116s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1116s + n=10 1116s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1116s + echo ok 10 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1116s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1116s + n=11 1116s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1116s + echo ok 11 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1116s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1116s + n=12 1116s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1116s + echo ok 12 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1116s + apt-get -y purge libglib2.0-0xyz 1116s Reading package lists... 1116s Building dependency tree... 1116s Reading state information... 1116s Solving dependencies... 1116s The following additional packages will be installed: 1116s libglib2.0-0t64 1116s Suggested packages: 1116s low-memory-monitor 1116s The following packages will be REMOVED: 1116s libglib2.0-0xyz* 1116s The following NEW packages will be installed: 1116s libglib2.0-0t64 1116s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 1116s Need to get 1608 kB of archives. 1116s After this operation, 0 B of additional disk space will be used. 1116s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-0t64 amd64 2.86.3-4 [1608 kB] 1117s Fetched 1608 kB in 0s (4497 kB/s) 1117s dpkg: libglib2.0-0xyz:amd64: dependency problems, but removing anyway as you requested: 1117s udisks2 depends on libglib2.0-0t64 (>= 2.80.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s netplan.io depends on libglib2.0-0t64 (>= 2.70.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libxmlb2:amd64 depends on libglib2.0-0t64 (>= 2.54.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libvolume-key1:amd64 depends on libglib2.0-0t64 (>= 2.18.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libudisks2-0:amd64 depends on libglib2.0-0t64 (>= 2.83.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libqrtr-glib0:amd64 depends on libglib2.0-0t64 (>= 2.56); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libqmi-glib5:amd64 depends on libglib2.0-0t64 (>= 2.54.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libpolkit-gobject-1-0:amd64 depends on libglib2.0-0t64 (>= 2.38.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libpolkit-agent-1-0:amd64 depends on libglib2.0-0t64 (>= 2.38.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libnetplan1:amd64 depends on libglib2.0-0t64 (>= 2.76.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libmm-glib0:amd64 depends on libglib2.0-0t64 (>= 2.62.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libmbim-glib4:amd64 depends on libglib2.0-0t64 (>= 2.56); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libjson-glib-1.0-0:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libjcat1:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libgudev-1.0-0:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libgirepository-2.0-0:amd64 depends on libglib2.0-0t64 (= 2.86.3-4); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libfwupd3:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libdconf1:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libblockdev3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libblockdev-utils3:amd64 depends on libglib2.0-0t64 (>= 2.76.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libblockdev-swap3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libblockdev-smart3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libblockdev-part3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libblockdev-nvme3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libblockdev-mdraid3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libblockdev-loop3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libblockdev-fs3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s libblockdev-crypto3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s gir1.2-glib-2.0:amd64 depends on libglib2.0-0t64 (= 2.86.3-4); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s fwupd depends on libglib2.0-0t64 (>= 2.83.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s dconf-service depends on libglib2.0-0t64 (>= 2.83.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s dconf-gsettings-backend:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s bolt depends on libglib2.0-0t64 (>= 2.80.0); however: 1117s Package libglib2.0-0t64 is not installed. 1117s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed. 1117s 1117s (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 ... 124293 files and directories currently installed.) 1117s Removing libglib2.0-0xyz:amd64 (2.86.3-4) ... 1117s Selecting previously unselected package libglib2.0-0t64:amd64. 1117s (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 ... 124274 files and directories currently installed.) 1117s Preparing to unpack .../libglib2.0-0t64_2.86.3-4_amd64.deb ... 1117s Unpacking libglib2.0-0t64:amd64 (2.86.3-4) ... 1117s Setting up libglib2.0-0t64:amd64 (2.86.3-4) ... 1117s Processing triggers for libc-bin (2.42-2ubuntu4) ... 1117s (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 ... 124293 files and directories currently installed.) 1117s Purging configuration files for libglib2.0-0xyz:amd64 (2.86.3-4) ... 1117s not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1117s not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1117s not ok 15 - should not have succeeded: test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1117s not ok 16 - should not have succeeded: test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1117s 1..16 1117s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1117s + n=13 1117s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1117s + echo not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1117s + failed=1 1117s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1117s + n=14 1117s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1117s + echo not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1117s + failed=1 1117s + assert_not test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1117s + n=15 1117s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1117s + echo not ok 15 - should not have succeeded: test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1117s + failed=1 1117s + assert_not test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1117s + n=16 1117s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1117s + echo not ok 16 - should not have succeeded: test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1117s + failed=1 1117s + echo 1..16 1117s + exit 1 1117s autopkgtest [12:44:20]: test 1065022-futureproofing: -----------------------] 1118s autopkgtest [12:44:21]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1118s 1065022-futureproofing FLAKY non-zero exit status 1 1118s autopkgtest [12:44:21]: @@@@@@@@@@@@@@@@@@@@ summary 1118s build PASS (superficial) 1118s build-static PASS (superficial) 1118s girepository-tools PASS (superficial) 1118s libgio-2.0-dev-bin PASS (superficial) 1118s libglib2.0-dev PASS (superficial) 1118s installed-tests PASS 1118s closure-refcount PASS 1118s debugcontroller PASS 1118s gdbus-server-auth PASS 1118s gdbus-threading PASS 1118s gmenumodel PASS 1118s mainloop PASS 1118s memory-monitor-dbus PASS 1118s socket PASS 1118s testfilemonitor PASS 1118s thread-pool-slow PASS 1118s threadtests PASS 1118s timeout PASS 1118s timer PASS 1118s 1065022-futureproofing FLAKY non-zero exit status 1